cafe3310/tdd-dev-cycle
测试驱动开发 (TDD) 主干工作循环,包含分析、测试编写、开发、验证及带熔断的修复机制。
npx skills add https://github.com/cafe3310/public-agent-skills --skill tdd-dev-cycle
本 Skill 定义了标准的 TDD 开发与验证循环。
如果项目章程没有定义具体的工作流,助手默认遵循以下 TDD 主干工作循环。
priority: high 的任务。docs/backlog/ 移动到 docs/requirements/ 并更新状态为 开发中,然后开始分析。git commit -m "完成需求 {文件名} 的分析与测试用例,即将开发"git commit -m "完成需求 {文件名} 的开发,即将验证"git commit -m "需求 {文件名} 的开发和验证已经全部完成!"git commit -m "验证需求 {文件名} 时遇到问题 {问题描述} (第 N 次尝试),即将修复"git commit -m "验证需求 {文件名} ,成功解决了问题 {问题描述} (第 N 次尝试)"循环直至所有 backlog 任务完成、用户打断、指令变更或达到熔断条件。
Take cafe3310/tdd-dev-cycle from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.