Skip to content
Engineering
Public upstreamJesse Vincent / SuperpowersPublic source

Superpowers test-driven development

Use a failing behavior test, the smallest implementation and refactoring to deliver a change.

Read SKILL.md

Workflow

Superpowers’ TDD skill follows a red-green-refactor cycle, explicitly checking that a new test fails for the intended reason before implementing the behavior.

Use when

  • Implement a feature or bug fix with a test-first workflow.

Required inputs

  • Behavior to implement and expected result
  • Project source and a runnable test suite

Expected outputs

  • Behavior-focused regression tests
  • Implementation with observed red and green results

Prerequisites

  • A working test runner and a testable interface for the requested behavior.
  • Keep the bundled testing guidance with SKILL.md.

Installation

Run this command in your project after reviewing the instructions and access terms. Install complete upstream directories to keep referenced rules and scripts.

npx skills add https://github.com/obra/superpowers/tree/bb92a77741419a4ab5f06e711a283343f1ada0c3/skills/test-driven-development --skill test-driven-development --agent claude-code

Project file: .claude/skills/test-driven-development/SKILL.md

Read the setup guide

Selection brief

This brief helps you choose the skill. Read the complete upstream SKILL.md and companion files for its actual instructions.

# Superpowers test-driven development (superpowers-test-driven-development)
Superpowers’ TDD skill follows a red-green-refactor cycle, explicitly checking that a new test fails for the intended reason before implementing the behavior.

## Use when
- Implement a feature or bug fix with a test-first workflow.

## Required inputs
- Behavior to implement and expected result
- Project source and a runnable test suite

## Prerequisites
- A working test runner and a testable interface for the requested behavior.
- Keep the bundled testing guidance with SKILL.md.

## Expected outputs
- Behavior-focused regression tests
- Implementation with observed red and green results

Source: https://github.com/obra/superpowers/blob/bb92a77741419a4ab5f06e711a283343f1ada0c3/skills/test-driven-development/SKILL.md
Full SKILL.md: https://agenttaste.dev/skills/superpowers-test-driven-development/SKILL.md

## Popularity evidence
- 302,164 GitHub repo stars — obra/superpowers; checked 2026-10-20. Source: https://github.com/obra/superpowers/stargazers
- 254,722 skill installs (all time) — obra/superpowers / test-driven-development · skills.sh · all time; checked 2026-10-20. Source: https://skills.sh/obra/superpowers/test-driven-development
Adoption counts are not user ratings or guarantees of quality.

Related skills

Browse all skills →
AgentTastePro

Claude Code Clean Architecture

Enforce strict separation between database, business logic, and UI in autonomous sessions.

Claude Code · Codex · Antigravity

SKILL.md
VercelPublic source

React best practices

Review React and Next.js code for rendering, data fetching and bundle performance.

Claude Code · Cursor · Codex · Antigravity

SKILL.mdSource ↗