以規格優先的紀律交付功能
何時使用: PM 提出模糊的功能需求;你希望做對,而非做快。
步驟
-
規劃Use pilot-shell. Plan the feature 'export usage CSV per workspace per month'. List unknowns + risks.✓ 已複製→ 含明確未知點的計畫;你在進入下一步前填補空白
-
撰寫規格From the plan, write a spec with acceptance criteria + non-goals + edge cases.✓ 已複製→ 規格已儲存至 /specs/<feature>.md
-
實作Implement against the spec. Tests first, then code. Stop at any unmet criterion.✓ 已複製→ 測試 + 實作;未通過的測試在實作完成前可見
-
驗證閘門Run all gates: lint, type, tests, docs. Block PR if any red.✓ 已複製→ 閘門報告;只有全綠才是合併候選
結果: 功能完整交付——有測試和文件。
注意事項
- 規格階段拖延成規劃馬拉松 — 規格階段限時 30 分鐘;交付能鎖定驗收標準的最小規格即可
搭配使用: filesystem