specs-review
Specs Review
Audit the health and consistency of a project's spec-driven documentation.
Skill Dependencies
This skill is part of a set of skills designed to work together:
- spec-driven — Core rules and high-level document map
- specs-setup — Initialize
specs/for a new project - specs-tickets — Create and execute tickets through their lifecycle
- specs-finish-ticket — Review implemented tickets before closure
- specs-review (this skill) — Audit specs health and consistency
If any of these skills are missing from the project, instruct the user to install them before proceeding:
npx skills add b12consulting/skills --skill <missing_skill>
Always load the spec-driven skill first for the core rules. Load the methodology reference when you need detailed lifecycle, document, ADR, or Findings guidance.
Procedure
1. Structural Completeness
Verify all required files exist:
-
specs/README.md -
specs/Vision.md -
specs/PRD.md -
specs/Architecture/README.md -
specs/Glossary.md -
specs/Changelog.md -
specs/decisions/directory -
specs/tickets/directory
Report any missing files. Suggest running specs-setup if critical files are absent.
If the project is event-driven, API-heavy, multi-package, or persistence-heavy, also check whether optional architecture sub-documents such as specs/Architecture/data-model.md or other topic-specific architecture docs would improve clarity.
2. Document Quality
For each project-level document, check:
| Document | Check |
|---|---|
Vision.md |
Has vision statement, problem statement, target audience, success metrics, and milestones? |
PRD.md |
Has functional requirements, non-functional requirements, and scope? Are requirements numbered (FR-1, FR-2, ...)? |
Architecture/README.md |
Has system overview, key components, and tech stack? Links to sub-documents if they exist? |
Glossary.md |
Has at least a few terms? Are terms used consistently in other documents? |
Changelog.md |
Is it up to date with recent completed tickets? |
README.md |
Does the active tickets table match actual ticket statuses? Is the last-updated date recent? |
Flag documents that are empty templates or still contain placeholder content.
If these optional architecture documents exist, also check:
| Document | Check |
|---|---|
Architecture/data-model.md |
Are canonical entities, identity rules, relationships, state transitions, and invariants documented clearly? |
3. Cross-Reference Consistency
Check that documents reference each other correctly:
- README dashboard vs. reality: Do the Active Tickets and Recently Completed tables match ticket statuses from
Spec.mdfrontmatter? - Glossary usage: Scan
Vision.md,PRD.md, and architecture docs for domain terms. Are they defined in the Glossary? - Architecture sub-documents: If
Architecture/README.mdlinks to sub-documents, do those files exist?
4. Drift Detection
Compare specs against the codebase:
- Does the tech stack in
Architecture/README.mdmatch the actual dependencies? - Do the key components described in architecture docs match the actual project structure?
- Are there functional requirements in
PRD.mdthat do not correspond to any ticket, planned or completed? - Where architecture docs define long-lived boundary contracts, do those contracts still match the code?
- Where
data-model.mdexists, do documented identity rules and invariants still match the code and current architecture?
This step requires codebase analysis. Flag potential drift but note that confirmation with the user is needed — apparent drift may be intentional and just not yet documented.
5. Report
Summarize findings in three categories:
Critical — Blocks correct agent behavior:
- missing ground truth documents such as
Vision.md,PRD.md, orArchitecture/README.md - tickets with invalid or missing frontmatter in
Spec.md - tickets missing required
Plan.mdfor their lifecycle state - conflicts between specs and code that could lead to wrong implementation
Warning — Should be addressed soon:
- stale tickets
- unresolved open questions
- README dashboard out of sync
- empty or placeholder documents
Suggestion — Improvements for completeness:
- missing Glossary terms
- tickets without
Findings.mdthat clearly involved durable assumptions, frictions, or follow-up candidates - architecture that could benefit from sub-documents
- missing
data-model.mdor other architecture docs for non-trivial boundary contracts or persistence shapes
6. Propose Actions
For each finding, propose a concrete action:
- "Create ADR to document the React-to-Vue migration that happened in ticket 005"
- "Update
specs/README.md— tickets 003 and 004 are marked done but still in Active Tickets" - "Ticket 007 has been in-progress for 3 weeks with no updates — ask the owner for status"
- "Add 'workspace' and 'campaign' to the Glossary — used in PRD but not defined"
Ask the user which actions to take. Execute approved actions immediately.
More from b12consulting/skills
yuma-design
Yuma brand design reference covering color palette, logos and typography guidance. Use this skill when creating or reviewing Yuma-branded visual assets to stay aligned with the design system.
15pptx
Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.
12specs-setup
Initialize the spec-driven project methodology. Use when: no specs/ folder exists; critical files like PRD.md, Vision.md, or Architecture/ are missing; setting up a new project for structured requirements and ticket management. Triggers on: 'setup specs', 'initialize specs', 'create PRD', 'start project methodology', 'missing specs', 'init specs', 'no specs folder'.
10spec-driven
Spec-driven project methodology reference. Use when a project has a specs/ folder for managing product requirements, vision, architecture, success measures, decision records (ADR), glossary, changelog, and ticket-based work tracking. Loaded when: working on a project with specs/; reading or updating PRD, vision, architecture, glossary, or changelog; detecting drift between code and specs; reviewing project methodology or document formats. Triggers on: 'specs', 'PRD', 'vision', 'success metrics', 'milestones', 'architecture', 'ADR', 'decision record', 'glossary', 'changelog', 'ticket', 'project methodology', 'ground truth'.
10specs-tickets
Create new spec-driven tickets and resume existing ones through the full lifecycle: research, specification, planning, and implementation. Use when: the user describes new work to be done; continuing a previously started ticket; a feature, bug fix, or task needs planning and implementation; starting or resuming planned work on a project with specs/. Triggers on: 'new ticket', 'new feature', 'fix bug', 'implement', 'create ticket', 'I want to build', 'let us work on', 'add feature', 'continue ticket', 'resume work', 'pick up where we left off', 'work on ticket', 'existing ticket', 'check ticket status', 'what is the state of ticket'.
10code-simplifier
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
5