Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jorgeferrando/sdd-skills/llms.txt
Use this file to discover all available pages before exploring further.
/sdd-verify is the final quality gate before a pull request is created. It runs the full test suite, checks linting on changed files, works through a structured self-review checklist, and confirms that the implementation matches the spec. It runs as a non-interactive subagent — it gathers results and produces a final report without asking questions during execution. Use /sdd-verify after all tasks in tasks.md are marked [x].
Usage
Prerequisites
/sdd-applycompleted — all tasks intasks.mdmarked[x]
What it does
Run the full test suite
Reads All tests must pass before proceeding. If no test command is configured and no test runner is detected, this step is skipped and noted in the final report as
openspec/steering/tech.md for the configured test command. Runs all tests:Tests: SKIPPED (no test runner configured).Quality checks
Reads Any issues found are fixed, re-run, and committed atomically as part of this verify step. If no linter is configured, noted in the report as
openspec/steering/tech.md for configured linters and formatters. Runs them on the changed files:Quality: SKIPPED (no linter configured). No new tools are installed during verify.Self-review checklist
Reviews the changed code against eight categories:1. Tests exist for new code
- New functions/methods have tests
- Edge cases are covered
- Error paths are tested
- Required fields checked
- Types/formats validated at system boundaries
- No raw user input passed to internal logic unvalidated
- No method exceeds 50 lines
- Nesting depth below 3 levels
- One responsibility per method
- Magic numbers extracted to constants
- Status/type strings use enums or constants
- No environment-specific values in source code
- Similar logic extracted to shared methods
- Consistent patterns with the existing codebase
- All method parameters typed
- All return types declared
- Nullable types explicit
- Results checked before use
- Optional parameters handled
- Exceptions raised for unexpected nulls
- All spec cases covered
- Input/output contracts match
- Business rules implemented
- Error messages match spec
Smoke test (UI/TUI projects)
If the project has a UI, runs it manually and verifies the changed behavior end-to-end. If a bug is found during smoke test, it is documented as
BUGxx in tasks.md before fixing, then committed atomically. Smoke test runs again until it passes.Convention audit
If
openspec/steering/conventions.md exists, runs sdd-audit on the changed files as an additional quality gate. Includes the audit result in the final report. Critical violations (MUST / MUST NOT rules) are fixed before proceeding.Produce the final report
Outputs the verify report to the conversation:If any check fails, the report lists the specific issues to address. Rerun
/sdd-verify after fixing them.Skill metadata
| Property | Value |
|---|---|
model_hint | sonnet |
requires | openspec/changes/{change}/tasks.md |
produces | VERIFY REPORT (no new OpenSpec artifacts) |
Next steps
With a clean VERIFY REPORT and the PR created, run/sdd-archive to close the change cycle, merge the delta specs into the canonical specs, and move the change to the archive.