SKILL·5B7C77

Test-Driven Development (TDD)

obra
Updated 2 months ago
41 views
726
163
726
View on GitHub
Testingaitesting

About

This skill enforces strict Test-Driven Development by requiring developers to write failing tests before any implementation code. It applies to all features, bug fixes, and refactoring, with the core principle that you must witness test failure to validate correctness. The "Iron Law" mandates deleting any production code written without a failing test first.

Quick Install

Claude Code

Recommended
Primary
npx skills add obra/superpowers-skills -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/obra/superpowers-skills
Git CloneAlternative
git clone https://github.com/obra/superpowers-skills.git ~/.claude/skills/Test-Driven Development (TDD)

Copy and paste this command in Claude Code to install this skill

GitHub Repository

obra/superpowers-skills
Path: skills/testing/test-driven-development
0
FAQ

Frequently asked questions

What is the Test-Driven Development (TDD) skill?

Test-Driven Development (TDD) is a Claude Skill by obra. Skills package instructions and resources that Claude loads on demand, so Claude can perform Test-Driven Development (TDD)-related tasks without extra prompting.

How do I install Test-Driven Development (TDD)?

Use the install commands on this page: add Test-Driven Development (TDD) to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does Test-Driven Development (TDD) belong to?

Test-Driven Development (TDD) is in the Testing category, tagged ai and testing.

Is Test-Driven Development (TDD) free to use?

Yes. Test-Driven Development (TDD) is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

Related Skills

evaluating-llms-harness
Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill
cloudflare-cron-triggers
Testing

This skill provides comprehensive knowledge for implementing Cloudflare Cron Triggers to schedule Workers using cron expressions. It covers setting up periodic tasks, maintenance jobs, and automated workflows while handling common issues like invalid cron expressions and timezone problems. Developers can use it for configuring scheduled handlers, testing cron triggers, and integrating with Workflows and Green Compute.

View skill
webapp-testing
Testing

This Claude Skill provides a Playwright-based toolkit for testing local web applications through Python scripts. It enables frontend verification, UI debugging, screenshot capture, and log viewing while managing server lifecycles. Use it for browser automation tasks but run scripts directly rather than reading their source code to avoid context pollution.

View skill
finishing-a-development-branch
Testing

This skill helps developers complete finished work by verifying tests pass and then presenting structured integration options. It guides the workflow for merging, creating PRs, or cleaning up branches after implementation is done. Use it when your code is ready and tested to systematically finalize the development process.

View skill