RED-GREEN-REFACTOR cycle — write a failing test first, implement the minimum code to pass, then refactor. No production code without a failing test.
Test Driven Development
Use when implementing any feature or bugfix, before writing implementation code
Test Driven Development by paperclipai · 882df6c
npx skillmds@latest add paperclipai/test-driven-development File contents
---name: test-driven-developmentdescription: Use when implementing any feature or bugfix, before writing implementation code---RED-GREEN-REFACTOR cycle — write a failing test first, implement the minimum code to pass, then refactor. No production code without a failing test.
paperclipai/companies/tree/main/superpowers/skills/test-driven-development commit 882df6cde9
Frequently asked questions
Run npx skillmds@latest add paperclipai/test-driven-development in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Use when implementing any feature or bugfix, before writing implementation code It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
paperclipai (@paperclipai) published this skill. Their other Agent Skills are listed on their SkillMD profile.