Skillsby SefarAI
Back to catalog

Test-Driven Development

Drive implementation with a failing test, minimal code, and deliberate refactoring.

Install with skills CLI

npx skills add obra/superpowers --skill test-driven-development

Choose your target agent when the installer prompts. Installation target does not mean this listing has tested every agent.

Included in a Skill Stack

Production React Web

Build: Connects expected behavior to tests before implementation expands.

What it is for

A disciplined red-green-refactor workflow for feature work and bug fixes, keeping behavior and implementation tightly connected.

Useful when

Implement a feature
Fix a regression
Clarify expected behavior

Expected outcomes

  • A behavior-defining test
  • A minimal passing implementation
  • A safer refactor loop

Requirements

  • A runnable test framework
  • A behavior that can be specified

Related skills