技能 spec-workflow
🔄

spec-workflow

安全 🌐 網路存取📁 檔案系統存取⚙️ 外部命令

強制執行規範驅動開發工作流程

開發團隊在維護各功能間的一致方法論上遇到困難。此技能自動化執行 TDD 強制實施、驗收標準驗證,以及每個實作任務的範圍管理。

支援: Claude Codex Code(CC)
📊 71 充足
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「spec-workflow」。 実装して:specs/001-user-auth/001-01-login/001-01-01-basic-login.md

預期結果:

  • 已讀取 Subtask 檔案
  • AC 確認:偵測到 5 項驗收標準
  • 以下列 AC 進行實作,請確認?
  • - 使用正確的認證資訊登入成功
  • - 使用錯誤的認證資訊顯示錯誤

正在使用「spec-workflow」。 CI/CD也設定して

預期結果:

  • CI/CD 設定不在目前 Subtask 的 AC 中
  • 處理方案:1. 不在目前的 Subtask 中實作(建議)
  • 2. 定義為新的 Subtask
  • 請選擇哪一個?

安全審計

安全
v5 • 1/16/2026

This skill contains ONLY documentation and workflow guidance in Markdown format. No executable code, scripts, or network calls exist. All static findings are FALSE POSITIVES: code examples are illustrative pseudocode in Markdown fences, not shell commands; hash identifiers flagged as cryptographic algorithms are content metadata; example dialogues flagged as C2 keywords are user assistance examples; path references are legitimate documentation links. The skill is a pure prompt-based workflow enforcer.

2
已掃描檔案
550
分析行數
3
發現項
5
審計總數
審計者: claude 查看審計歷史 →

品質評分

38
架構
100
可維護性
85
內容
30
社群
100
安全
91
規範符合性

你能建構什麼

維持開發紀律

為每個功能實作一致遵循 TDD 方法論

標準化工作流程

跨團隊成員強制執行驗收標準和範圍邊界

品質閘道強制執行

確保所有實作在建立 PR 前符合 AC 需求

試試這些提示

啟動子任務
実装して/spec-workflow:讀取 specs/{epic-id}/{story-id}/{subtask-id}.md 並確認 AC。詢問使用者「是否以此 AC 繼續?」後再開始 TDD 循環。
恢復工作
透過 spec-workflow 繼續:檢查目前 Subtask 的進度。建議應該從 AC 的哪個項目繼續。
範圍檢查
spec-workflow:確認請求的功能是否包含在目前 Subtask 的 AC 中。如果超出範圍僅提供建議。
完成任務
透過 spec-workflow 完成處理:確認所有 AC 項目的達成狀態。確認所有測試通過後,建議使用 /subpr 建立 PR。

最佳實務

  • 在實作前將需求分解為清晰的驗收標準
  • 先撰寫失敗的測試,然後實作最少的程式碼使其通過
  • 完成前驗證每個驗收標準是否已滿足

避免

  • 實作驗收標準中未定義的功能
  • 跳過測試撰寫階段
  • 未經 AC 驗證即完成任務

常見問題

Which AI tools support this skill?
相容於 Claude、Codex 和 Claude Code 平台。
How does it activate?
當使用「実装して」或 create 等實作關鍵字時自動觸發。
What happens if AC is unclear?
技能會提示您在繼續之前澄清模糊的驗收標準。
Is my data secure?
僅為基於提示的技能。不會存取檔案、網路呼叫或執行程式碼。
How does it integrate with other skills?
在工作流程期間自動呼叫 /branch 建立分支及 /pr 建立pull request。
How is this different from /spec?
/spec 處理上游規格草擬。此技能處理依循這些規格的下游實作。