主流程施工段的口袋版:从票到 commit。完整教学见 Lesson 0011; 原文见 SKILL.md(全文仅 15 行)、 agents/openai.yaml、 docs 叙事版。
把 spec 或票描述的活干成代码:内部驱动 tdd 在约定接缝上写、
按三档节奏验证、收尾跑 code-review、commit 到当前分支。
它是手不是脑(hands, not head)——做什么在上游已经定了,它不重新决定。
to-spec 产)、frontier 票(to-tickets 产、无人挡路)、agent-ready 的外来 issue(triage 产)grill-with-docs;wayfinder 地图没折叠 → 先 to-spec(仅活真的小才直接 implement);spec 没约接缝;票还被人挡着disable-model-invocation: true + agents/openai.yaml allow_implicit_invocation: false/implement;多会话构建时每张票各开一个干净会话,只带那张票;活小到一会话装得下时可同窗口直接敲| # | 原文(压缩) | 含义 / 挂着的厚文件 |
|---|---|---|
| 1 | Implement the work … in the spec or tickets | 输入只有 spec / 票两类;不重新决定做什么 |
| 2 | Use /tdd where possible, at pre-agreed seams | prose 调用 tdd;接缝上游定好,中途不发明。「where possible」是原词,默认姿态仍是 test-first |
| 3 | Typechecking regularly, single test files regularly, full suite once at the end | 三档验证节奏,implement 自己唯一的规定;全量在 review 之前 |
| 4 | Once done, use /code-review | prose 调用 code-review;Standards + Spec 双轴,commit 之前 |
| 5 | Commit your work to the current branch | 唯一落地动作;不开分支、不发 PR |
CONTEXT.md 对齐语言、尊重 ADR(只读不写)| 对象 | 动不动 | 说明 |
|---|---|---|
| 业务代码、测试文件 | 写 / 改 | 本职;测试落在约定接缝上 |
| git | 制造 commit | 落在当前分支 |
| 工单系统 | 正文没写 | 不改票状态、不勾验收框;想要就自己加一行 |
| 分支 / PR | 正文没写 | 合并与发 PR 是人的下一步 |
| CONTEXT.md / ADR | 只读 | 写它们是 domain-modeling 那条线 |
grill-with-docs → to-spec → to-tickets ─frontier─► implement ─► commit
triage ─agent-ready issue─────────────────────────► │prose 调用
wayfinder ─(仅活真的小)─────────────────────────► ▼
tdd → code-review
一票一会话;下一步:下一张 frontier 票(新会话)或人工合并 / 发 PR
implement/SKILL.md 第 4 行 + 确认 skill 真被加载tdd/SKILL.md Seams;源头再查 to-spec 第 2 步tdd/SKILL.md「Refactoring is not part of the loop」tdd/tests.md + tdd/mocking.mdcode-review/SKILL.md