Tdd

Enforce test-driven development (write the test first, watch it fail, then make it pass) for production code, bug fixes, and refactors. Make sure to use this skill WHENEVER writing or changing production code, fixing a bug, or refactoring — even outside a formal spec-driven workflow, and even if the user doesn't say "test". It is reusable on its own. Do NOT force it on exploratory/throwaway/analysis code where the correct output isn't known in advance (there, use data-validation, regression/snapshot, and reproducibility checks instead — this skill explains that alternative).

Jahangirhussen Updated

File contents

Jahangirhussen/awesome-claude-skills-1000/tree/main/skills/tdd commit 16eccae5cb

Frequently asked questions

npx skillmds@latest add jahangirhussen/tdd