·test-driven-development
</>

test-driven-development

Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.

11Installs·0Trend·@addyosmani

Installation

$npx skills add https://github.com/addyosmani/agent-skills --skill test-driven-development

How to Install test-driven-development

Quickly install test-driven-development AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/addyosmani/agent-skills --skill test-driven-development
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: addyosmani/agent-skills.

SKILL.md

View raw

Write a failing test before writing the code that makes it pass. For bug fixes, reproduce the bug with a test before attempting a fix. Tests are proof — "seems right" is not done. A codebase with good tests is an AI agent's superpower; a codebase without tests is a liability.

When NOT to use: Pure configuration changes, documentation updates, or static content changes that have no behavioral impact.

Write the test first. It must fail. A test that passes immediately proves nothing.

Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality. Source: addyosmani/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/addyosmani/agent-skills --skill test-driven-development
Category
</>Dev Tools
Verified
First Seen
2026-02-24
Updated
2026-03-10

Browse more skills from addyosmani/agent-skills

Quick answers

What is test-driven-development?

Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality. Source: addyosmani/agent-skills.

How do I install test-driven-development?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/addyosmani/agent-skills --skill test-driven-development Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/addyosmani/agent-skills