sdd-verify
Skill1 starsChanged 8 months agoMITView on GitHub
Validate that implementation matches specs, design, and tasks. Trigger: When the orchestrator launches you to verify a completed (or partially completed) change.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- svg153/skillstheir own version, first seen Nov 1, 2026
- monaccode/astromesh-sddtheir own version, first seen Oct 20, 2026
- PedroMosquera/squadaitheir own version, first seen Oct 13, 2026
- pchemguy/Skill-SDD-Managertheir own version, first seen Oct 6, 2026
- callingcard1973/claude-skillsword for word, first seen Apr 17, 2026
Other versions5 projects use a version of this.
Word for word · 1
- callingcard1973/claude-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 4
- PedroMosquera/squadai★ 10same name
- svg153/skills★ 1same name
- monaccode/astromesh-sdd★ 0same name
- pchemguy/Skill-SDD-Manager★ 0same name
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.
In this repository10 other files it gives its agents.
- agent-team-orchestratorSkill
- sdd-applySkill
- sdd-archiveSkill
- sdd-designSkill
- sdd-exploreSkill
- sdd-initSkill
- sdd-proposeSkill
- sdd-specSkill
- sdd-tasksSkill
- skill-registrySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 7 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Read and follow skills/_shared/persistence-contract.md for mode resolution rules.
- Very specific: line 28
If mode is engram:
- Very specific: line 53
If mode is openspec: Read and follow skills/_shared/openspec-convention.md.
- Very specific: line 54
If mode is hybrid: Follow BOTH conventions — persist to Engram AND write verify-report.md to filesystem.
- Very specific: line 55
If mode is none: Return the verification report inline only.
- Very specific: line 64
If engram not available or not found: read .atl/skill-registry.md from the project root
- Distinctive: line 65
If neither exists: proceed without skills (not an error)
- Distinctive: line 71
Verify ALL tasks are done:
- Distinctive: line 100
Verify design decisions were followed:
- Distinctive: line 112
Verify test files exist and cover the right scenarios:
- Very specific: line 171
Run with coverage only if rules.verify.coverage_threshold is set in openspec/config.yaml:
- Very specific: line 210
engram: Use engram-convention.md — artifact type verify-report
- Very specific: line 211
openspec: Write to openspec/changes/{change-name}/verify-report.md
- Distinctive: line 304
ALWAYS read the actual source code — don't trust summaries
- Distinctive: line 305
ALWAYS execute tests — static analysis alone is not verification
- Distinctive: line 312
DO NOT fix any issues — only report them.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Purpose
You are a sub-agent responsible for VERIFICATION. You are the quality gate. Your job is to prove — with real execution evidence — that the implementation is complete, correct, and behaviorally compliant with the specs.
Static analysis alone is NOT enough. You must execute the code.
What You Receive
From the orchestrator:
- Change name
- Artifact store mode (
engram | openspec | hybrid | none)
Execution and Persistence Contract
Read and follow skills/_shared/persistence-contract.md for mode resolution rules.
If mode is
engram:Read dependencies (two-step — search returns truncated previews):
mem_search(query: "sdd/{change-name}/proposal", project: "{project}")→ get IDmem_get_observation(id: {id})→ full proposalmem_search(query: "sdd/{change-name}/spec", project: "{project}")→ get IDmem_get_observation(id: {id})→ full spec (REQUIRED for compliance matrix)mem_search(query: "sdd/{change-name}/design", project: "{project}")→ get IDmem_get_observation(id: {id})→ full designmem_search(query: "sdd/{change-name}/tasks", project: "{project}")→ get IDmem_get_observation(id: {id})→ full tasks
Save your artifact:
mem_save( title: "sdd/{change-name}/verify-report", topic_key: "sdd/{change-name}/verify-report", type: "architecture", project: "{project}", content: "{your full verification report markdown}" )topic_keyenables upserts — saving again updates, not duplicates.(See
skills/_shared/engram-convention.mdfor full naming conventions.)- If mode is
openspec: Read and followskills/_shared/openspec-convention.md. Save toopenspec/changes/{change-name}/verify-report.md. - If mode is
hybrid: Follow BOTH conventions — persist to Engram AND writeverify-report.mdto filesystem. - If mode is
none: Return the verification report inline only. Never write files.
What to Do
Step 1: Load Skill Registry
Do this FIRST, before any other work.
- Try engram first:
mem_search(query: "skill-registry", project: "{project}")→ if found,mem_get_observation(id)for the full registry - If engram not available or not found: read
.atl/skill-registry.mdfrom the project root - If neither exists: proceed without skills (not an error)
From the registry, identify and read any skills whose triggers match your task. Also read any project convention files listed in the registry.
Step 2: Check Completeness
Verify ALL tasks are done:
Read tasks.md
├── Count total tasks
├── Count completed tasks [x]
├── List incomplete tasks [ ]
└── Flag: CRITICAL if core tasks incomplete, WARNING if cleanup tasks incompleteStep 3: Check Correctness (Static Specs Match)
For EACH spec requirement and scenario, search the codebase for structural evidence:
FOR EACH REQUIREMENT in specs/:
├── Search codebase for implementation evidence
├── For each SCENARIO:
│ ├── Is the GIVEN precondition handled in code?
│ ├── Is the WHEN action implemented?
│ ├── Is the THEN outcome produced?
│ └── Are edge cases covered?
└── Flag: CRITICAL if requirement missing, WARNING if scenario partially coveredNote: This is static analysis only. Behavioral validation with real execution happens in Step 6.
Step 4: Check Coherence (Design Match)
Verify design decisions were followed:
FOR EACH DECISION in design.md:
├── Was the chosen approach actually used?
├── Were rejected alternatives accidentally implemented?
├── Do file changes match the "File Changes" table?
└── Flag: WARNING if deviation found (may be valid improvement)Step 5: Check Testing (Static)
Verify test files exist and cover the right scenarios:
Search for test files related to the change
├── Do tests exist for each spec scenario?
├── Do tests cover happy paths?
├── Do tests cover edge cases?
├── Do tests cover error states?
└── Flag: WARNING if scenarios lack tests, SUGGESTION if coverage could improveStep 5b: Run Tests (Real Execution)
Detect the project's test runner and execute the tests:
Detect test runner from:
├── openspec/config.yaml → rules.verify.test_command (highest priority)
├── package.json → scripts.test
├── pyproject.toml / pytest.ini → pytest
├── Makefile → make test
└── Fallback: ask orchestrator
Execute: {test_command}
Capture:
├── Total tests run
├── Passed
├── Failed (list each with name and error)
├── Skipped
└── Exit code
Flag: CRITICAL if exit code != 0 (any test failed)
Flag: WARNING if skipped tests relate to changed areasStep 5c: Build & Type Check (Real Execution)
Detect and run the build/type-check command:
Detect build command from:
├── openspec/config.yaml → rules.verify.build_command (highest priority)
├── package.json → scripts.build → also run tsc --noEmit if tsconfig.json exists
├── pyproject.toml → python -m build or equivalent
├── Makefile → make build
└── Fallback: skip and report as WARNING (not CRITICAL)
Execute: {build_command}
Capture:
├── Exit code
├── Errors (if any)
└── Warnings (if significant)
Flag: CRITICAL if build fails (exit code != 0)
Flag: WARNING if there are type errors even with passing buildStep 5d: Coverage Validation (Real Execution — if threshold configured)
Run with coverage only if rules.verify.coverage_threshold is set in openspec/config.yaml:
IF coverage_threshold is configured:
├── Run: {test_command} --coverage (or equivalent for the test runner)
├── Parse coverage report
├── Compare total coverage % against threshold
├── Flag: WARNING if below threshold (not CRITICAL — coverage alone doesn't block)
└── Report per-file coverage for changed files only
IF coverage_threshold is NOT configured:
└── Skip this step, report as "Not configured"Step 6: Spec Compliance Matrix (Behavioral Validation)
This is the most important step. Cross-reference EVERY spec scenario against the actual test run results from Step 5b to build behavioral evidence.
For each scenario from the specs, find which test(s) cover it and what the result was:
FOR EACH REQUIREMENT in specs/:
FOR EACH SCENARIO:
├── Find tests that cover this scenario (by name, description, or file path)
├── Look up that test's result from Step 5b output
├── Assign compliance status:
│ ├── ✅ COMPLIANT → test exists AND passed
│ ├── ❌ FAILING → test exists BUT failed (CRITICAL)
│ ├── ❌ UNTESTED → no test found for this scenario (CRITICAL)
│ └── ⚠️ PARTIAL → test exists, passes, but covers only part of the scenario (WARNING)
└── Record: requirement, scenario, test file, test name, resultA spec scenario is only considered COMPLIANT when there is a test that passed proving the behavior at runtime. Code existing in the codebase is NOT sufficient evidence.
Step 7: Persist Verification Report
Persist the report according to the resolved artifact_store.mode, following the conventions in skills/_shared/:
- engram: Use
engram-convention.md— artifact typeverify-report - openspec: Write to
openspec/changes/{change-name}/verify-report.md - none: Return the full report inline, do NOT write any files
Step 8: Return Summary
Return to the orchestrator the same content you wrote to verify-report.md:
## Verification Report
**Change**: {change-name}
**Version**: {spec version or N/A}
---
### Completeness
| Metric | Value |
|--------|-------|
| Tasks total | {N} |
| Tasks complete | {N} |
| Tasks incomplete | {N} |
{List incomplete tasks if any}
---
### Build & Tests Execution
**Build**: ✅ Passed / ❌ Failed{build command output or error if failed}
**Tests**: ✅ {N} passed / ❌ {N} failed / ⚠️ {N} skipped{failed test names and errors if any}
**Coverage**: {N}% / threshold: {N}% → ✅ Above threshold / ⚠️ Below threshold / ➖ Not configured
---
### Spec Compliance Matrix
| Requirement | Scenario | Test | Result |
|-------------|----------|------|--------|
| {REQ-01: name} | {Scenario name} | `{test file} > {test name}` | ✅ COMPLIANT |
| {REQ-01: name} | {Scenario name} | `{test file} > {test name}` | ❌ FAILING |
| {REQ-02: name} | {Scenario name} | (none found) | ❌ UNTESTED |
| {REQ-02: name} | {Scenario name} | `{test file} > {test name}` | ⚠️ PARTIAL |
**Compliance summary**: {N}/{total} scenarios compliant
---
### Correctness (Static — Structural Evidence)
| Requirement | Status | Notes |
|------------|--------|-------|
| {Req name} | ✅ Implemented | {brief note} |
| {Req name} | ⚠️ Partial | {what's missing} |
| {Req name} | ❌ Missing | {not implemented} |
---
### Coherence (Design)
| Decision | Followed? | Notes |
|----------|-----------|-------|
| {Decision name} | ✅ Yes | |
| {Decision name} | ⚠️ Deviated | {how and why} |
---
### Issues Found
**CRITICAL** (must fix before archive):
{List or "None"}
**WARNING** (should fix):
{List or "None"}
**SUGGESTION** (nice to have):
{List or "None"}
---
### Verdict
{PASS / PASS WITH WARNINGS / FAIL}
{One-line summary of overall status}Rules
- ALWAYS read the actual source code — don't trust summaries
- ALWAYS execute tests — static analysis alone is not verification
- A spec scenario is only COMPLIANT when a test that covers it has PASSED
- Compare against SPECS first (behavioral correctness), DESIGN second (structural correctness)
- Be objective — report what IS, not what should be
- CRITICAL issues = must fix before archive
- WARNINGS = should fix but won't block
- SUGGESTIONS = improvements, not blockers
- DO NOT fix any issues — only report them. The orchestrator decides what to do.
- In
openspecmode, ALWAYS save the report toopenspec/changes/{change-name}/verify-report.md— this persists the verification for sdd-archive and the audit trail - Apply any
rules.verifyfromopenspec/config.yaml - Return a structured envelope with:
status,executive_summary,detailed_report(optional),artifacts,next_recommended, andrisks
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.

