test-driven-development

在实现任何功能或修复 bug 时使用,在编写实现代码之前

by jnMetaCode 7.7k GitHub stars MIT Updated Aug 18, 2026
test-driven-development skill by jnMetaCode
test-driven-development — Testing skill by jnMetaCode

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

jnMetaCode 21 skills in the catalog · GitHub profile ↗
View skills

Topics

Alternatives to test-driven-development

Similar skills from other repositories:

Compare test-driven-development alternatives side by side →

Need a skill like this, tailored to your team?Build a custom skill →

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.

Use when designing an A/B or split test: define the hypothesis, control and variants, estimate sample size, verify tracking, and predeclare metrics and stopping rules.

↑ GrowingActive Claude CodeCodexCursor+2
47k GitHub stars MIT Updated Sep 21, 2026 Free

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program.

↑ GrowingActive Claude CodeCodexCursor+2
47k GitHub stars MIT Updated Sep 21, 2026 Free

Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

Claude CodeCodexCursor+3
38k GitHub stars MIT Updated Jul 22, 2026 Free

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

↑ Growing Claude CodeCodexCursor+3
39k GitHub stars MIT Updated Aug 24, 2026 Free

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

↑ Growing Claude CodeCodexCursor+3
39k GitHub stars MIT Updated Aug 24, 2026 Free