跳转到内容
关系图谱

implement-spec(Matt)

419 字 2 分钟

属性 8
repo
mattpocock_skills
skill
implement-spec
source
mattpocock_skills/skills/engineering/implement-spec/SKILL.md
invoke
user
phase
build
cost
high
status
stable
local
outdated
一句话

一口气实现整份 spec:把 tickets 当任务图,在 ready frontier 上并行跑 implementer 子代理,全部落到一条 integration branch,最后过一次 code-review。

何时用 ​

怎么用 ​

text
/implement-spec 把这份 spec 一次实现完
  1. 读 spec 和 tickets 理解任务图;可选:派探索子代理先勘察,笔记写到 repo 外、所有子代理可达的目录。
  2. 建 integration branch;tracker 用 PR 收尾或用户要求时,第一次合并后开 draft PR 标记关闭 spec 和票。
  3. 每张 frontier 票派一个 implementer 子代理:确认 worktree 基于 integration branch、调 tdd 建票、报工前把 integration tip 合回自己分支。
  4. merger 子代理把完成分支合进 integration branch;frontier 更新就继续派新票,打满并发。
  5. 全部完成后对 integration branch 调 matt-code-review,评审问题集中派一个 implementer 修;draft PR 标 ready 或按 tracker 方式关票,清理全部 worktree。

产出 ​

  • 一条 integration branch(或 ready 的 PR)和已关闭的票集。

要点与坑 ​

  • 与子代理通信只走 context pointer(spec、票、研究笔记、历史 commit),不重复信息。
  • 并发度由图的形状决定不由票的顺序决定;token 消耗 high,墙钟换 token。
本机版本差异

仓库版目标改为整份 spec 落在一条 integration branch 上、按 tracker 的方式关票,不再默认开 draft PR;implementer 子代理新增 worktree 确认、调 tdd、合并 tip 三条约束。

关联 ​