agentleFS
komlukkomluk/scaffolding/skills/spec-review/SKILL.md

spec-review

Skill15 starsChanged 2 months agoMITView on GitHub

Verify an implementation against its OpenSpec artifacts. TRIGGER when: checking completed work against design.md and tasks.md. SKIP: security-specific review (use security-review-checklists); executing tasks (use spec-develop).

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan-review, implement-spec and 2 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.
  • longranger2Skill

    plan-review

    Use when the user says "/plan-review", "plan review", or "PRD review" and provides a plan file path that needs critical review and iterative refinement with Codex.

    Also in 3 projects that use this

  • AWSSkill

    implement-spec

    Implement the result of /to-spec and /to-tickets in code.

    Also in 3 projects that use this

  • AICreator-WindSkill

    design-review

    编码设计师工具。设计审计和修复。

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Load artifacts: - Read design.md, tasks.md, proposal.md

    line 56
  2. Distinctive:

    Always note which checks were skipped and why.

    line 99
  3. Distinctive:

    Correctness: Use keyword search + file path analysis.

    line 104
  4. Distinctive:

    Coherence: Look for glaring inconsistencies, don't nitpick style

    line 105
  5. Distinctive:

    False positives: Prefer SUGGESTION over WARNING, WARNING over CRITICAL when uncertain

    line 106
  6. Distinctive:

    Actionability: Every issue must have a specific recommendation with file references

    line 107

“Common” is measured: kept by at least 6 in 10 of the 17 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

OpenSpec Verification

Guide for verifying that implementation matches spec artifacts.

Input Files

FileRequiredPurpose
{specs_path}/design.mdYesRequirements and scenarios to verify
{specs_path}/tasks.mdYesCompletion checklist
{specs_path}/proposal.mdOptionalOriginal intent reference

Path Enforcement: The specs_path MUST be .scaffolding/conversations/{UUID}/specs/ where {UUID} is a valid UUID (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). NEVER use descriptive folder names.

Three Verification Dimensions

1. Completeness

Question: Are all tasks done and all requirements covered?

CheckMethodIssue Level
All checkboxes marked [x]Parse tasks.mdCRITICAL if incomplete
All requirements have codeSearch codebase for keywordsCRITICAL if missing
All new files existVerify file paths from tasksCRITICAL if missing

2. Correctness

Question: Does the code do what the spec says?

CheckMethodIssue Level
GIVEN/WHEN/THEN satisfiedTrace scenario through codeWARNING if divergent
Tests cover scenariosMatch test names to scenariosWARNING if uncovered
Edge cases handledCheck error paths in codeWARNING if missing
Validation commands passRun pytest / npm run validateCRITICAL if failing

3. Coherence

Question: Does the code match design decisions?

CheckMethodIssue Level
Design decisions followedCompare Decisions section to codeWARNING if violated
Patterns consistentCheck naming, structure, styleSUGGESTION
No undocumented changesDiff scope vs design scopeWARNING if extra
No design deviationsCross-reference architectureWARNING if different

Verification Process

  1. Load artifacts - Read design.md, tasks.md, proposal.md
  2. Check completeness - Parse checkboxes, search for requirement implementations
  3. Check correctness - Trace each scenario through code, verify test coverage
  4. Check coherence - Compare decisions to implementation, check patterns
  5. Generate report - Summarize findings with issue levels

Report Format

## Verification Report

### Summary
| Dimension    | Status              |
|--------------|---------------------|
| Completeness | X/Y tasks, N reqs   |
| Correctness  | M/N scenarios pass   |
| Coherence    | Followed / N issues  |

### Critical Issues
| # | Dimension | Issue | File | Recommendation |
|---|-----------|-------|------|----------------|
| 1 | Completeness | Task 2.3 incomplete | - | Complete or mark blocked |

### Warnings
| # | Dimension | Issue | File | Recommendation |
|---|-----------|-------|------|----------------|
| 1 | Correctness | Scenario X not tested | test_foo.py | Add test case |

### Suggestions
- [Pattern deviation details with file reference]

### Assessment
[CRITICAL: N issues | WARNINGS: N | Ready for archive: Yes/No]

Graceful Degradation

Available ArtifactsChecks Performed
tasks.md onlyCompleteness (checkboxes) only
tasks.md + design.mdCompleteness + Correctness
All threeAll three dimensions

Always note which checks were skipped and why.

Verification Heuristics

  • Completeness: Focus on objective items (checkboxes, requirement lists)
  • Correctness: Use keyword search + file path analysis; don't require certainty
  • Coherence: Look for glaring inconsistencies, don't nitpick style
  • False positives: Prefer SUGGESTION over WARNING, WARNING over CRITICAL when uncertain
  • Actionability: Every issue must have a specific recommendation with file references

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.