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 commands | No |
|---|---|
| Uses the internet | No |
| Starts other programs | No |
| Creates or changes files | No |
| Mentions API keys or secrets | No |
- 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.
Claude Code
Paste one line into your terminal. It installs the skill for all your projects:
Mac or Linux
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/skillsWindows (PowerShell)
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" -ForceOr unzip the download yourself into ~/.claude/skills/ (all projects) or .claude/skills/ inside one project. Restart Claude Code afterwards.
OpenAI Codex
Mac or Linux
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/skillsWindows (PowerShell)
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" -ForceCursor
Run inside your project folder:
Mac or Linux
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/skillsWindows (PowerShell)
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" -ForceGemini 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.