blueprint-docs-currency
БесплатноБез исполняемых скриптовНе проверенEnforce same-commit landing of code and docs (APIs, formats, ADRs). Use when committing API/format changes, finding docs a staged change affects, promoting…
от laurigates★ 61 звезда на GitHubОб этом скилле
Blueprint Docs Currency
Same-commit discipline for code and documentation. This skill is the
reusable version of claude-plugins' .claude/rules/docs-currency.md,
refined for blueprint-driven projects.
When to Use This Skill
| Use this skill when… | Skip when… |
|---|---|
| Committing code that changes a public API, format spec, or error enum | Refactoring internal helpers with no external surface change |
Promoting research findings from tmp/ to docs/ |
Scratch work that will not ship |
| Landing an architectural decision | Implementation detail with no branching trade-off |
| Advancing a tracker entry past "in progress" | Small task completion that does not cross a phase gate |
| A reviewer flags missing documentation | Typo fixes or whitespace changes |
The Rule
Code + its docs land in the same commit. Research promotes to
docs/before the feature advances past "in progress." ADR-worthy decisions land with a new or updated ADR in the same commit.
Same-commit scope
| Change kind | Doc target |
|---|---|
| Public API / exported type | Inline docstring + reference doc under docs/api/ (or tool-appropriate) |
| File-format spec | docs/format-spec/<name>.md (hand-written prose, not generated) |
| Error enum / protocol code | docs/errors/<name>.md or the protocol reference |
| Milestone / phase status | Feature-tracker entry + docs/PLAN.md if the phase advanced |
| Architectural decision | New ADR under docs/adrs/NNNN-<title>.md |
| New CLI flag or subcommand | README + relevant docs/cli/ page |
Forward-reference blueprint-plugin:blueprint-curate-docs for how to
produce the curated .claude/rules/ entry when the code change
surfaces an AI-context gotcha worth capturing.
Research promotion workflow
Research findings arrive in tmp/ (gitignored). Before the dependent
feature advances past "in progress" in the blueprint feature tracker:
- Move the findings into
docs/at a canonical path (e.g.docs/research/<topic>.md, or directly intodocs/format-spec/<name>.mdif the research is the spec). - If the research produced a decision, file an ADR. ADRs without a decision record are a code smell — revert to research notes.
- Update the feature-tracker entry with the
docs/path in its evidence field (blueprint-plugin:feature-trackinghandles the mechanical edit). - Only then flip the tracker status from
in_progresstodone.
See blueprint-plugin:blueprint-curate-docs for the prose-production
mechanics; see blueprint-plugin:blueprint-sync for the drift detection
that catches stale generated content drifting from source PRDs.
Sidecars are not documentation
| Layer | Lives at | Authoritative? |
|---|---|---|
TODO.md, feature tracker JSON |
Repo root or docs/blueprint/ |
No — sidecar |
docs/PLAN.md, docs/roadmap.md |
docs/ |
Yes |
docs/format-spec/, docs/api/ |
docs/ |
Yes |
ADRs in docs/adrs/ |
docs/adrs/ |
Yes |
tmp/research/… |
gitignored | No — scratch |
Sidecars record priority, status, and notes for humans. If a reader
needs the information to port, debug, or onboard, it belongs in docs/,
not the sidecar.
Dependency sweep
Before committing, run the bounded sweep over the staged diff:
bash "${CLAUDE_SKILL_DIR}/../../scripts/docs-dependency-sweep.sh"
It names the hand-written docs that may describe what the commit changes, one hop from each staged path. It reports; it never edits.
| Staged path | Candidate docs (KIND=) |
|---|---|
<plugin>/skills/<skill>/…, <plugin>/agents/<agent>.md, <plugin>/.claude-plugin/… |
plugin README.md (plugin_readme), plugin plugin.json (plugin_manifest), README.md / docs/PLUGIN-MAP.md / .claude-plugin/marketplace.json (catalog) |
<plugin>/<any other path> |
plugin README.md, plugin plugin.json |
.claude/rules/<rule>.md |
CLAUDE.md / AGENTS.md (rule_index), then every other tracked *.md citing <rule>.md (rule_backref) |
| Anything else | Not swept (UNMAPPED_PATHS=); use the Same-commit scope table |
Bound. At most CANDIDATE_CAP files are examined (default 10; set
it with --cap N or DOCS_SWEEP_CAP). Candidates already staged count
as covered and are not examined. Past the cap the sweep stops and emits
one cap_reached finding with the number dropped: a change that broad
needs a full review, not a longer sweep.
Reading the output. Each review_candidate row carries DOC=,
KIND=, the staged SOURCE=, and ENTRY_LINES=, the lines in that doc
that name the change (none: the doc does not name it; -: there was
no specific name to look for). Open each doc at those lines, then update
it in this commit or confirm it is unaffected. STATUS=OK means nothing
is left to review.
Pre-commit checklist
Before git commit, ask:
- Does this change the public API, file forma
Установить blueprint-docs-currency в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(bash *)ReadGrepGlobTodoWriteFAQ
Что делает скилл blueprint-docs-currency?
Enforce same-commit landing of code and docs (APIs, formats, ADRs). Use when committing API/format changes, finding docs a staged change affects, promoting research, or landing an ADR.
Как установить скилл blueprint-docs-currency?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blueprint-docs-currency запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic