check-requirements-against-code
БесплатноБез исполняемых скриптовНе проверенCheck requirements docs against implementation and report discrepancies
от brianwestphal★ 36 звёзд на GitHubОб этом скилле
Comprehensively compare the requirements documents in docs/ against the actual
implementation (src/ and apple-fm-helper/main.swift), then bring the
derived docs back in sync. Generate a report with recommendations and questions.
Steps
Read all requirements documents in
docs/:1-overview.md,2-architecture.md,3-requirements.md,4-protocol.md. If new numbered docs have been added, include them. Also readREADME.mdandCLAUDE.md— both enumerate the API and module layout and drift the same way.For each FR/NFR in
3-requirements.md, verify against the code:- Find the implementing symbol in
src/(or the Swift helper). - Check the behavior matches, and that the status marker is honest — remember Partial is the correct marker for code that is written but not yet verified on an Apple Intelligence device (AF-2). Don't upgrade a Swift path to Shipped without on-device evidence.
- Note missing, different, undocumented, or stale items.
- Find the implementing symbol in
Verify the wire protocol three ways agree:
docs/4-protocol.md, the Node side (src/protocol.ts+src/helper.ts), and the Swift helper (apple-fm-helper/main.swift). The event vocabulary (delta/result/error), the probe line shape, and the error codes must match across all three. The reference stubtests/fixtures/stub-helper.jsmust also still match.Check
CLAUDE.mdcompleteness:- Every doc under
docs/appears in the docs list. - The architecture/source list names every file under
src/. - The public API block matches the exports of
src/index.ts. - The "Commands" section lists every
npm run *script inpackage.json. - The coverage-thresholds sentence matches
vitest.config.ts.
- Every doc under
Synchronize
docs/ai/code-summary.md: confirm the directory tree matchessrc/(use Glob), the Public API list matchessrc/index.ts, the coverage thresholds matchvitest.config.ts, and the "where do I look" entries still resolve. Make the edits in place.Synchronize
docs/ai/requirements-summary.md: confirm each FR/NFR line matches its row in3-requirements.md(same status). Make the edits in place.Final consistency pass:
CLAUDE.md,README.md, and the two AI summaries must agree with the source docs and code. Resolve any disagreement in favor of the code /src/index.ts(API) /3-requirements.md(behavior) /vitest.config.ts(thresholds). The most common drift here is a new public export or a newsrc/*.tsfile landing without the AI summaries and CLAUDE.md being updated — look for that explicitly.
Report Format
Discrepancies Found
For each: Requirement (doc + ID), Implementation (file:line), Type
(missing | different | undocumented | stale | status-wrong),
Recommendation (fix doc or fix code).
CLAUDE.md / Summary Coverage Audit
List docs, source files, exports, scripts, or thresholds that are present in code but missing from CLAUDE.md / the AI summaries (or vice versa).
Files Edited
The summary/doc files you updated and why (or "no changes needed").
Questions
Ambiguous requirements where the implementation made a judgment call.
Установить check-requirements-against-code в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobBashAgentEditWriteFAQ
Что делает скилл check-requirements-against-code?
Check requirements docs against implementation and report discrepancies
Как установить скилл check-requirements-against-code?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл check-requirements-against-code запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic