name: speckit-superb-verify description: "Mandatory completion gate. Bridges an installed obra/superpowers verification-before-completion skill and extends it with spec-kit's spec-coverage checklist. No task may be marked done without fresh evidence.
" compatibility: Requires spec-kit project structure with .specify/ directory metadata: author: github-spec-kit source: superb:commands/verify.md
Verification Before Completion — After Implementation
Type: Superpowers-adapted command Skill origin: obra/superpowers
verification-before-completionInvocation: Mandatory post-hook forspeckit.implement. Cannot be skipped.
Step 1 — Resolve Installed Skill
Any user context provided:
$ARGUMENTS
Look for verification-before-completion/SKILL.md in this exact order:
./.agents/skills/verification-before-completion/SKILL.md~/.agents/skills/verification-before-completion/SKILL.md
If the workspace and global copies both exist, use the workspace copy.
If no readable file is found, STOP:
ERROR: Required superpowers skill `verification-before-completion` not found.
Run /speckit.superb.check for diagnostics.
Report the source you resolved before continuing:
Using installed skill: verification-before-completion
Source: [workspace|global]
Path: [resolved path]
Step 2 — Resolve Active Feature Spec
Resolve the active feature spec path using the same Spec Kit prerequisite script pattern used by follow-up commands:
- Prefer
FEATURE_SPECwhen present - Otherwise use
FEATURE_DIR/spec.md
Do not derive the path from the branch name manually. If the active feature spec cannot be resolved, STOP and report the failure.
Step 3 — Execute the Verification Skill
Apply the resolved installed skill against the current implementation state:
- Run the project's full test suite (not a subset) and paste the output.
- Run any applicable build / lint / type-check commands and paste the output.
- Follow the skill's evidence requirements exactly — "should pass" or "I'm confident" are never acceptable substitutes for fresh output.
Step 4 — Spec-Kit Extension: Spec-Coverage Checklist
After the verification skill's checks pass, perform this additional spec-kit gate:
- Re-read
spec.mdin full. - For each requirement or user story, verify the implementation satisfies the acceptance criteria and map it to a passing test:
## Spec Verification Checklist
- [x] R01: [requirement] — verified by [test file]::[test name]
- [x] R02: [requirement] — verified by [test file]::[test name]
- [ ] R03: [requirement] — NOT VERIFIED ([reason])
- If any
spec.mdrequirement is unchecked:
⚠ INCOMPLETE: [N] spec requirements are not verified.
Cannot declare implementation complete.
Unmet requirements: [list them]
Do not proceed past this point if any requirement is uncovered.
Step 5 — Status Synchronization
Only after all verification checks pass, synchronize the feature spec status to:
.specify/scripts/bash/sync-spec-status.sh --status "Verified"
Status sync rules:
- Use the script output as the source of truth for resolved spec path and resulting status
- If verification fails, leave the previous status unchanged
- Do not overwrite
Abandoned - Do not introduce
Completedhere
Step 6 — Completion Report
When all checks pass, output:
## Implementation Complete — Verification Evidence
**Test suite:** [N] tests, [N] passing, 0 failing
**Spec coverage:** [N/N] requirements verified (see checklist above)
**Build:** [PASS / N/A]
**Lint:** [PASS / N/A]
All spec requirements are met. Implementation is verified complete.
Suggested next steps:
- Run `speckit.superb.critique` for code review against spec
- Or proceed to PR creation
If anything is unverified:
## Implementation Status — INCOMPLETE
**Test suite:** [status]
**Spec coverage:** [N/M] requirements verified, [M-N] unverified
**Unverified requirements:** [list]
Implementation cannot be declared complete until all items above are resolved.