tdd
Drives code changes with tests written first, using the Red-Green-Refactor cycle. Derives test cases from sourced behavior and existing authorization, then repeats one failing test, minimal code, and a refactoring review until the list is done, and checks that the tests would catch realistic mistakes. Also guides which kinds of tests to write, how to derive test cases, and how to write reliable tests. Use when implementing a feature, fixing a bug, changing behavior, or deriving behavior-focused test cases.
- Version
- 1.0
Pinned to revision bbf29218b8b1, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/tdd/SKILL.md
- skills/tdd/agents/openai.yaml
- skills/tdd/references/test-design-techniques.md
- skills/tdd/references/test-levels.md
- skills/tdd/references/test-list-format.md
- skills/tdd/references/writing-good-tests.md
Every link opens the file at its source, pinned to the revision this page describes.