Command Palette

Search for a command to run...

Назад к скиллам
скилл № 28063

check-docs-sync

Three-question docs-sync check: identifies docs/ pages that need updating after an implementation or bug-fix change, applies small updates inline (PD-03-007)…

БесплатноБез исполняемых скриптов
CERTCCот CERTCC★ 22 звезды на GitHub

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

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

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

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

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

Skill: Check Docs Sync

Verify that docs/ is in sync with the current implementation changes. Normative requirements: specs/project-documentation.yaml PD-03-007 (what the PR must contain), PD-03-008 (when this runs) and PD-03-013 (that its result is recorded).

When to invoke

After the PR is pushed (CI starts in the cloud), while CI runs in parallel locally. Apply any small docs updates and commit them before the finalize steps (archive-history, learnings). Invoked by build (Phase 8), bugfix (Phase 4 finalize), and learn (Phase 8) for consistency.

Recording the result is mandatory, not a courtesy, on implementation and bug-fix PRs (build, bugfix). Running this skill is half the obligation: the caller MUST replace the PR body's Docs: pending check-docs-sync placeholder with the line Step 5 emits, and the session is not done while the placeholder remains (PD-03-013). pr-triage reports a missing or placeholder Docs: line as a FAIL (PD-03-009), so an unrecorded run is indistinguishable from no run. learn opens a docs-only PR, which carries no Docs: line, so it applies the updates and records nothing, unless the PR changes a workflow or tooling file and no maintainer-facing doc: such a PR needs a Docs: line on any template (PRB-12, PD-03-014; Step 5).

Prose rules for every page this skill touches live in ../shared/docs-style-guide.md, made normative by specs/diataxis-requirements.yaml DF-09-001. This skill does not restate them — it enforces them via the lint-docs gate in Step 3.

Procedure

Step 1 — Identify changed areas

git diff origin/main...HEAD --name-only

Look at the changed files and identify the functional areas affected:

  • vultron/ changes → protocol behavior, wire layer, adapters, BT nodes
  • specs/ changes → specification requirements (PD, CM, ARCH, etc.)
  • notes/ changes → design notes and durable insights
  • .agents/skills/ changes → agent skill pipelines

Step 2 — Three-question docs-sync check

For each changed area, answer three questions:

Q1 — Does this change introduce or modify behavior, interfaces, or architecture described in docs/?

Scan docs/ for pages covering the changed area:

  • docs/topics/ — protocol behavior and conceptual explanations
  • docs/reference/ — API, message, data model, and codebase reference
  • docs/howto/ — procedural how-to guides, including demos
  • docs/tutorials/ and docs/start/ — learning paths and entry points
  • docs/developer/ — developer guides (draft docs)

Pages that regenerate from their source at build time need no hand edit: spec pages under docs/reference/specs/ and the Requirements Catalog rows under docs/reference/vultron-spec/requirements/ (rendered from specs/*.yaml), and the mkdocstrings ::: API pages. docs/reference/examples/*.json is not one of them: it is a committed artifact written by uv run python vultron/wire/as2/vocab/examples/vocab_examples.py and pinned byte for byte by test/architecture/test_vocab_examples_current.py, so a change to an example builder means re-running that command and committing the result. The docs/reference/codebase/ maps are regenerated by acquire-codebase-knowledge (learn refreshes them), and lint-docs exempts them, so a hand edit there cannot pass Step 3's gate. A change whose only described surface is one of these has no docs impact.

If no relevant docs/ page exists and none is needed, answer "no" and move to the next area.

Q2 — What specific docs/ pages need to be created or updated?

List each page with a short description of what needs to change (add a section, update a code example, new page covering X, etc.).

Q3 — Small or large update?

Apply the heuristic:

Required update Disposition
Edit to one or more existing pages Small — do now
Add a single new page Small — do now
Rewrite a single existing page Small — do now
Simultaneously rewrite multiple pages completely Large — file Task

When in doubt, lean toward Small and do it now. The Task path is for genuine multi-page rewrites that would bloat the PR beyond its original scope.

Step 3 — Apply small updates

For each small update:

  1. Write the change to the target docs/ file.
  2. Invoke lint-docs on the changed pages. This is a blocking gate: it fixes mechanical style findings in place, and any finding it reports must be resolved before proceeding. If it escalates a quadrant misclassification, act on the recommendation it gives or hand the page to write-docs. The gate is satisfied only by a report that names a non-empty target set. If lint-docs reports no lintable targets resolved, or its target count is zero, the gate is not satisfied — treat it as a failure, check the paths you passed (an _*.md include fragment is a valid target; a generated page is not), and re-run. A gate th
Полный SKILL.md на GitHub

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

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

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

FAQ

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

Three-question docs-sync check: identifies docs/ pages that need updating after an implementation or bug-fix change, applies small updates inline (PD-03-007) behind a blocking lint-docs gate, offers write-docs for large multi-page rewrites, and files a type:Task issue when those are deferred. Emits the exact `Docs:` line the caller MUST write into an implementation or bug-fix PR body in place of create-pr's placeholder (PD-03-013). Invoked after the PR is pushed (while CI runs), by build (Phase 8), bugfix (Phase 4 finalize), and learn (Phase 8).

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

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

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

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

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

Сравнить check-docs-sync с