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.
/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…
下载与安装
更新内容: 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,直接问它能做什么。
评价
相关技能
Systematic Debugging
obra/superpowers
Stop guessing at fixes. A 4-phase root-cause discipline (reproduce → isolate → hypothesize → verify) that forces your coding agent to find the real cause before touching code. The most-copied debugging skill in the Agent Skills ecosystem.
Claude Code · Codex · Cursor · Copilot +1
Code Review & Quality
addyosmani/agent-skills
Multi-axis code review with severity gates (Critical/High/Medium/Low) across correctness, readability, architecture, security, and performance. By Addy Osmani (Google Chrome). Nothing merges without a verdict.
Claude Code · Codex · Cursor · Copilot
Tidy — AI Code Review
mblode/agent-skills
A diff/PR reviewer built specifically for agent-written code. Catches AI-slop patterns that line-by-line reviews miss, tiers findings as confirmed vs plausible, and can apply the fixes itself. The differentiator in your review stack.
Claude Code · Codex · Cursor
Git Workflow & Versioning
addyosmani/agent-skills
Branch strategy, commit discipline, PR hygiene, and release versioning for agent-driven development. Keeps AI-generated changes manageable, reviewable, and reversible at high speed.
Claude Code · Codex · Cursor · Copilot +1