Extended verification including tests AND spec compliance - runs tests, validates spec compliance, checks for drift, blocks completion on failures
View on GitHubsdd/skills/verification-before-completion/SKILL.md
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/rhuss/cc-superpowers-sdd/blob/main/sdd/skills/verification-before-completion/SKILL.md -a claude-code --skill verification-before-completionInstallation paths:
.claude/skills/verification-before-completion/# Verification Before Completion (Spec-Aware) ## Overview Claiming work is complete without verification is dishonesty, not efficiency. **Core principle:** Evidence before claims, always. Verify implementation is complete by running tests AND validating spec compliance. **Key Additions from Standard Verification:** - Step 1: Run tests (existing behavior) - **Step 2: Validate spec compliance** (new) - **Step 3: Check for spec drift** (new) - Blocks completion if EITHER tests OR spec compliance fails ## The Iron Law ``` NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE ``` If you haven't run the verification command in this message, you cannot claim it passes. ## The Gate Function ``` BEFORE claiming any status or expressing satisfaction: 1. IDENTIFY: What command proves this claim? 2. RUN: Execute the FULL command (fresh, complete) 3. READ: Full output, check exit code, count failures 4. VERIFY: Does output confirm the claim? - If NO: State actual status with evidence - If YES: State claim WITH evidence 5. CHECK SPEC: Does implementation match spec? - If NO: State actual compliance with evidence - If YES: State compliance score WITH evidence 6. ONLY THEN: Make the claim Skip any step = lying, not verifying ``` ## When to Use - After implementation and code review - Before claiming work is complete - Before committing/merging/deploying - As final gate in `sdd:implement` workflow ## The Process ### 1. Run Tests **Execute all tests:** ```bash # Run full test suite npm test # or pytest, go test, etc. ``` **Check results:** - All tests passing? - No flaky tests? - Coverage adequate? **If tests fail:** - STOP: Fix tests before proceeding - Do not skip this step - Do not claim completion ### 2. Validate Spec Compliance **Load spec:** ```bash cat specs/features/[feature-name].md ``` **Check each requirement:** ```markdown Functional Requirement 1: [From spec] IMPLEMENTED / MISSING TESTED / UNTESTED MATCHES SPEC / DEVIATION Fu