| name | tdd |
| description | Red-green-refactor loop using vertical slices and behavior-focused tests through public interfaces. |
TDD (HAM Local)
Rules
- Test behavior through public interfaces, not implementation details.
- Use vertical slices (one failing test -> minimal fix -> pass), not horizontal batching.
- Refactor only after green.
- Keep scope focused; avoid speculative additions.
Process
- Confirm target interface and highest-value behaviors.
- Write one failing test.
- Implement minimal code to pass.
- Repeat for next behavior.
- Refactor safely with tests green.
Read docs/agents/ham-safety.md first and preserve its release/validation constraints.
Attribution
Adapted from mattpocock/skills, skills/engineering/tdd/SKILL.md (MIT License).