test-driven-development
@obra/test-driven-development
4.8 优秀
安全 来自 Skill123 test-driven-development 强制红-绿-重构:没有先失败的测试就不写生产代码。使用 npx skills add obra/superpowers --skill test-driven-development 安装。
最后验证: 2026-06-22 · obra / Superpowers
概述
test-driven-development
Write a failing test before any feature or bugfix implementation.
适用场景
- → 实现新功能
- → 修 bug
- → 重构行为
兼容平台
Cursor Claude Code Codex CLI Open Agents
资源文件
skill-name/
├── SKILL.md
└── references/SKILL.md
源码
https://github.com/obra/superpowers/skills/test-driven-developmentLicense: MIT
相关技能
create-skill精选
Cursor · 开发
create-skill 指导 Agent 如何编写符合规范的 SKILL.md、触发描述与可选脚本。可通过 npx skills add 或复制到 ~/.cursor/skills/create-skill/ 安装。
4.9Q98
create-rule精选
Cursor · 开发
create-rule 帮助编写 Cursor 规则(.mdc 文件),将规则放入 .cursor/rules/ 即可自动注入上下文。
4.8Q95
code-review精选
Vercel Labs · 开发
code-review 应用结构化审查清单,覆盖正确性、可维护性、测试与团队规范。
4.8Q95
review-bugbot精选
Cursor · 开发
review-bugbot 进行结构化代码审查,聚焦 bug、边界情况与回归。适合合并 PR 前或大型重构后使用。
4.7Q94
常见问题
如何安装 test-driven-development?
把安装提示词发给你的 AI,或运行 npx skills add https://github.com/obra/superpowers/tree/main/skills/test-driven-development。
test-driven-development 兼容哪些平台?
Cursor、Claude Code、Codex CLI、Open Agents