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