Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

generate-docs

БесплатноБез исполняемых скриптовНе проверен

Generate and iteratively verify OpenShift component documentation, or review existing documentation, without relying on host-specific hooks or commands.

openshift-engот 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 shell PATH environment variable; never assign to or export the shell PATH variable.
  • --max-iterations N: maximum review/fix passes; default 5. Require a positive integer.
  • --review or --skip-generate: review and fix existing documentation without running component-document generation.
  • --cache-dir DIR: shared review cache; default to a new run directory under REPO_PATH/.work/agentic-docs/.
  • --keep-cache: keep the cache after a successful run instead of deleting it.
  • -h or --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 Agent or Task invocation;
  • 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

  1. Preflight resources

    • Resolve PATH to REPO_PATH before inspecting repository contents. Root every repository read, write, command, generation, validation, backup, cleanup, and review at REPO_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.
  2. Generate only when needed

    • In review-only mode, skip generation.
    • Otherwise, if "$REPO_PATH/ai-docs" does not exist, follow component-docs against REPO_PATH through 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 _sources no 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.
  3. **Prepare the independen

Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить generate-docs с