tdd
仓库创建 2026年7月6日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由
为想要落地 TDD 的团队提供可实践的循环与反模式规约。
这个 Skill 做什么
以红→绿→重构循环的规范化流程驱动测试优先开发并产出可保留的测试。
用红→绿→重构的循环把开发流程变成先写测试再写实现,保证每个周期都产出值得保留的测试。适合想采用测试优先、需要集成测试或在敏捷小步迭代中交付功能的场景。手册里列了好测试的标准、反模式和循环规则,按着做能明显提高测试质量和可维护性。
▸ 展开 SKILL.md 英文原文
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
0
Stars
0
Forks
38
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/K3639284/skills/main/skills/engineering/tdd/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/K3639284/skills/main/skills/engineering/tdd/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Test-Driven Development TDD is the red → green loop. This skill is the reference that makes that loop produce tests worth keeping: what a good test is, where tests go, the anti-patterns, and the rules of the loop. Every section applies on every cycle — consult them before and during the loop, not after. When exploring the codebase, read `CONTEXT.md` (if it exists) so test names and interface vocabulary match the project's domain language, and respect ADRs in the area you're touching. ## What a good test is Tests verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't. A good test reads like a specification — "user can checkout wi
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有