From superpowers
Use when starting implementation of a goal, before declaring work complete, or when checking if quality gates have been met - manages acceptance criteria and enforces completion requirements
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers:contract-gateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Track what "done" means for every goal. No work is complete without evidence
Track what "done" means for every goal. No work is complete without evidence that every acceptance criterion has been met, reviewed, and verified.
NEVER declare a goal complete without: 1. ALL acceptance criteria status = "met" with evidence 2. At least one code review with verdict APPROVE 3. At least one QA check with verdict APPROVE This is enforced by validate_contract.py - you cannot bypass it.After superpowers:brainstorming produces a spec, extract acceptance criteria:
# Create a new contract (reads JSON from stdin)
echo '{"user_goal":"...","acceptance_criteria":[{"id":"AC-1","text":"...","status":"unmet","evidence":[]}],"required_evidence":["test output","review verdict","qa verdict"]}' | python "${CLAUDE_PLUGIN_ROOT}/hooks/lib/validate_contract.py" "${CLAUDE_PROJECT_DIR}" <goal_id> --create
draft -> active (plan confirmed)
active -> review (implementation + self-check done)
active -> failed (unrecoverable -> trigger superpowers:failure-retro)
review -> done (reviewer APPROVE + QA APPROVE + all criteria met)
review -> active (REQUEST_CHANGES received -> fix and re-review)
failed -> active (retry after remediation)
python "${CLAUDE_PLUGIN_ROOT}/hooks/lib/validate_contract.py" "${CLAUDE_PROJECT_DIR}" <goal_id> --check
| Superpowers Step | Contract Action |
|---|---|
brainstorming completes with spec | Create contract (draft) with extracted ACs |
writing-plans completes | Transition draft -> active |
codex-plan-review completes | Contract stays active while the plan is finalized before implementation |
subagent-driven-development or executing-plans | Contract stays active |
requesting-code-review -> APPROVE | Review artifact recorded |
verification-before-completion passes | QA artifact recorded |
finishing-a-development-branch | Attempt active -> review -> done |
npx claudepluginhub sikwon0704-cmyk/superpowers --plugin superpowersProvides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.