ワンクリックで
build
用户触发 /ezfl:build 或要求实施 / 执行 tasks.md 时必须使用本 skill。选定 implementer subagent,由该 subagent 在自己的会话内执行 /opsx:apply——主代理禁止直接编写实现代码。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
用户触发 /ezfl:build 或要求实施 / 执行 tasks.md 时必须使用本 skill。选定 implementer subagent,由该 subagent 在自己的会话内执行 /opsx:apply——主代理禁止直接编写实现代码。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Scans project-level agent directories before subagent dispatch, recommends based on phase keywords, lets user choose, and persists results to disk for anti-corruption
Must use this skill when user triggers /ezfl:audit or requests auditing of implementation outputs. Executes Constitution compliance check (injection point D) + 5 scorer scripts, results written to .harness/metrics/<timestamp>-metrics.json.
Must use this skill when user triggers /ezfl:build or requests implementation / execution of tasks.md. Selects implementer subagent, which executes /opsx:apply in its own session — main agent is forbidden from directly writing implementation code.
Must use this skill when user triggers /ezfl:constitution or /openspec:constitution, or requests creation / amendment / viewing of the project constitution. Manages CREATE / AMEND / SHOW modes for openspec/memory/constitution.md.
Must use this skill when user triggers /ezfl:design or requests entering the design phase. Only responsible for design discussion, Reframe, Premise Challenge, and producing pre_design.md.
Must use this skill when user triggers /ezfl:lock, or requests engineering review / locking plan / review architecture / tech review, or describes a non-trivial change (>3 files, new components, cross-module changes) and is clearly in the pre-coding phase. Reviews plans/proposals from an engineering-manager perspective with adversarial rigor (architecture, data flow, edge cases, test coverage, performance), aiming to find holes rather than go through the motions. **Do NOT** use for: simple bug fixes / single-file changes / pure documentation or configuration changes / requesting 'review of already written code' (that's code review, not plan review).
| name | build |
| description | 用户触发 /ezfl:build 或要求实施 / 执行 tasks.md 时必须使用本 skill。选定 implementer subagent,由该 subagent 在自己的会话内执行 /opsx:apply——主代理禁止直接编写实现代码。 |
启动时必须先输出:[easy-flow] 进入阶段: build — 使用 easy-flow:build skill。
本 skill 遵守 hard-stops.md 中的:
[easy-flow] 进入 build Step <N>: <动作> 等可见状态行easy-flow:agent-selector,启动 implementer subagent 前不得跳过 Agent Selection"inline" 时必须由主代理 inline 跑 /opsx:apply,绝不回退到 superpowers:subagent-driven-development / :executing-plans按以下顺序逐步执行,每一步未完成不得进入下一步:
读取 .harness/workflow.yaml: active_changes,筛选 phase=build 的 entry:
change_idask_followup_question 让用户选择【硬约束】 在启动 implementer subagent 之前,必须先:
use_skill("easy-flow:agent-selector")dispatch_point_id = "build.implementer""default-subagent" — 用户选 D,主代理用宿主原生 subagent 能力派发,不指定 agent 文件"inline" — 用户选 I 或取消,主代理在自己会话内 inline 执行,不派发 subagent返回值用于本次 build 的 implementer 派发(见 Step 2):
subagent_path 派发"default-subagent" → 主代理用宿主原生 subagent 能力派发,不指定 agent 文件"inline" → 主代理在自己会话内 inline 执行 /opsx:apply(注入点 C 由主代理负责)"inline":跳过 Step 2 的 subagent 启动,直接由主代理执行 /opsx:apply跳过自检:若即将启动 implementer / 调用 /opsx:apply / 派发实施 subagent / 主代理直接编写实现代码而 Step 1 未完成,立刻停下输出 [easy-flow] 阻断:build 阶段启动 implementer / 调用 /opsx:apply 之前必须先调用 easy-flow:agent-selector(dispatch_point_id=build.implementer),不得跳过 Agent Selection。 后回到 Step 1。
/opsx:apply组装启动 prompt:read_file $PLUGIN_ROOT/skills/build/assets/implementer-prompt.md 取 prompt 模板原文(含三段:任务 / Constitution 注入点 C / 返回契约),把模板中的占位符 <change_id 或省略> 用 Step 0 定位结果替换(trivial 路径下保持 <省略> 含义即整个方括号删掉,让 apply 自行推断);其它 <N.M> / <...> 等占位符是 subagent 运行时自填,保持原样不要替换。
按 Step 1 返回值分三个分支:
主代理通过宿主原生 Task / AgentTool 派发 subagent:
subagent_path = Step 1 返回的 agent 路径prompt = 上一步组装的启动 prompt主代理在 subagent 运行期间不得干预,只接收最终汇报。
"default-subagent"主代理通过宿主原生 Task / AgentTool 派发 subagent,不指定 subagent_path(由宿主默认 subagent 接管):
prompt = 上一步组装的启动 prompt主代理在 subagent 运行期间不得干预,只接收最终汇报。
"inline"(主代理 inline 执行)主代理在自己的会话内执行 — 不派发任何 subagent:
/opsx:apply [<change_id>],等待完成;[Constitution C] Task <N.M>: 适用原则 = ...(注入点 C 的强制条款,主代理自负其责)。/opsx:apply 返回(或 subagent 返回汇报)后,校验:
tasks.md 中所有任务 checkbox 已勾选完成(- [x])——存在任何 - [ ] 即视为未完成Implementation Complete 摘要(参考 apply-change.ts 输出格式)硬阻断(任一项不满足 → 禁止标记 build.status=completed):
- [ ]) → 阻断,输出 [easy-flow] 阻断:tasks.md 存在未完成任务,禁止标记 build 完成。 + 列出未完成 task 编号,等待用户指示(继续实施 / 手动标记 / 放弃)cd "$WORKTREE_PATH"
git add -A && git commit -m "feat($change_id): implementation complete"
写 build.status: completed 到 state.yaml,输出 [easy-flow] build 完成,下一步建议执行 /ezfl:audit
[Constitution C] Task <N.M>: 适用原则 = ...[Constitution C] Task <N.M>: ...