update-platform-docs
БесплатноЗапускает вложенные скриптыНе проверенUpdate existing platform documentation with automatic gap detection in openshift/enhancements
от openshift-eng★ 123 звезды на GitHubОб этом скилле
Platform Documentation Updater
Incrementally update existing AI-optimized platform documentation in openshift/enhancements/ai-docs/ without regenerating everything.
Features:
- Automatic gap detection - Scans ai-docs/ and reports missing files
- Targeted updates - Add specific content without full regeneration
- Smart navigation - Auto-updates index files and AGENTS.md
- Validation - Ensures quality and conventions
Use when:
- Discovering what's missing from documentation
- Adding new content to existing documentation
- Adding new sections (e.g., workflows/exec-plans/)
- Updating AGENTS.md with new links
- Adding new domain concepts, patterns, or ADRs
- Fixing or enhancing existing files
Don't use when:
- You want to completely regenerate all docs from scratch
Execution Workflow
Phase 1: Discovery & Gap Detection
- Resolve this skill directory from the location of the loaded
SKILL.md. Resolve allscripts/andtemplates/paths relative to it. Do not search a plugin cache or assume the repository is the current directory. - Preflight every script and template required by the selected update before changing the repository. Stop and identify any missing resource.
- Determine repo path:
REPO_PATH="${provided_path:-$PWD}" - Run the resolved
scripts/discover.shwith"$REPO_PATH" - Verify ai-docs/ exists (ai-docs/ should already exist in openshift/enhancements)
- Run the resolved
scripts/gap-detection.shwith"$REPO_PATH" - Show gap detection results to user
- Ask user: Fill detected gaps OR specify custom addition?
Phase 2: Perform Updates
Based on user request, perform ONE OR MORE of:
Add New Platform Pattern
- Create new file in
platform/operator-patterns/ - Update
platform/operator-patterns/index.md - Update
AGENTS.mdnavigation if needed - Use
templates/operator-pattern-template.mdfor structure
Add New Domain Concept
- Create new file in
domain/kubernetes/ordomain/openshift/ - Update corresponding
domain/*/index.md - Update
AGENTS.mdnavigation if needed - Use
templates/domain-concept-template.mdfor structure
Add New Practice
- Create new file in
practices/*/ - Update corresponding
practices/*/index.md - Update
AGENTS.mdnavigation if needed - Use
templates/practice-template.mdfor structure
Add New ADR
- Create new file in
decisions/adr-NNNN-*.md - Update
decisions/index.md - Update
AGENTS.mdnavigation if needed - Use
templates/adr-template.mdfor structure
Add New Workflow Section
- Create new directory in
workflows/(e.g.,exec-plans/) - Create files in new section
- Update
workflows/index.md - Update
AGENTS.mdnavigation if needed
Update AGENTS.md
- Read current
AGENTS.md - Add new navigation links
- Verify line count stays 100-200 lines
- Maintain compressed table format
Update Existing Files
- Read current file
- Make targeted updates (add section, update content)
- Preserve existing structure
- Maintain file length targets
Phase 3: Validation & Verification
- Run the resolved
scripts/validate.shwith"$REPO_PATH" - Verify new files follow conventions, AGENTS.md 100-200 lines, internal links work
- Anti-hallucination: Pattern claims verified in sample repos, API fields link to github.com/openshift/api or k8s/apimachinery, cross-check terminology with openshift-docs
- All technical claims have references (type definitions, implementations, or enhancements)
Phase 4: Report
- List files created
- List files updated
- Show validation status
- Suggest git commit command
Update Scenarios
Scenario 1: Add New Operator Pattern
User request: "Add RBAC patterns to operator patterns"
Actions:
- Create
platform/operator-patterns/rbac.mdusing pattern template - Add entry to
platform/operator-patterns/index.md - Add link to
AGENTS.mdunder "Standard Operator Patterns" - Validate
Scenario 2: Add New Workflow Section
User request: "Add exec-plans guidance to workflows"
Actions:
- Create
workflows/exec-plans/directory - Create
workflows/exec-plans/README.mdfrom template - Create
workflows/exec-plans/template.mdfrom template - Update
workflows/index.mdwith new section - Add link to
AGENTS.mdunder "Workflows" - Validate
Scenario 3: Update AGENTS.md
User request: "Add link to new ADR in AGENTS.md"
Actions:
- Read current
AGENTS.md - Find "Cross-Repo Architectural Decisions" section
- Add new ADR link in table format
- Verify line count ≤200
- Validate
Scenario 4: Add Multiple Related Files
User request: "Add security practices section with STRIDE and secrets handling"
Actions:
- Create
practices/security/threat-modeling.md - Create
practices/security/secrets.md - Update `
Установить update-platform-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл update-platform-docs?
Update existing platform documentation with automatic gap detection in openshift/enhancements
Как установить скилл update-platform-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-platform-docs запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic