ClaudeSuperPower

test-driven-development

Skill

Use when implementing any feature or bugfix, before writing implementation code

Install

git clone https://github.com/obra/superpowers.git ~/.claude/skills/test-driven-development

What is test-driven-development?

Use when implementing any feature or bugfix, before writing implementation code

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Inherit all session tools

Declares no tool restrictions — inherits every session tool

~20 tokens of context used while enabled, before you invoke anything

Documentation

README · ~6 min read

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

Always:

  • New features
  • Bug fixes
  • Refactoring

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.