Skill / SKILL.md

Test Driven Development

addyosmani/agent-skills

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.
4 views 120,780 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/addyosmani/agent-skills' skill-source

Use the complete skill-source/skills/test-driven-development directory with your client’s skill installer.

  • skills/test-driven-development

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/test-driven-development

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
0dbdc77bc08a5b1dc701472e7e09be6984216a5f7854a25539a2d903145a67cb
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills