test-driven-development
✓Enforce Test-Driven Development (TDD) as the default workflow for code changes. Use this skill for feature implementation, bug fixes, refactoring, and any changes requiring correctness verification. Guides agents through Red-Green-Refactor cycles with proper test-first discipline. Triggers on requests like "implement feature," "fix bug," "refactor code," or any task mentioning tests, correctness, or behavior verification.
Installation
SKILL.md
This skill enforces TDD as the baseline practice for nearly all code changes. TDD is a programming workflow where tests are written before implementation code, ensuring that every change is verified, intentional, and produces clean, maintainable code.
"Clean code that works" — Ron Jeffries, summarizing TDD's goal
TDD is not about testing. It's about design, confidence, and sustainable pace. The tests guide you toward better interfaces, simpler implementations, and code that's ready for the next change.
Enforce Test-Driven Development (TDD) as the default workflow for code changes. Use this skill for feature implementation, bug fixes, refactoring, and any changes requiring correctness verification. Guides agents through Red-Green-Refactor cycles with proper test-first discipline. Triggers on requests like "implement feature," "fix bug," "refactor code," or any task mentioning tests, correctness, or behavior verification. Source: straub/agent-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/straub/agent-skills --skill test-driven-development- Source
- straub/agent-skills
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-03
- Updated
- 2026-02-18
Quick answers
What is test-driven-development?
Enforce Test-Driven Development (TDD) as the default workflow for code changes. Use this skill for feature implementation, bug fixes, refactoring, and any changes requiring correctness verification. Guides agents through Red-Green-Refactor cycles with proper test-first discipline. Triggers on requests like "implement feature," "fix bug," "refactor code," or any task mentioning tests, correctness, or behavior verification. Source: straub/agent-skills.
How do I install test-driven-development?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/straub/agent-skills --skill test-driven-development Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/straub/agent-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-03