methodology

SKILL.md

Methodology System | 方法論系統

[!WARNING] Experimental Feature / 實驗性功能

This feature is under active development and may change significantly in v4.0. 此功能正在積極開發中,可能在 v4.0 中有重大變更。

Manage the active development methodology for the current project with two independent systems.

管理當前專案的開發方法論,支援兩個獨立系統。

Two Independent Systems / 兩個獨立系統:

  • System A: SDD - Spec-Driven Development (AI-era, spec-first)
  • System B: Double-Loop TDD - BDD (outer) + TDD (inner) (traditional)

Optional Input: ATDD - Acceptance Test-Driven Development (feeds into either system)

Actions | 動作

Action Description 說明
(none) / status Show current phase and checklist 顯示當前階段和檢查清單
switch <id> Switch to different methodology 切換到不同方法論
phase [name] Show or change current phase 顯示或變更當前階段
checklist Show current phase checklist 顯示當前階段檢查清單
skip Skip current phase (with warning) 跳過當前階段(會有警告)
list List available methodologies 列出可用方法論
create Create custom methodology 建立自訂方法論

Available Methodologies | 可用方法論

System ID Workflow 工作流程
A: SDD sdd /sdd -> Review -> /derive-all -> Implementation 規格優先
B: BDD bdd Discovery -> Formulation -> Automation 外部迴圈
B: TDD tdd Red -> Green -> Refactor 內部迴圈
Input atdd Workshop -> Examples -> Tests 驗收測試驅動

Usage Examples | 使用範例

/methodology                    # Show current status
/methodology switch sdd         # Switch to Spec-Driven Development
/methodology phase green        # Move to GREEN phase (TDD)
/methodology checklist          # Show current phase checklist
/methodology list               # List all available methodologies
/methodology skip               # Skip current phase (with warning)
/methodology create             # Start custom methodology wizard

Configuration | 配置

Methodology settings are stored in .standards/manifest.json:

{
  "methodology": {
    "active": "sdd",
    "available": ["tdd", "bdd", "sdd", "atdd"]
  }
}

Next Steps Guidance | 下一步引導

After /methodology completes, the AI assistant should suggest based on the selected methodology:

方法論已設定。建議下一步 / Methodology configured. Suggested next steps:

  • SDD 方法論 → 執行 /sdd 建立規格 — SDD → Run /sdd to create spec
  • BDD 方法論 → 執行 /bdd 開始場景探索 — BDD → Run /bdd to start discovery
  • TDD 方法論 → 執行 /tdd 開始紅綠重構 — TDD → Run /tdd to start Red-Green-Refactor
  • ATDD 方法論 → 執行 /atdd 定義驗收條件 — ATDD → Run /atdd to define AC

Reference | 參考

Weekly Installs
10
GitHub Stars
45
First Seen
Jan 29, 2026
Installed on
opencode9
gemini-cli9
antigravity9
github-copilot9
codex9
mcpjam8