Skip to content

Skill · Build

test-driven-development

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

Adapted and maintained by

Install this skill

Installs only test-driven-development, globally, as a copy

DISABLE_TELEMETRY=1 npx skills add KunanonJ/superstacks -g -s test-driven-development --copy -y

Third-party installer; DISABLE_TELEMETRY=1 turns its telemetry off.

How it runs

Runs automatically.

The agent loads it when a task matches the description above. You can also ask for it by name.

SKILL.md

View on GitHub
---
name: test-driven-development
description: Use when implementing any feature or bugfix, before writing implementation code
license: MIT
---

# 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.**