sickn33 avatar

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-code

Installs 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
1cexll avatartest-casescexll/myclaudetest cases1Kskills.sh installs
2sickn33 avatartdd-workflowsickn33/antigravity-awesome-skillstdd workflow913skills.sh installs
3affaan-m avatarreact-testingaffaan-m/everything-claude-codereact testing910skills.sh installs
4sickn33 avatartesting-patternssickn33/antigravity-awesome-skillstesting patterns908skills.sh installs
5new-silvermoon avatarandroid-testingnew-silvermoon/awesome-android-agent-skillsComprehensive testing strategy involving Unit, Integration, Hilt, and Screenshot tests.869skills.sh installs
6ruvnet avatarbrowser-testruvnet/rufloUI test recipe -- composes browser-record (capture) + browser-replay (verify) so every test produces a replayable RVF artifact, not an ephemeral run756skills.sh installs