Test Driven Development
Drives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.
- Type
- Skill
- Author
- addyosmani
- Category
- Testing
- GitHub stars
- 110.9K
- Installs
- 62.6K
- Last updated
- November 1, 2026
Install
npx skills add https://github.com/addyosmani/agent-skills --skill test-driven-developmentUse cases
- Write tests first when adding new logic to an existing service.
- Reproduce a reported bug in a failing test before changing code.
- Prove a behavior change works before modifying existing functionality.
Frequently Asked Questions
When should I use Test Driven Development?
When implementing logic, fixing a bug, or changing behavior, and before modifying existing functionality.
Does it apply when a bug report arrives?
Yes, it is meant for that moment, so the fix is proven by a test.
Is this a one-off testing task?
No, it is framed as a general development practice rather than a single testing step.
About this skill
Drives development with tests — writing them first when implementing logic, fixing bugs, or changing behavior. It applies whenever code needs to be proven to work, when a bug report arrives, or before modifying existing functionality. It is a general development practice rather than a one-off testing task.
Summary written with AI assistance from the project's public description.
Categories
More from addyosmani
Code Review And Quality
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when yo...
by addyosmani
Security And Hardening
Hardens code against vulnerabilities. Use when handling user input, authentication, data storage, or external integrations. Use when building any f...
by addyosmani
Frontend Ui Engineering
Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implem...
by addyosmani
Performance Optimization
Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect perfo...
by addyosmani
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh