بنقرة واحدة
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.