orch-build-mvp
affaan-m/ECC
透過規劃細分的垂直切片、為第一個切片建立基礎架構,再運用測試驅動開發與分階段提交的方式進行迭代開發,將設計或規格文件轉化為可運作的最小可行產品(MVP)。
...展開全部orch-build-mvp
Actor · action · target:orch · build · mvp。這是針對orch-pipeline 中共用
引擎所建立的輕量級封裝層。
何時使用
- 使用者手邊有一份設計/規格文件(SDD、PRD、system_design),並希望 據此建立一個可運作的垂直切片。
- 以文件路徑作為參數,例如
civicpulse/docs/SDD-v0.6.md。
操作設定
- 預設大小下限:large — 這是包含 Scaffold 在內的完整管線。
- 階段遮罩:0(讀取規格)→ 1 → 2(密集)→ 3(Scaffold)→ 4 → 5 → 6。
- 第一步(階段 0 → 2):讀取文件;提取範圍、已鎖定的決策, 以及功能清單;將其排序為精簡的垂直切片(優先處理一條端到端 路徑,而非先處理所有模型再處理所有視圖)。階段 3 會建置該第一個切片。
運作原理
- 使用上述設定執行
orch-pipeline引擎。 - 重複使用現有的 GAN 測試框架,而非手動編寫迭代迴圈:
- 將 SDD 轉換為
gan-harness/spec.md+gan-harness/eval-rubric.md(這取代了gan-planner原本會生成的內容——您已經擁有規格說明)。 - 透過
/gan-build "驅動建置 (預設值:" --skip-planner --max-iterations 15、--pass-threshold 7.0、--eval-mode playwright;針對非 UI 切片,請使用--eval-mode code-only)。 - 該命令會執行
gan-generator→gan-evaluator迴圈,並持續寫入gan-harness/feedback/feedback-NNN.md,直到評分通過或趨於平穩為止。
- 將 SDD 轉換為
- 在Gate 1(切片規劃)和Gate 2(預提交)處停止。將
基礎架構和每個切片分別作為獨立的
feat:commits 提交。 - 對於任何觸發安全觸發器的切片,請新增
security-reviewer。
範例
orch-build-mvp:civicpulse/docs/SDD-v0.6.md
→ 閱讀 SDD → 切片清單(垂直)→ 架構切片 1 [閘門 1:核准]
→ /gan-build --skip-planner(生成器 → 評估器迴圈)分數與規格比對 → 審查
→ 提交 feat: [第 1 道關卡:批准] → 下一片段
---
name: orch-build-mvp
description: Turn a design or spec document into a working MVP by planning thin vertical slices, scaffolding the first slice, then building iteratively with test-driven development and gated commits.
---
# orch-build-mvp
Actor · action · target: **orch · build · mvp**. Thin wrapper over the shared
engine in [`orch-pipeline`](../orch-pipeline/SKILL.md).
## When to Use
- The user has a **design / spec document** (SDD, PRD, system_design) and wants a
working vertical slice bootstrapped from it.
- Takes a doc path as its argument, e.g. `civicpulse/docs/SDD-v0.6.md`.
## Operation settings
- **Default size floor:** large — this is the full pipeline including Scaffold.
- **Phase mask:** 0 (read the spec) → 1 → 2 (heavy) → 3 (scaffold) → 4 → 5 → 6.
- **First move (phase 0 → 2):** read the doc; extract scope, locked decisions,
and the feature list; order it into **thin vertical slices** (one end-to-end
path first, not all-models-then-all-views). Phase 3 stands up that first slice.
## How It Works
1. Run the `orch-pipeline` engine with the settings above.
2. **Reuse the existing GAN harness** instead of hand-rolling an iterate loop:
- Translate the SDD into `gan-harness/spec.md` + `gan-harness/eval-rubric.md`
(this stands in for what `gan-planner` would generate — you already have the spec).
- Drive the build with `/gan-build "<one-line brief>" --skip-planner`
(defaults: `--max-iterations 15`, `--pass-threshold 7.0`,
`--eval-mode playwright`; use `--eval-mode code-only` for non-UI slices).
- That command runs the `gan-generator` → `gan-evaluator` loop and writes
`gan-harness/feedback/feedback-NNN.md` until the score passes or plateaus.
3. Stop at **Gate 1** (slice plan) and **Gate 2** (pre-commit). Commit the
scaffold and each slice as separate `feat:` commits.
4. Add `security-reviewer` for any slice touching a security trigger.
## Example
```
orch-build-mvp: civicpulse/docs/SDD-v0.6.md
→ read SDD → slice list (vertical) → scaffold slice 1 [GATE 1: approve]
→ /gan-build --skip-planner (generator → evaluator loop) scores vs spec → review
→ commit feat: [GATE 2: confirm] → next slice
```
所有檔案
1 個檔案安裝 orch-build-mvp
請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。
下載 ZIP複製儲存庫並將技能檔案複製到您的專案中。
git clone https://github.com/affaan-m/ECC/tree/main/skills/orch-build-mvp # Copy SKILL.md to your .claude/skills/ directory
複製





首頁
