Skip to main content
ClaudeWave
Skill62 estrellas del repoactualizado 1mo ago

test-driven-development

Red-green-refactor discipline. Use when writing new functionality.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/ArchieIndian/openclaw-superpowers /tmp/test-driven-development && cp -r /tmp/test-driven-development/skills/core/test-driven-development ~/.claude/skills/test-driven-development
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Test-Driven Development

## The Cycle

### Red
Write a test that describes the behavior you want. Run it. It should fail.

### Green
Write the minimum code to make the test pass.

### Refactor
Make the code good. Tests must still pass.

## Test Quality

A good test:
- Tests behavior, not implementation
- Has one clear assertion
- Has a descriptive name
- Is independent
- Is fast