Skip to content
appsgit

Test Driven Development

Test Driven Development is an agent skill (a SKILL.md file) from addyosmani/agent-skills. Drives development with tests using the red-green-refactor loop. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 110,586 GitHub stars across a repository of 13 listed skills.

github.com/addyosmani/agent-skills/skills/test-driven-development (opens in a new tab)

Data as of from the GitHub API and skills.sh; description from the skill's SKILL.md. Report an error

Add this skill

Claude

This repository is a Claude Code plugin marketplace. In Claude Code:

/plugin marketplace add addyosmani/agent-skills
/plugin install agent-skills@addy-agent-skills

In the Claude apps, zip the test-driven-development folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

ChatGPT / Codex

Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:

git clone --depth 1 https://github.com/addyosmani/agent-skills.git
cp -r agent-skills/skills/test-driven-development .agents/skills/test-driven-development   # repo; ~/.agents/skills for all projects

Standalone skills also load in the ChatGPT desktop app.

Cursor

Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:

git clone --depth 1 https://github.com/addyosmani/agent-skills.git
cp -r agent-skills/skills/test-driven-development .cursor/skills/test-driven-development   # project; ~/.cursor/skills for all projects

Source (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), code.claude.com/docs/en/plugin-marketplaces (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)

What this skill does

Drives development with tests using the red-green-refactor loop. 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. Use when asked to add tests to a function, fix a bug in it or change its behavior, even when the code is pasted inline and the request does not mention tests. Write a failing test before writing the code that makes it pass.

When it triggers

  • 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.
  • Use when asked to add tests to a function, fix a bug in it or change its behavior, even when the code is pasted inline and the request does not mention tests.

More skills in addyosmani/agent-skills

13 skills are listed from this repository.

Similar skills

More testing & qa skills

All Testing & QA

FAQ

Test Driven Development FAQ

Still curious? Email info@appsgit.com.

How do I install the Test Driven Development skill?

In Claude Code, run /plugin marketplace add addyosmani/agent-skills and then /plugin install agent-skills@addy-agent-skills. For Codex or Cursor, copy the test-driven-development folder into .agents/skills/ or .cursor/skills/.

Is the Test Driven Development skill free?

Yes. The repository is open source under the MIT license.

Is Test Driven Development maintained?

The repository's most recent commit was on Oct 13, 2026. Its latest release is 0.6.13. appsgit only lists skills from repositories with a commit in the last six months.