docs-orchestrator
Use this skill when orchestrating documentation generation and updates within a session. Maps session scope to audience-specific docs tasks (User / Dev /…
от Kanevry★ 53 звезды на GitHub
Установить docs-orchestrator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Docs Orchestrator Skill
Project-instruction file resolution: CLAUDE.md and AGENTS.md (Codex CLI) are transparent aliases — see skills/_shared/instruction-file-resolution.md.
Plugin root:
${CLAUDE_PLUGIN_ROOT}. Claude Code replaces this with the plugin's absolute path when it loads this file. Where it appears unreplaced — in a file this skill reads with the Read tool, or on Codex, Cursor or Pi — the plugin root is the directory that contains this skill'sskills/folder (two levels above the folder of this SKILL.md). Write that absolute path literally into every command that starts a plugin script: the Bash tool has no plugin variable, and shell variables do not survive between tool calls.
docs-orchestrator coordinates the full documentation lifecycle inside a session: it
detects which audiences (User, Dev, Vault) are touched by the agreed scope, generates
audience-specific task definitions, threads them into the session-plan pipeline, and
verifies that docs tasks produced diffs once waves complete. The skill is opt-in and
default-off — when docs-orchestrator.enabled: false, all three hook points
short-circuit with no output and no cost. docs-orchestrator fills the generative-content
gap that sibling skills leave open: vault-sync validates but does not write, vault-mirror
writes metrics-derived _overview.md entries but not narratives, claude-md-drift-check
diagnoses CLAUDE.md (or AGENTS.md on Codex CLI) drift but does not remediate it, and daily exclusively owns
03-daily/*. docs-orchestrator is the only skill that produces new prose grounded in
session output.
Invocation
Not user-invocable. Triggered at three hook points within the session lifecycle:
- session-start Phase 2.5 "Docs Planning" — after user alignment, before handing off to session-plan. Reads the agreed scope, runs audience detection (Phase 2 below), and threads the detected audience list into the plan context so session-plan can classify tasks correctly.
- session-plan Step 1.5 Agent Registry —
docs-writeris added to the agent registry when docs tasks are present; tasks carrying roleDocsare assigned to it (see session-plan Step 1.8). - session-end Phase 3.2 "Docs Verify" — after waves complete, verifies that each
Docs-classified task produced a diff in the expected file-pattern target and reports gaps perdocs-orchestrator.mode.
All three hook points are gated on docs-orchestrator.enabled: true. When disabled,
every hook exits immediately after the config read.
Phase 0: Input Validation
When: At the start of every docs-orchestrator execution (all three hook points).
Action: Confirm the invocation context is valid before doing any work.
Caller check — Verify that this skill was invoked from one of the three recognised hook points:
session-start Phase 2.5,session-plan Step 1.5, orsession-end Phase 3.2. If the call context is missing or unrecognised, abort with:[docs-orchestrator] ERROR: Unexpected invocation context '<context>'. Expected one of: session-start Phase 2.5 | session-plan Step 1.5 | session-end Phase 3.2. Aborting.Config gate — Read
docs-orchestrator.enabled. Iffalse, exit immediately with no output, no logging, no side effects.Task spec validation (hook point 3 only — docs-writer dispatch tasks) — When wave-executor dispatches a Docs task to docs-writer, the task spec MUST contain:
audience∈{user, dev, vault}— reject any other value.file-pattern— a non-empty glob matching a pattern fromaudience-mapping.md.rationale— a non-empty string describing why this audience was triggered.
If any field is missing or
audienceis not one of the three valid values, abort the task dispatch with:[docs-orchestrator] ERROR: Malformed task spec — missing or invalid field '<field>'. Required: audience ∈ {user,dev,vault}, file-pattern (non-empty glob), rationale (non-empty string). Aborting task dispatch.Do not fall through to Phase 1 with a malformed spec.
Mode validation — Confirm
docs-orchestrator.mode∈{warn, strict, off}. Any other value is a config error; abort with:[docs-orchestrator] ERROR: Invalid mode '<value>'. Expected: warn | strict | off.
Phase 1: Read Session Config
Read Session Config per skills/_shared/config-reading.md. Extract:
docs-orchestrator.enabled(boolean, defaultfalse)docs-orchestrator.audiences(list, default[user, dev, vault])docs-orchestrator.mode(warn|strict|off, defaultwarn)
If enabled: false, exit immediately with no output. Do not log, do not query scope.
Config is read once at invocation; subsequent phases use the cached values. If the
config block is absent entirely, all defaults apply and the skill proceeds as if
enabled: false.
Phase
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- audience-mapping.md
FAQ
Что делает скилл docs-orchestrator?
Use this skill when orchestrating documentation generation and updates within a session. Maps session scope to audience-specific docs tasks (User / Dev / Vault), dispatches the docs-writer agent with source-grounded prompts, and reports coverage gaps to session-end. Gated on `docs-orchestrator.enabled: true` in Session Config. Zero overhead when disabled.
Как установить скилл docs-orchestrator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docs-orchestrator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…