Test Driven Development Claude Skill By Addy Osmani
The Test Driven Development Claude skill sits in a repo last updated on 2026-10-13. Drives development with tests using the red-green-refactor loop.
See all 25 skills by Addy Osmani in addyosmani/agent-skills.
What It Does
Drives development with tests using the red-green-refactor loop. Write a failing test before writing the code that makes it pass. For bug fixes, reproduce the bug with a test before attempting a fix. A codebase with good tests is an AI agent's superpower; a codebase without tests is a liability. The TDD cycle is universal; the commands are not.
This quote comes from the skill's SKILL.md.
When To Use It
- Implementing any new logic or behavior
- Fixing any bug (the Prove-It Pattern)
- Modifying existing functionality
- Adding edge case handling
- Any change that could break existing behavior
Install
git clone --depth 1 https://github.com/addyosmani/agent-skills.git /tmp/agent-skills mkdir -p ~/.claude/skills/ cp -r /tmp/agent-skills/skills/test-driven-development ~/.claude/skills/test-driven-development
The command copies the skill from the author's repo. SkillTrove does not host it.
Are you new to skills? Read How to Use Claude Skills: Install in Claude Code, claude.ai and Codex or browse the Claude Code skills.
Files
- SKILL.md (16 KB)
We last checked this skill against its source on 2026-10-13.
Questions
How Do I Install This Skill?
Copy the skills/test-driven-development folder from https://github.com/addyosmani/agent-skills into your agent's skills folder. For Claude Code that folder is ~/.claude/skills/test-driven-development. The install block on this page has the full commands for each agent.
What License Does This Skill Use?
The license listed for this skill is MIT. Read the license in the source repo before you reuse it.
Where Is The Source For This Skill?
The source is on GitHub at https://github.com/addyosmani/agent-skills/tree/main/skills/test-driven-development. It is part of the addyosmani/agent-skills repo.
Related Skills
Constraint-Driven Development
Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane...
Skill Creator By Anthropic
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize a...
Webapp Testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing...
Supabase Postgres Best Practices
Postgres best practices maintained by Supabase, for Postgres running anywhere.
Channel Economics
Use when reviewing or rebalancing direct vs. partner-led channel economics - computing fully-loaded cost-to-serve per channel, channel ROI with cash / LTV ...
Hivemind
Orchestrate free opencode workers from Claude Code to cut token costs. Use when delegating grunt work to a single worker or a parallel swarm (scout/coder/tes...
More by Addy Osmani: incremental-implementation, interview-me