generate-docs
БесплатноБез исполняемых скриптовНе проверенGenerate and iteratively verify OpenShift component documentation, or review existing documentation, without relying on host-specific hooks or commands.
от openshift-eng★ 123 звезды на GitHubОб этом скилле
Generate and Verify Component Documentation
Run the complete component-documentation workflow in the current task. The workflow must not depend on lifecycle hooks, transcript inspection, completion promises, or host-specific environment variables. Use whichever native fresh-session delegation capability the host exposes for independent verification.
Bundled workflows
Before starting, read both sibling skills completely, resolving these paths
relative to this SKILL.md:
Do not invoke them through host-specific slash-command syntax. Apply their instructions directly within this task.
Arguments
PATH: positional skill argument for the component repository; default to the current working directory at invocation time. This is not the shellPATHenvironment variable; never assign to or export the shellPATHvariable.--max-iterations N: maximum review/fix passes; default5. Require a positive integer.--reviewor--skip-generate: review and fix existing documentation without running component-document generation.--cache-dir DIR: shared review cache; default to a new run directory underREPO_PATH/.work/agentic-docs/.--keep-cache: keep the cache after a successful run instead of deleting it.-hor--help: report usage and options without changing files.
Reject unexpected arguments before changing files. Resolve the PATH argument
exactly once to an absolute, canonical directory, store it in REPO_PATH, and
confirm it exists and is a directory.
Use REPO_PATH as the target for the entire workflow: either set every
repository operation's working directory to REPO_PATH or use absolute paths
rooted at REPO_PATH. Do not use relative repository paths after this point.
Independent verification
Each verification pass must use a fresh, general-purpose isolated reviewer that has not participated in generating or fixing the documentation. Never resume or reuse a reviewer from an earlier pass.
Use the isolated-review capability actually exposed by the host. Common examples are:
- in a Codex-style runtime, use
spawn_agent; - in a Claude-style runtime, use a fresh
AgentorTaskinvocation; - in another runtime, use its equivalent fresh-session delegation capability.
Do not invoke a local agent executable merely to simulate delegation. If none of these capabilities is exposed, treat independent verification as unavailable.
The workflow agent must not substitute its own review for the independent reviewer. If the host cannot start a fresh isolated reviewer, generation, fixing, and deterministic validation may still run, but the final result must be incomplete — independent verification unavailable. Never report the documentation as verified clean in that case.
The first reviewer checks the full scope. Later reviewers check affected claims against the last independent snapshot and reuse valid unchanged evidence.
Share immutable snapshots, source excerpts, verification records, and the diff. Exclude the fixer's conversation and reasoning history. Cached fixer verdicts are inputs, not independent verification: reviewers must assess the evidence. Read Claim cache before the first handoff.
The latest independent report determines completion. Stop when only the same unresolved claims remain with no new evidence or actionable fix; report them.
Workflow
Preflight resources
- Resolve
PATHtoREPO_PATHbefore inspecting repository contents. Root every repository read, write, command, generation, validation, backup, cleanup, and review atREPO_PATH. - When applying the sibling workflows, interpret every repository-relative
path in their instructions as rooted at
REPO_PATH. - Resolve every referenced script, template, and guide from the directory of the skill that owns it.
- Confirm required resources are readable before changing the repository.
- Never search
~/.claude, a plugin cache, or the current repository for a similarly named bundled resource. - If a resource cannot be resolved, stop and identify the missing resource.
- Resolve
Generate only when needed
- In review-only mode, skip generation.
- Otherwise, if
"$REPO_PATH/ai-docs"does not exist, followcomponent-docsagainstREPO_PATHthrough generation and its deterministic validation phase. If"$REPO_PATH/ai-docs"already exists, skip generation and proceed directly to review. - Before review, if
"$REPO_PATH/ai-docs/_sources"exists, run the component validator. If validation passes, run the component cleanup helper and verify that_sourcesno longer exists. If validation fails, retain the backups for recovery and stop. - Defer its optional offer to run
review-docs; this workflow performs that review automatically.
**Prepare the independen
Установить generate-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл generate-docs?
Generate and iteratively verify OpenShift component documentation, or review existing documentation, without relying on host-specific hooks or commands.
Как установить скилл generate-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generate-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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