orch-build-mvp
affaan-m/ECC
通过规划细小的垂直切片、为第一个切片搭建框架,然后采用测试驱动开发和分阶段提交的方式进行迭代开发,将设计或规格文档转化为可运行的最小可行产品(MVP)。
...展开全部orch-build-mvp
Actor · 操作 · 目标:orch · 构建 · 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:提交。 - 对于任何触发安全触发器(security trigger)的切片,需添加
安全审查员(security-reviewer)。
示例
orch-build-mvp:civicpulse/docs/SDD-v0.6.md
→ 阅读 SDD → 切片列表(垂直)→ 构建切片 1 [GATE 1:批准]
→ /gan-build --skip-planner(生成器 → 评估器循环)得分与规格对比 → 审查
→ 提交功能: [GATE 2: 确认] → 下一个切片
---
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
复制





首页
