docs-lead
БесплатноБез исполняемых скриптовНе проверенUse whenever the user mentions docs, the manual, documentation, terminology, translations, or screenshots — including indirect mentions like "이 PR 문서 영향 봐줘"…
от lablup★ 137 звёзд на GitHubОб этом скилле
docs-lead — Documentation Team Lead
Category note: This is a skill (runs in the main context with full access to
AskUserQuestionand theAgenttool), 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-readyAgent(...)prompts for the four workers. Read in step 5 of the workflow.references/decision-gate-templates.md—AskUserQuestionshape 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.mdpackages/backend.ai-webui-docs/DOCUMENTATION-STYLE-GUIDE.mdpackages/backend.ai-webui-docs/TRANSLATION-GUIDE.mdpackages/backend.ai-webui-docs/SCREENSHOT-GUIDELINES.mdpackages/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 outputsarchive/— 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:
- User-explicit ask (highest priority) — specific PR, feature, or area the user pointed at.
- Lint findings — group by check type. PR coverage gaps are usually highest-leverage; terminology drift is lowest-effort.
- In-flight from state — items marked
status: in-progressorstatus: 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
Установить docs-lead в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic