Giverny

Test Driven Development

You MUST use this before writing or changing any production code, including one-line fixes and when the user is in a hurry: a new feature, a bug fix, a refactor, a behavior…

by davila7★ 34,480Testing & browsers

What Test Driven Development does

You MUST use this before writing or changing any production code, including one-line fixes and when the user is in a hurry: a new feature, a bug fix, a refactor, a behavior change. Write the failing test first, run it and watch it fail for the right reason, write the minimal code that passes, then run the whole test suite before saying it is done. Skip it only for throwaway prototypes, generated code or configuration-only changes, and only with the user's OK.

How to install Test Driven Development in Claude Code

Giverny gives you a ready prompt with the exact install command from davila7/claude-code-templates. 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 davila7/claude-code-templates and copy the cli-tool/components/skills/development/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