Back to skills directory

Test-Driven Development

Hot

测试驱动开发(TDD)工作流技能,遵循红-绿-重构循环,先写失败测试再实现功能,保障代码质量与可维护性。

Test-Driven Development is an Agent skill for Development. 测试驱动开发(TDD)工作流技能,遵循红-绿-重构循环,先写失败测试再实现功能,保障代码质量与可维护性。 Tags: 测试 · testing · TDD · 测试驱动 · 单元测试 · unit-test.

Development280.0k installsAuthor: obraVisit

What is Test-Driven Development

Test-Driven Development packages a Development workflow for agents. 测试驱动开发(TDD)工作流技能,遵循红-绿-重构循环,先写失败测试再实现功能,保障代码质量与可维护性。

Install Test-Driven Development in Cursor / Claude / Codex

Claude Code Install with the command on this page, or place the skill in ~/.claude/skills or project .claude/skills so Claude can detect Test-Driven Development.

Cursor After the install command writes the skill directory, invoke Test-Driven Development by name in the Cursor agent.

Codex Install into the Codex skills directory and call it by name. If only a generic command is listed, run it locally and confirm Codex can see the skill.

One-click Install

Run the following command in your terminal to install the skill into your AI agent:

npx skillsadd obra/superpowers

How to Use

Claude Code: Place the skill in ~/.claude/skills (personal) or the project .claude/skills directory, and Claude will auto-detect it.

Cursor / Windsurf: After installing via npx skillsadd, the skill directory is placed in the configured path.

Codex CLI: After installation it loads automatically from the skills directory and is invoked by name.

Tags

测试testingTDD测试驱动单元测试unit-test

Similar recommendations

FAQ

What is Test-Driven Development for?

Test-Driven Development is a Development skill. 测试驱动开发(TDD)工作流技能,遵循红-绿-重构循环,先写失败测试再实现功能,保障代码质量与可维护性。

Can Claude, Cursor, and Codex all use Test-Driven Development?

Yes if the client supports Agent Skills and has loaded the skill directory. Check the project home for compatibility notes.

What similar skills exist?

Related items come from the same Development group so you can pick a closer workflow.