Overview
test-driven-development is an open-source testing skill for Claude Code and compatible agents, published by jnMetaCode. Its author describes it as: “在实现任何功能或修复 bug 时使用,在编写实现代码之前”. The project has 7.7k stars on GitHub and is available under the MIT license. Add it to your setup with `/plugin marketplace add jnMetaCode/superpowers-zh`.
What test-driven-development does
先写测试。看它失败。写最少的代码让它通过。
Best for
What’s inside
The SKILL.md for test-driven-development is organised into these sections:
- 概述
- 何时使用
- 铁律
- 红-绿-重构
- 红灯 - 编写失败的测试
- 验证红灯 - 看它失败
- 绿灯 - 最少代码
- 验证绿灯 - 看它通过
- 重构 - 清理代码
- 重复
- 好的测试
- 常见借口
Installation
Add test-driven-development to your agent with:
/plugin marketplace add jnMetaCode/superpowers-zh Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — ships a claude code plugin marketplace
- Cursor — declared in the repository topics
- Gemini CLI — declared in the repository topics
License
test-driven-development is published under the MIT license.
Strengths
- Clear MIT license — safe to read and adapt within its terms
- Ships in jnMetaCode/superpowers-zh, an established project with 7,721 GitHub stars
- Works with Claude Code, Cursor, Gemini CLI
- Actively maintained — repository updated in the last 90 days
Things to check
- Sparse description in metadata — read the repository for full details
Author
Topics
Alternatives to test-driven-development
Similar skills from other repositories:
Compare test-driven-development alternatives side by side →
Frequently asked questions
- What does test-driven-development do?
- 在实现任何功能或修复 bug 时使用,在编写实现代码之前
- How do I install test-driven-development?
- Run /plugin marketplace add jnMetaCode/superpowers-zh in your agent, then reload your skills. Review the source at https://github.com/jnMetaCode/superpowers-zh before installing.
- Is test-driven-development free to use?
- Yes. test-driven-development is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Which agents does test-driven-development work with?
- test-driven-development lists Claude Code, Cursor, and Gemini CLI — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does test-driven-development come from?
- test-driven-development ships inside jnMetaCode/superpowers-zh, a repository that contains 21 catalogued skills in total. The repository's 7,721 GitHub stars apply to that whole collection, not to this skill on its own.