contract-writing
Installation
SKILL.md
Contract Writing
Write a testable contract BEFORE writing any code. The contract defines what "done" means in terms that an independent evaluator can verify without knowing your intent or reasoning.
If you have already started coding before writing a contract, STOP. Write the contract now. Retroactive contracts are better than no contracts.
When This Skill Activates
- Standalone mode (Superpowers not detected): at the start of every Standard or Large coding task
- Complementary mode (Superpowers detected): SKIP this skill. Superpowers' brainstorming/writing-plans produces the spec. The independent-qa skill will read from
docs/superpowers/specs/instead.
Contract Format
Write the contract to .harnessed/contract.md using the format defined in skills/contract-writing/contract-format.md. The format includes: # Contract: {title}, ## Task, ## Acceptance Criteria (with Functional/Edge Cases/Regression subsections), ## Verification Commands, and ## Out of Scope.