一键导入
check-requirements-against-code
Check requirements docs against implementation and report discrepancies
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check requirements docs against implementation and report discrepancies
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a diff-grounded, one-page technical changelog for a Domotion release — from the actual code changes between the last production tag and HEAD (the next, still-unreleased version). Asks for the next version number, since HEAD is not yet in package.json.
Create a new bug ticket in Hot Sheet
Create a new feature ticket in Hot Sheet
Create a new investigation ticket in Hot Sheet
Create a new issue ticket in Hot Sheet
Create a new req change ticket in Hot Sheet
| name | check-requirements-against-code |
| description | Check requirements docs against implementation and report discrepancies |
| allowed-tools | Read, Grep, Glob, Bash, Agent |
Comprehensively compare the requirements documents in docs/ against the actual implementation. Generate a report with recommendations and questions about any discrepancies. Also synchronize the AI summary documents and verify CLAUDE.md references.
Read all requirements documents in docs/ (all numbered files, not just 1-13). Note every stated requirement, behavior, and constraint.
For each requirement, verify it against the implementation:
Check for undocumented features: Scan the codebase for significant functionality that isn't covered by any requirements document. These are features that should either be documented or questioned.
Check for stale documentation: Requirements that describe behavior that no longer exists or has changed.
Verify the font-resolution flow diagram (docs/font-resolution-diagram.md):
src/render/font-resolution.ts (resolveFontKey / matchFamilyNameToKey / resolveFontKeyChain, getFontInstance, resolveFontSpec + the FONT_PATHS / LINUX_FONT_PATHS / WIN32_FONT_PATHS tables, resolveFontForCodepoint, fallbackFontChain / darwinFallbackChain / linuxFallbackChain / linuxNotoFallbackChain / win32FallbackChain, resolveSystemFallbackKeyForCp, the webfont + local-alias registries, the caches), src/render/glyph-helper.ts (native CoreText / FreeType / DirectWrite backends), src/render/text-to-path.ts (renderTextAsPath / textToPathMarkup / splitTextIntoFontRuns callers), src/render/embedded-font-builder.ts, and src/capture/index.ts (discoverAndRegisterWebfonts).stale/different) any place the diagram's decision order, per-block routes, specific font keys/files, platform branching, registry/cache behavior, or maintenance pointers no longer match the code. The code wins — recommend updating the diagram. Confirm each **Source of truth:** pointer still names functions/files that exist.Synchronize AI summary documents:
docs/ai/code-summary.md and verify it reflects the current codebase structure (directories, routes, schema, commands, tools). Update any sections that are stale.docs/ai/requirements-summary.md and verify the status markers (Shipped/Partially built/Design only) are correct. Update any that have changed.Verify CLAUDE.md references:
docs/ are referenced or covered by the guidance in CLAUDE.md.docs/ai/code-summary.md, docs/ai/requirements-summary.md) are referenced with their maintenance rules.For each discrepancy:
missing (doc says X, code doesn't do X) | different (doc says X, code does Y) | undocumented (code does X, no doc mentions it) | stale (doc says X, feature was removed/changed)State whether docs/font-resolution-diagram.md still matches the code. List any diagram sections (decision ladder, platform tables, fallback-chain routes, per-codepoint resolver order, live-resolver backends, caches, **Source of truth:** pointers) that drifted, with the file/line the code actually does now, and whether you updated the diagram.
List any updates made to docs/ai/code-summary.md or docs/ai/requirements-summary.md to bring them in sync.
List any requirements docs not referenced or covered by CLAUDE.md guidance.
List any ambiguous requirements where the implementation had to make a judgment call, and ask whether the current behavior is correct.