Test Driven Development Claude Skill By Jesse Vincent
The Test Driven Development Claude skill is part of the obra/superpowers repo on GitHub. Use when implementing any feature or bugfix, before writing implementation code.
See all 15 Superpowers skills by Jesse Vincent in obra/superpowers.
What It Does
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. Write code before the test? Write one minimal test showing what should happen.
This quote comes from the skill's SKILL.md.
When To Use It
- Thinking "skip TDD just this once"?
Install
git clone --depth 1 https://github.com/obra/superpowers.git /tmp/superpowers mkdir -p ~/.claude/skills/ cp -r /tmp/superpowers/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 (9.4 KB)
- writing-good-tests.md (8.1 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/obra/superpowers 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/obra/superpowers/tree/main/skills/test-driven-development. It is part of the obra/superpowers repo.
Related Skills
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...
Product Research
Use when planning and synthesizing product/user research as a method-and-repository discipline - selecting the right method for the goal (generative interv...
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...
More by Jesse Vincent: receiving-code-review, subagent-driven-development, using-git-worktrees