/beads-superpowers:verification-before-completionfrom beads-superpowers
Enforces running verification commands before claiming completion, fixing, or passing status. Gates claims on fresh evidence from tests, linters, or builds.
Ships in beads-superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Core principle: Evidence before claims, always.
Violating the letter of this rule is violating the spirit of this rule.
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
If you haven't run the verification command in this message, you cannot claim it passes.
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. ONLY THEN: Make the claim
6. CLOSE: If this verification gates a bead closure, run `bd close <id> --reason "description with evidence from step 4"`
Skip any step = lying, not verifying
When a skill files a bead for discovered/follow-up work (not planned work), stamp it so a human can triage risk at a glance.
[spec] ONLY if speculative. Confirmed beads keep clean titles.Severity: Critical | Important | Minor
Confidence: Confirmed | Speculative
Evidence: <file:line / failing test / repro> (or: none)
Confidence: Confirmed; no evidence → Confidence: Speculative. Applies at all severities. Never blocks filing (surface-and-mark — Production-Grade Doctrine).parser.ts:142 — returns null on empty input (fails t_parse_empty)parser.ts — looks wrongCritical/Important bead filed without evidence MUST add one line: Why this severity w/o evidence: <reason>.-p) stays human-owned — do not infer priority from severity.Confidence: Confirmed is a falsifiable triage hint that lowers verification cost, not proof. The convention is forward-only — pre-existing beads stay unstamped.| Claim | Requires | Not Sufficient |
|---|---|---|
| Tests pass | Test command output: 0 failures | Previous run, "should pass" |
| Linter clean | Linter output: 0 errors | Partial check, extrapolation |
| Build succeeds | Build command: exit 0 | Linter passing, logs look good |
| Bug fixed | Test original symptom: passes | Code changed, assumed fixed |
| Regression test works | Red-green cycle verified | Test passes once |
| Agent completed | VCS diff shows changes | Agent reports "success" |
| Requirements met | Line-by-line checklist | Tests passing |
| No security regression | SAST/audit tool if one exists (semgrep, bandit, npm/pip audit) → 0 new findings, AND diff review: no control weakened/removed/bypassed, no new sink. No tool? Use the "If Verification Cannot Run" path: record the manual diff-review as evidence, note no SAST available. | Tests pass (tests rarely cover security) |
When no verification command exists (no test suite, CI down, external dependency unavailable):
bd note <id> "verification blocked: <reason>"bd create "Set up verification for <feature>" -t task and bd dep add <current-task> <new-task>| Excuse | Reality |
|---|---|
| "Should work now" | RUN the verification |
| "I'm confident" | Confidence ≠ evidence |
| "Just this once" | No exceptions |
| "Linter passed" | Linter ≠ compiler |
| "Agent said success" | Verify independently |
| "I'm tired" | Exhaustion ≠ excuse |
| "Partial check is enough" | Partial proves nothing |
| "It's good enough to ship" | Production system, real users — no shortcut, no dropped requirement, no accepted security regression |
| "Different words so rule doesn't apply" | Spirit over letter |
Tests:
✅ [Run test command] [See: 34/34 pass] "All tests pass"
❌ "Should pass now" / "Looks correct"
Regression tests (TDD Red-Green):
✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
❌ "I've written a regression test" (without red-green verification)
Build:
✅ [Run build] [See: exit 0] "Build passes"
❌ "Linter passed" (linter doesn't check compilation)
Requirements:
✅ Re-read plan → Create checklist → Verify each → Report gaps or completion
❌ "Tests pass, phase complete"
Agent delegation:
✅ Agent reports success → Check VCS diff → Verify changes → Report actual state
❌ Trust agent report
ALWAYS before:
Rule applies to:
bd close without fresh verification evidence is lying. Before closing any bead:
bd note <id> "test output: 14 passed, 0 failed"--reason flagbd closeUse bd note to attach detailed evidence (test output, diff stats, verification logs) to the bead before closing. The --reason flag is the summary; bd note is the full evidence trail.
A bead closed without evidence is worse than a bead left open — it corrupts the ledger.
Capture what you learned. At close, record durable, evidence-backed insights (still true next month, tied to a file, test, or command). Never record guesses, one-offs, or secrets (tokens, keys, PII — every memory is injected into all future sessions). Update in place (bd remember --key <key>) rather than adding a near-duplicate.
bd remember "<kind>: <durable, evidence-backed insight>" # kind: lesson / pattern / design / root-cause / research
Invoked by: Any task claiming completion — mandatory before bd close, commits, or PRs.
Pairs with:
What SKILL.md sets; muted values are Claude Code's defaults
21 skills in this plugin
/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies/document-releaseUse when implementation on a branch is complete and it is about to be merged or PR'd — or when finishing-a-development-branch reaches its docs-audit gate — and after code changes are committed, to ensure all project documentation accurately reflects shipped code. Covers README, ARCHITECTURE, CONTRIBUTING, CHANGELOG, CLAUDE.md, TODOS, and VERSION files. Triggers on "update docs", "sync documentation", "post-ship docs", "document release", "documentation audit".npx claudepluginhub dollardill/beads-superpowers --plugin beads-superpowersOther plugins' skills for the same job