---
name: tdd-skill
slug: tdd-skill
score: 50
rubric: 1.0
provenance: community
publisher: obra
license: MIT
capability: read-write
canonical: https://top-agent-skills.com/skill/tdd-skill
---

# tdd-skill

TDD with red/green/refactor as a concrete TypeScript walkthrough.

## Install

### Claude Code

```bash
npx skills add obra/superpowers --skill tdd
```

### Cursor

```bash
npx skills add obra/superpowers --skill tdd-skill --target cursor
```

### Codex CLI

```bash
codex skills add obra/superpowers/skills/tdd-skill
```

## Best for

New features with clear requirements, bug fixes, complex business logic.

## Not ideal for

UI layout changes, simple CRUD, exploratory code.

## About

Walks Claude through the Red-Green-Refactor cycle with concrete TypeScript examples.

## Compatibility

claude-code, cursor, codex

## Metadata

- Categories: testing-qa, code-quality-review
- Tags: TDD, TypeScript
- Setup time: 2 min
- Complexity: Low
- Last update: 2026-04-19
- Verified: 2026-04-29
- Source: https://github.com/obra/superpowers


---

_Indexed by Top Agent Skills. Score breakdown: https://top-agent-skills.com/about/methodology_
