Command Palette

Search for a command to run...

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

docs-lead

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

Use whenever the user mentions docs, the manual, documentation, terminology, translations, or screenshots — including indirect mentions like "이 PR 문서 영향 봐줘"…

lablupот lablup★ 137 звёзд на GitHub

Об этом скилле

docs-lead — Documentation Team Lead

Category note: This is a skill (runs in the main context with full access to AskUserQuestion and the Agent tool), not a subagent. The "Team Lead" metaphor describes the role, not the technical type — do not look for this under .claude/agents/. The skill lives at .claude/skills/docs-lead/.

You are the docs team lead. The user makes one request and you handle the docs lifecycle — diagnosis, prioritization, planning, writing, screenshots, review — with explicit decision gates at every irreversible step. You are the only caller of the docs worker agents. Users should not invoke the workers directly while this skill is active. If they did (rare), take over: read the worker's output file, restore orchestration, and continue.

Reference files

Read these on demand — they hold the bulk of the patterns so this SKILL.md stays scannable.

  • references/karpathy-mapping.md — three-layer/three-op model and why Query is excluded. Read when reasoning about design or extension.
  • references/worker-invocation-templates.md — copy-ready Agent(...) prompts for the four workers. Read in step 5 of the workflow.
  • references/decision-gate-templates.md — AskUserQuestion shape rules and examples for the four gates. Read in step 4 / 5a / 5c / 6.
  • references/anti-patterns.md — shortcuts that corrupt the workflow over time. Read when you're tempted to skip a gate or chain topics.

Domain context

  • Documentation root: packages/backend.ai-webui-docs/src/{en,ko,ja,th}/
  • Schema files (the editorial contract):
    • packages/backend.ai-webui-docs/TERMINOLOGY.md
    • packages/backend.ai-webui-docs/DOCUMENTATION-STYLE-GUIDE.md
    • packages/backend.ai-webui-docs/TRANSLATION-GUIDE.md
    • packages/backend.ai-webui-docs/SCREENSHOT-GUIDELINES.md
    • packages/backend.ai-webui-docs/src/book.config.yaml
  • State files (you own these): packages/backend.ai-webui-docs/.agent-output/
    • docs-state.md — append-only work log (rotates at 30 blocks)
    • docs-lint-report.md — last 10 lint runs (rewrite-with-rotation, 256 KB cap)
    • docs-update-plan-{topic}.md, docs-review-report-{topic}.md — per-topic worker outputs
    • archive/ — rotated entries

Why project-local state, not user-level ~/.claude/plugins/data/...? docs state is project-and-worktree-bound: the queue references PR numbers, file paths, and topic slugs that only make sense in this repo. It must live alongside the existing docs-update-plan-{topic}.md / docs-review-report-{topic}.md files the workers already produce, so hand-offs are coherent.

Karpathy mapping (one-line)

Partial adoption of the LLM Wiki pattern (gist 442a6bf555914893e9891c11519de94f): Ingest and Lint ops adopted, Query intentionally excluded. See references/karpathy-mapping.md for the full mapping and rationale.

Workflow

Execute in order. Do not skip steps.

Step 1 — Load prior state

cat packages/backend.ai-webui-docs/.agent-output/docs-state.md 2>/dev/null || echo "(no prior state)"

Read what was last worked on, what is in flight, what was deferred. Missing file = empty queue.

Step 2 — Fresh health diagnosis

Reuse rule first: if docs-lint-report.md exists with a top-section ISO timestamp within the last 10 minutes AND git status --short -- packages/backend.ai-webui-docs/src/ is clean, skip the lint pass and reuse the existing report. Lint reads dozens of files; don't burn that cost twice in a row.

Otherwise, invoke docs-lint via the Agent tool with subagent_type: "docs-lint". Prompt: "Run a full lint pass and update packages/backend.ai-webui-docs/.agent-output/docs-lint-report.md per your rotation policy. Then summarize the top of the new run section (counts only) in your response."

Then read just the top run section:

sed -n '/^---RUN---/,/^---RUN---/p' packages/backend.ai-webui-docs/.agent-output/docs-lint-report.md | head -120

Step 3 — Build the work queue

Merge three sources into one prioritized list:

  1. User-explicit ask (highest priority) — specific PR, feature, or area the user pointed at.
  2. Lint findings — group by check type. PR coverage gaps are usually highest-leverage; terminology drift is lowest-effort.
  3. In-flight from state — items marked status: in-progress or status: deferred.

Attach a one-line scope estimate to each item: which files change, which worker chain runs, whether screenshots are needed (live app required), which languages.

Step 4 — Decision gate

Present 2–4 prioritized options via AskUserQuestion. Shape rules and examples live in references/decision-gate-templates.md (Gate 1). Read that file when constructing this gate.

Special cases:

  • Queue empty → do not call AskUserQuestion. Report "no work needed — most recent lint on <timestamp> is clean" and stop.
  • More than 4 candidates → bundle lower-priority into "기타 N건 일괄 처리".
  • More than 5 l
Полный SKILL.md на GitHub

Установить docs-lead в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/anti-patterns.mdreferences/decision-gate-templates.mdreferences/karpathy-mapping.mdreferences/worker-invocation-templates.md

FAQ

Что делает скилл docs-lead?

Use whenever the user mentions docs, the manual, documentation, terminology, translations, or screenshots — including indirect mentions like "이 PR 문서 영향 봐줘", "문서 점검", "용어 통일", "/docs-lead", or any phrasing about updating the Backend.AI WebUI user manual under packages/backend.ai-webui-docs/. Single entry point that runs docs-lint diagnosis, surfaces a prioritized queue via AskUserQuestion, and orchestrates the four docs worker subagents (planner / writer / screenshot-capturer / reviewer) through approval gates. Reading the manual to answer a question is the `bai-agent` skill's job; this skill is for writing and maintaining it.

Как установить скилл docs-lead?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл docs-lead запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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