Giverny

Test Driven Development

Drives development with tests using the red-green-refactor loop.

by Addy Osmani★ 121,543Testing & browsers

What Test Driven Development 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, the request does not mention tests and the answer looks obvious from reading it. The skill writes the failing test first and changes the function second, never the change alone.

How to install Test Driven Development in Claude Code

Giverny gives you a ready prompt with the exact install command from addyosmani/agent-skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone addyosmani/agent-skills and copy the skills/test-driven-development folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Test Driven Development on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the test-driven-development skill on my current project.”

More Claude skills for testing & browsers