From zenbu-powers
TDD 執行協調 playbook(Red→Green→Refactor 循環 / Issue 拆分 / CI 與本地雙模式),供 tdd-coordinator agent 執行 TDD 流程協調時載入。預設使用純 sub-agent 鏈式委派;Agent Teams 與 worktree 為 opt-in 進階模式(見 references/team-and-worktree.md)。
npx claudepluginhub zenbuapps/zenbu-powers --plugin zenbu-powersThis skill uses the workspace's default tool permissions.
這份 Skill 定義 **tdd-coordinator** 在接到 planner 計劃後的完整執行流程。
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Guides code writing, review, and refactoring with Karpathy-inspired rules to avoid overcomplication, ensure simplicity, surgical changes, and verifiable success criteria.
Share bugs, ideas, or general feedback.
這份 Skill 定義 tdd-coordinator 在接到 planner 計劃後的完整執行流程。
核心原則:
⚠️ 驗證鐵律:在這個訊息中沒跑過驗證命令,就不能說「已通過」。 「應該過了」「跑過了」「上次跑是綠的」「Agent 回報成功」都不算證據。 違反字面意思 = 違反精神。詳見 verification-gate.md。
| 步驟 | 階段 | 動作 | 詳見 |
|---|---|---|---|
| 1 | 準備 | 確認工作環境(CI / 本地) | ci-local-dual-mode.md |
| 2 | Red | 分派 @zenbu-powers:test-creator 產生測試骨架 | red-green-refactor-cycle.md |
| 3 | Red Gate | 驗證測試存在且全部失敗 | red-green-refactor-cycle.md |
| 4 | Green | 主窗口逐一 spawn *-master 實作(每位完成後 spawn 下一位) | red-green-refactor-cycle.md |
| 5 | Green Gate | 驗證測試全部通過 | red-green-refactor-cycle.md |
| 6 | Refactor | 分派 Reviewer 審查 | red-green-refactor-cycle.md |
| 7 | 收尾 | 文件同步、回報 | ci-local-dual-mode.md |
red-green-refactor-cycle.md Red / Green / Refactor 三階段的詳細執行規則、Gate 驗證條件、重試策略、失敗處理表。
issue-splitting.md Issue 拆分準則(8 條)、Sub-Issue Body 範本、代理團隊路由規則。
ci-local-dual-mode.md CI(GitHub Actions)與本地環境的差異處理(分支、worktree、PR、收尾)。
verification-gate.md Evidence over claims 鐵律的完整規則、證據格式、常見藉口對照表。每個 Gate 通過前必讀。
enable_by_default: true)