test-driven-development
Installation
SKILL.md
Test-Driven Development (TDD)
Write failing tests before implementation, make them pass minimally, then refactor.
When to Use This Skill
- Implementing new features with test-first methodology
- Adding tests to increase coverage (starting with highest-impact gaps)
- Refactoring with a test safety net
- Writing E2E tests that define expected UX before building
- Practicing TDD in a new language or framework
When NOT to Use This Skill
- Choosing or setting up test frameworks → use
testing-framework - Finding and fixing bugs → use
debugging - Reviewing existing code or PRs → use
code-review - Writing tests after code already exists → test-after, not TDD; use coverage analysis instead