Skip to content
AI Tool and Skill
Low risk

Test-Driven Development (Addy Osmani)

Addy Osmani's version of test-driven development: prove behaviour with a failing test, make it pass, then improve the code.

By Addy Osmani · Works with Claude Code, Codex, Cursor, Gemini CLI

This skill drives changes through the red-green-refactor loop, with an emphasis on proving that code works before trusting it.

It is a separate skill from the Superpowers version with the same name; pick whichever style suits you.

Safety check

Low risk
Runs scripts or commandsNo
Uses the internetNo
Starts other programsNo
Creates or changes filesNo
Mentions API keys or secretsNo
  • Instructions only: no script files

Automated check, not a guarantee. Read the files before installing. Checked 1 Dec 2026 · 2 files scanned · scanner v1.0.0 · How we check

What it does

  • Writes a test that fails first
  • Implements the smallest passing change
  • Refactors safely with tests in place

Good for

  • Bug fixes with a reproducible test
  • Changing existing behaviour safely

Not for

  • Throwaway experiments

How to install Test-Driven Development (Addy Osmani)

Read the safety check above first. Commands are typed into your AI tool or terminal; menus and paths can change, so check your tool's documentation if a step doesn't match.

Download Test-Driven Development (Addy Osmani)

ZIP, 11 KB, 2 files. The exact files we safety-checked, unchanged, with the MIT licence and a credit to Addy Osmani.

Download ZIP
Claude Code

Paste one line into your terminal. It installs the skill for all your projects:

Mac or Linux

Command
curl -fsSL https://aitoolandskill.com/downloads/skills/test-driven-development-addyosmani.zip -o /tmp/test-driven-development-addyosmani.zip && mkdir -p ~/.claude/skills && unzip -oq /tmp/test-driven-development-addyosmani.zip -d ~/.claude/skills

Windows (PowerShell)

Command
iwr https://aitoolandskill.com/downloads/skills/test-driven-development-addyosmani.zip -OutFile $env:TEMP\test-driven-development-addyosmani.zip; Expand-Archive $env:TEMP\test-driven-development-addyosmani.zip "$HOME\.claude\skills" -Force

Or unzip the download yourself into ~/.claude/skills/ (all projects) or .claude/skills/ inside one project. Restart Claude Code afterwards.

OpenAI Codex

Mac or Linux

Command
curl -fsSL https://aitoolandskill.com/downloads/skills/test-driven-development-addyosmani.zip -o /tmp/test-driven-development-addyosmani.zip && mkdir -p ~/.codex/skills && unzip -oq /tmp/test-driven-development-addyosmani.zip -d ~/.codex/skills

Windows (PowerShell)

Command
iwr https://aitoolandskill.com/downloads/skills/test-driven-development-addyosmani.zip -OutFile $env:TEMP\test-driven-development-addyosmani.zip; Expand-Archive $env:TEMP\test-driven-development-addyosmani.zip "$HOME\.codex\skills" -Force
Cursor

Run inside your project folder:

Mac or Linux

Command
curl -fsSL https://aitoolandskill.com/downloads/skills/test-driven-development-addyosmani.zip -o /tmp/test-driven-development-addyosmani.zip && mkdir -p .cursor/skills && unzip -oq /tmp/test-driven-development-addyosmani.zip -d .cursor/skills

Windows (PowerShell)

Command
iwr https://aitoolandskill.com/downloads/skills/test-driven-development-addyosmani.zip -OutFile $env:TEMP\test-driven-development-addyosmani.zip; Expand-Archive $env:TEMP\test-driven-development-addyosmani.zip ".cursor\skills" -Force
Gemini CLI, GitHub Copilot and other agents

Download the ZIP and unzip it into your agent's skills folder. Each agent documents where that folder is.

New to skills? Read how to install an AI agent skill.

FAQ

Is Test-Driven Development (Addy Osmani) free?

Yes. Test-Driven Development (Addy Osmani) is made by Addy Osmani and shared under the MIT licence, so it's free to use, and you can download it from this page. You still need an AI app that supports skills, and that app may have its own pricing.

Which AI apps can use Test-Driven Development (Addy Osmani)?

It is designed for Claude Code, Codex, Cursor, Gemini CLI. Any agent that supports the SKILL.md format can usually load it too.

Is Test-Driven Development (Addy Osmani) safe to install?

Our automated check rated it "Low risk" on 1 Dec 2026. Instructions only: no script files. This is not a guarantee, so look through the files before installing.

Related skills

  • Audits web pages for WCAG 2.2 AA accessibility problems and helps fix them, including contrast, keyboard use and screen readers.

    Claude CodeCodexCursor

    by Addy Osmani122k

  • Reviews code from several angles, such as correctness, readability, security and performance, before it is merged.

    Claude CodeCodexCursor

    by Addy Osmani122k

  • A systematic process for finding why a build broke, a test failed or code stopped working, and fixing the real cause.

    Claude CodeCodexCursor

    by Addy Osmani122k

  • Records technical decisions as ADRs and keeps documentation in step with the code, flagging docs that have gone stale.

    Claude CodeCodexCursor

    by Addy Osmani122k