spec-review
Skill4 starsChanged 2 months agoMITView on GitHub
Review implementation plans before coding with strict architecture compliance. Use when validating whether a spec or plan aligns with project architecture docs and conventions. Use this skill before starting any implementation to catch design issues early.
We split this skill into the rules it gives an agent
20 rules. 0 are common, 18 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 39 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to review an implementation plan rigorously before code is written.
- Distinctive: line 20
Read sources in this order:
- Very specific: line 27
If rules conflict, report Architecture Ambiguity with a recommended direction.
- Distinctive: line 51
If file paths are missing, mark assumption explicitly.
- Distinctive: line 55
Before deep validation, ask targeted questions whenever assumptions remain.
- Distinctive: line 61
Do not finalize review as "ready" while high-impact assumptions remain unanswered.
- Distinctive: line 88
Never assume names exist because they are in the plan.
- Distinctive: line 92
Run these checks explicitly:
- Distinctive: line 98
Search schema extension from SDK schema (not replacement)
- Distinctive: line 99
Search params passed directly to SDK query hook when required
- Very specific: line 113
When this skill is used inside /plan:
- Distinctive: line 114
Run review on current plan/spec draft
- Distinctive: line 116
Ask follow-up questions for unresolved assumptions
- Distinctive: line 119
no critical gaps remain
- Distinctive: line 120
no unresolved high-impact assumptions remain
- Distinctive: line 149
Use these commands to ground the review:
- Distinctive: line 169
If user asks for a reusable prompt, generate a prompt that enforces:
- Distinctive: line 177
Keep generated prompts concise and operational.
- Distinctive: line 181
Do not approve a plan based on style alone.
- Distinctive: line 184
Prefer small concrete corrections over broad rewrites.
“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review Implementation Plan
Use this skill to review an implementation plan rigorously before code is written.
Goal
Detect plan issues early:
- architecture violations
- contract mismatches between layers
- SDK/type/hook assumptions that do not match reality
- missing mandatory steps and sequencing
Source Order (Required)
Read sources in this order:
docs/BACKEND.md+docs/FRONTEND.md— architectural referencesCLAUDE.md— first-class citizens overview- the relevant skill's
registry.yaml - Current repository files touched by the plan
- Generated SDK surface (
client/dist/app/index.d.ts+ relevant hook/type files)
If rules conflict, report Architecture Ambiguity with a recommended direction.
When to Use
- User asks to review an implementation plan
- User asks if a plan is safe to execute in this monorepo
- User asks for a review prompt/template for plan validation
/planneeds architectural validation before spec sign-off
When NOT to Use
- Reviewing already-implemented code diffs (use
/review) - Writing implementation code directly
Review Protocol
Step 1: Normalize the Plan
Break plan into explicit items:
- phase
- step id
- layer (
backend-contract,sdk,frontend-route,frontend-component,verification) - expected artifact (file/hook/type/command)
If file paths are missing, mark assumption explicitly.
Step 1.5: Ask Clarifying Questions Early
Before deep validation, ask targeted questions whenever assumptions remain. Prioritize questions about:
- scope boundaries
- fields/contracts not explicitly defined
- ownership decisions (backend vs frontend computation)
- acceptance criteria that are implied but not stated
Do not finalize review as "ready" while high-impact assumptions remain unanswered.
Step 2: Extract Mandatory Rules
From docs, extract only rules relevant to the plan. Always include:
- contract-first workflow and dependency direction
- route/page/section/component ownership
- SDK as source of truth
- URL search params rules
- required route safeguards (
errorComponent, route tree generation) - verification gates (lint/build/tests)
Step 3: Map Plan Items to Rules
For each plan item:
- link item to required rule(s)
- identify violations and omissions
- identify fragile assumptions
Step 4: Reality Check Against Repository
Validate plan assumptions against current code:
- controller schemas and current contracts
- existing route/component structure
- available SDK exports (hooks/types/schemas/enums/signatures)
- barrel exports and router wiring
Never assume names exist because they are in the plan.
Step 5: Cross-Layer Compatibility Checks (Mandatory)
Run these checks explicitly:
- Backend contract vs frontend form/query fields
- Planned SDK hook/type names vs actual generated naming conventions
- Query/mutation call signatures vs SDK usage patterns
- Consistent field names across endpoints (same entity)
- Route-level fetch ownership (no component-level fetch/params usage)
- Search schema extension from SDK schema (not replacement)
- Search params passed directly to SDK query hook when required
- Skeleton/export expectations for sections
- Icon/mask/util reuse rules
- Route tree + SDK regeneration steps included
- Verification includes lint/build/tests (not partial)
Step 6: Severity Classification
Use this rubric:
Critical: Plan cannot be implemented correctly as written, or violates high-severity architecture/FP ruleModerate: High risk of regression, missing required step, or strong inconsistencyLow: Non-blocking inconsistency, convention drift, or incomplete detail
Step 7: Refactor Loop Until Spec Closure
When this skill is used inside /plan:
- Run review on current plan/spec draft
- Refactor plan based on findings
- Ask follow-up questions for unresolved assumptions
- Re-review the updated plan
- Repeat until:
- no critical gaps remain
- no unresolved high-impact assumptions remain
- stories/criteria map to a complete implementation sequence
Output Contract (Required)
Return findings first, ordered by severity.
Section Order
Findings (ordered by severity)Open Questions / AssumptionsWhat Is Already AlignedSuggested Plan Corrections(short, actionable)
Finding Format (Required)
Each finding must contain:
- Severity (
Critical | Moderate | Low) - Problem statement
- Why it matters (behavior/architecture risk)
- Rule reference (
docs/...andbp-xxwhen applicable) - Concrete impacted paths/symbols
- Minimal correction to the plan
If no findings:
- state
No findings - list residual risks/testing gaps
Command Playbook (Optional, Fast Path)
Use these commands to ground the review:
# Find relevant FP rules quickly
rg -n "^ - id: " .claude/skills/*/registry.yaml
# Find specific rule references used by the plan
rg -n "bp-01|bp-02|bp-03" .claude/skills/route/registry.yaml
# Inspect target files with stable line numbers
nl -ba <file> | sed -n '1,240p'
# Validate SDK exports and signatures
rg -n "use[A-Za-z]+|QueryParamsSchema|MutationRequestSchema" client/dist/app/index.d.ts
nl -ba client/dist/app/hooks/<...>.d.ts | sed -n '1,220p'
nl -ba client/dist/app/types/<...>.d.ts | sed -n '1,220p'Prompt Generator Mode
If user asks for a reusable prompt, generate a prompt that enforces:
- doc-first rule extraction
- plan-to-rule mapping
- repository reality checks
- severity-ordered findings with references
- explicit corrections
- clarification questions before final approval
Keep generated prompts concise and operational.
Quality Bar
- Do not approve a plan based on style alone.
- Prioritize blockers and hidden incompatibilities.
- Be explicit about assumptions.
- Prefer small concrete corrections over broad rewrites.
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- microsoft/winappCli★ 1.4ksame name
- utopia-rise/godot-kotlin-jvm★ 990same name
- cashew-labs/libretto★ 898same name
- saffron-health/libretto★ 883same name
- liza-mas/liza★ 414same name
- HHU3637kr/skills★ 146same name
- saffron-health/opencode-gui★ 59same name
- agent-ix/quoin★ 20same name
- azents/azents★ 16same name
- komluk/scaffolding★ 15same name
34 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use get-pr-reviews, push-everything and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
saffron-healthSkillget-pr-reviews
Get nicely formatted output of the last review comments on a PR. Used internally by other skills.
Also in 3 projects that use this
saffron-healthSkillpush-everything
Stage ALL changes in the repository (not just session changes), commit, and push. Use when you need to commit all pending changes.
Also in 3 projects that use this
NVIDIASkillgenerate-spec
Produce a feature specification covering API changes, backward compatibility, cross-language impact, performance, and a file-level change plan. Use when designing a new feature, planning a significant change, or the user asks to spec something out.
Also in 3 projects that use this
telefrekSkillspec-init
Bootstrap the spec corpus for this project
Also in 3 projects that use this
AWSSkillimplement-spec
Implement the result of /to-spec and /to-tickets in code.
Also in 6 projects that use this
ArvorCoSkillspecify
Create feature specification from natural language description. Use when starting a new feature or creating a spec. Triggers on: create spec, specify feature, new feature spec.
Also in 3 projects that use this
- +2 more from saffron-health
In this repository45 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agentSkill
- bounded-contextSkill
- clean-branchSkill
- commitSkill
- componentSkill
- controllerSkill
- db-modellingSkill
- ddd-modelingSkill
- ddd-specSkill
- design-systemSkill
- desktop-shellSkill
- e2eSkill
- entitySkill
- enumSkill
- errorsSkill
- eventSkill
- formSkill
- grill-with-docsSkill
- handlerSkill
- handoffSkill
- middlewareSkill
- migrateSkill
- prdSkill
- primitiveSkill
- projectionSkill
- projectorSkill
- querySkill
- repositorySkill
- reviewSkill
- routeSkill
- saas-researchSkill
- schedulerSkill
- schemaSkill
- sdkSkill
- serviceSkill
- storeSkill
- storybookSkill
- task-breakdownSkill
- testSkill
- trace-analysisSkill
- ui-compositionSkill
- usecaseSkill
- user-storiesSkill
- value-objectSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

