tdd-enforce
✓通过预提交挂钩和 CI 覆盖门配置 TDD 实施。在设置测试优先的开发工作流程、添加覆盖范围或实施 TDD 实践时使用。
SKILL.md
Configure Test-Driven Development enforcement through pre-commit hooks, CI coverage gates, and automated test execution. Ensures code cannot be committed or merged without adequate test coverage.
| TDD Methodology | Kent Beck (2002) | "Test-Driven Development by Example" | | 80% Coverage | Google Testing Blog (2010) | Code Coverage Goal | | Pre-commit Hooks | Industry Best Practice | Husky, pre-commit | | CI Gates | ISTQB CT-TAS | Test Automation Strategy |
| "Set up TDD enforcement" | Configure pre-commit + CI gates | | "Add coverage gates" | Configure CI coverage thresholds | | "Block commits without tests" | Set up pre-commit test hooks | | "Enforce test-first development" | Full TDD setup | | "Run tests on commit" | Configure pre-commit test execution |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/jmagly/ai-writing-guide --skill tdd-enforce- 分类
- >_效率工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 tdd-enforce?
通过预提交挂钩和 CI 覆盖门配置 TDD 实施。在设置测试优先的开发工作流程、添加覆盖范围或实施 TDD 实践时使用。 来源:jmagly/ai-writing-guide。
如何安装 tdd-enforce?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jmagly/ai-writing-guide --skill tdd-enforce 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/jmagly/ai-writing-guide
详情
- 分类
- >_效率工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01