← 返回全部 skills
Premium独家精选v1.0.0$9

Test-Driven Development

obra/superpowers

在 GitHub 查看

RED-GREEN-REFACTOR with iron laws: write the test first, watch it fail, then write the minimal code to pass. Turns your agent into a disciplined TDD practitioner that never ships untested code.

适用平台Claude CodeCodexCursorCopilotGemini CLI
试试这样说

/test-driven-development Add cursor-based pagination to the orders API

你能得到

  • The RED-GREEN-REFACTOR loop with iron laws your agent must not skip
  • A guide to writing tests that actually catch regressions
  • A rationalization-rejection table ("I'll test it later" is not a plan)

适合场景

  • New features and bugfixes in any codebase
  • Projects where untested code keeps regressing

不适合

  • Throwaway spikes and prototypes
  • Debugging existing failures (use systematic-debugging)
仓库
obra/superpowers
Stars
0
分类
编程开发
包含 skills
1

独家内容

托管在 SkillStack 站内——购买后可查看完整 markdown。

--- name: test-driven-development description: Use when implementing any feature or bugfix, before writing implementation code ---

Test-Driven Development (TDD)

Overview

Write the test first. Watch it fail. Write minimal code to pass.

Core principle: If you didn't watch the t…

解锁完整内容

单次购买永久拥有,或订阅解锁全部内容。

Premium 订阅用户免费包含此内容。

下载与安装

v1.0.0更新于 2026/10/1 · 8.8 KB · 4 个文件 · 0 次下载

更新内容: Initial SkillStack curated release: original MIT-licensed content repackaged as an install-ready ZIP with attribution.

登录后下载

登录用户免费下载。

1. 下载 ZIP

点击上方按钮下载打包好的 skill,内含 SKILL.md 及全部配套文件。

2. 解压到 agent 的 skills 目录

解压后确保 SKILL.md 直接位于以 skill 命名的文件夹内:

unzip test-driven-development-v1.0.0.zip -d ~/.claude/skills/test-driven-development/
各 Agent 的 skills 目录
Claude Code
~/.claude/skills
Cursor
~/.cursor/skills
Codex
~/.codex/skills
GitHub Copilot
~/.copilot/skills

3. 重启你的 agent

下次启动时 agent 会自动识别新 skill,直接问它能做什么。

评价

还没有评价,来做第一个打分的人吧。

相关技能