skills/spec-review-en/SKILL.md
Review spec documents and fix issues one by one with user confirmation
npx skillsauth add ousiass/claude-config spec-review-enInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review specification documents created by spec-gen, present findings one by one, and fix with user approval.
consistency code-drift quality all| Mode | Description | |------|-------------| | Consistency | Cross-reference contradictions between spec documents | | Code drift | Detect gaps between implementation code and specs, update specs | | Quality | Format issues, ambiguous descriptions, missing diagrams, stale revision history | | All | Run all 3 modes sequentially |
If path argument provided:
If no argument: Search with Glob:
**/spec/**/*.md
**/specs/**/*.md
**/docs/**/*.md
**/specifications/**/*.md
**/design/**/*.md
If nothing found, ask user for path.
Read all discovered specs to understand current state.
If mode not specified in arguments, ask with AskUserQuestion:
Question: Which review mode?
Choices:
1. Consistency — cross-reference contradictions between spec documents
2. Code drift — detect gaps between code and specs, update specs
3. Quality — format, ambiguous text, missing diagrams, revision history
4. All — run all 3 modes sequentially
Run review for selected mode(s). For "All": consistency → code drift → quality.
| Cross-reference | Check | |----------------|-------| | Requirements ↔ API spec | Each feature has corresponding endpoints | | Requirements ↔ Component design | Each screen has corresponding components | | ER diagram ↔ API spec | Request/response matches table definitions | | ER diagram ↔ Requirements | Data used by features is defined as tables | | Architecture ↔ Non-functional requirements | Tech choices satisfy non-functional requirements | | Components ↔ API spec | APIs needed by components are defined |
Explore implementation code and verify:
| Cross-reference | Check | |----------------|-------| | API spec ↔ Routes/handlers | Endpoint paths, methods, parameters match | | ER diagram ↔ Migrations/models | Table names, columns, types, constraints match | | Component design ↔ Implementation | Component names, props, dependencies match | | Architecture ↔ Directory structure | Layer structure, tech choices match reality |
Skip if no code exists, report accordingly.
| Target | Check | |--------|-------| | Mermaid diagrams | Required diagrams present, no syntax errors | | Revision history | All docs have revision history section with valid dates | | Ambiguous wording | Vague terms like "as needed", "etc.", "appropriate" | | Table format | Markdown table formatting is correct | | Section structure | Heading level consistency, required sections present | | Link integrity | Cross-references between documents are not broken |
Present each finding one at a time via AskUserQuestion.
Question: [Mode] Finding N/M — [filename]
[Description of the issue]
[Quoted excerpt if applicable]
[Proposed fix summary]
Choices:
1. Fix — apply proposed fix
2. Modify fix — specify different fix approach before applying
3. Skip — do not address this finding
4. Fix all remaining — apply all remaining fixes without confirmation
5. End review — discard remaining findings and finish
AskUserQuestion whether to commitAskUserQuestion with choices for questions. Never ask via plain textallowFreeText: true when free-form input is neededtesting
PRのTest planチェックリストからローカル実行用テスト手順書を生成しPRコメントに投稿
content-media
Stitchモックzipを展開しShopify OS 2.0テーマ(Atomic Design snippets構造)に変換する
devops
Stitchモックzipを展開しNetlifyデプロイ可能な構造に変換する
development
既存の仕様書ディレクトリをHextraテーマのHugo仕様書サイトに変換する