
Test Driven Development
This skill enforces strict TDD discipline: write a failing test, watch it fail, write minimal code to pass, then refactor. It's uncompromising about order. If you wrote code before the test, you delete it and start over, no exceptions. The guidance is direct about common rationalizations like "I'll test after" or "keep it as reference" and systematically refutes them. Use this when you want to follow red-green-refactor religiously, not when you want flexibility about testing approaches. The tone is deliberately forceful because TDD's value comes from the discipline, not loose adherence. If you're the type who skips tests "just this once," this will push back hard.
- skills.sh installs
- 1.1K
- GitHub stars
- 43.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill test-driven-development --agent claude-codeInstalls into .claude/skills of the current project.
Files
Test-Driven Development (TDD)
Overview
Write the test first. Watch it fail. Write minimal code to pass.
Core principle: If you didn't watch the test fail, you don't know if it tests the right thing.
Violating the letter of the rules is violating the spirit of the rules.
When to Use
Use for behavior changes where a repeatable test can demonstrate the requirement or reproduce the bug. Inspect the repository’s test runner and existing coverage first. For copy, generated outputs or low-impact configuration, use the appropriate focused validation rather than manufacturing a unit test.
Preserve existing work
Write the failing regression before the repair when feasible, and verify that it fails for the expected reason. If implementation already exists, preserve it and add characterization/regression tests. Do not delete user work, reset a branch or rewrite working code to reconstruct an ideal test-first history. State honestly whether the test preceded the fix.
Red-Green-Refactor
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Category
- Testing & QA
- First seen
- May 16, 2026
More from sickn33/antigravity-awesome-skills
All 708- Typescript Advanced Types1.1K
- Inngest1K
- Langgraph1K
- Unreal Engine Cpp Pro1K
- Vulnerability Scanner1K
- Radix Ui Design System993
- Security Auditor985
- Code Refactoring Refactor Clean982
- Autonomous Agents977
- React Patterns970
- Lint And Validate968
- File Organizer967
- Architect Review965
- Frontend Developer964
- Blockchain Developer956
- Seo Fundamentals956
- App Builder953
- Geo Fundamentals949
- Ai Engineer948
- Production Code Audit937
- Pptx Official928
- Daily News Report921
- Doc Coauthoring921
- Content Creator914