Test Driven Development
Test-first workflow that guides feature and bug-fix work through failing tests, minimal code, and refactoring.
- CCM score
- 62 of 100
- skills.sh installs
- 1.5K
- GitHub stars
- 50.5K
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers the red-green-refactor cycle, including verifying that each new test fails for the expected reason before implementation
- Includes a bug-fix example, a verification checklist, and guidance for when stuck, such as simplifying interfaces or replacing excess mocks
- Enforces preserving existing work and reporting honestly whether a test preceded its fix, rather than rewriting history
- Designed for behavior changes with a repeatable test, and points to focused validation for copy, generated output, or configuration
Install
$ npx -y skills add sickn33/agentic-awesome-skills --skill test-driven-development -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/sickn33/agentic-awesome-skills
- Categories
- Testing & QA, Agent Workflow & Planning
- First seen
- May 16, 2026
More from sickn33/agentic-awesome-skills
All 682- Prompt Engineering1.4K
- Context Compression1.4K
- Architecture1.4K
- Api Patterns1.4K
- Code Review Checklist1.4K
- Cc Skill Frontend Patterns1.4K
- Multi Agent Brainstorming1.4K
- Audio Transcriber1.4K
- Superpowers Lab1.4K
- Radix Ui Design System1.4K
- Typescript Advanced Types1.3K
- Frontend Developer1.3K
- Ai Engineer1.3K
- Vulnerability Scanner1.3K
- Python Patterns1.3K
- Langgraph1.3K
- Architect Review1.3K
- Lint And Validate1.3K
- Production Code Audit1.3K
- Autonomous Agents1.3K
- Blockchain Developer1.3K
- Code Refactoring Refactor Clean1.3K
- React Patterns1.2K
- Agent Memory Mcp1.2K
Similar to Test Driven Development
More Testing & QAtdd-workflowSkillsickn33/agentic-awesome-skills1.1K installsTest-first development guide covering the RED-GREEN-REFACTOR cycle, minimal-code rules, and test prioritization.
tdd-workflows-tdd-greenSkillsickn33/agentic-awesome-skills263 installsMinimal-implementation guidance for the TDD green phase that makes failing tests pass without refactoring or redesign.
tddSkillcursor/plugins4.5K installsTest-first bug fixing that writes a focused regression test to fail before the fix and pass after.
tdd-workflowsPluginwshobson/agents42.9K starsTest-driven development methodology with red-green-refactor cycles and code review
tdd-guideSkillalirezarezvani/claude-skills1.1K installsTest-first development skill that generates tests, mocks, and coverage analysis across Jest, Pytest, JUnit, Vitest, and Mocha.