AGENT SKILL

split

暂无简介

License 许可
MIT
最近更新
2026-11-12
Stars
★ 0
Forks
0

03 SKILL.md 正文

Split

From intent § 2, before any spec (TARGET § L3 Intent 8; spec: big-changes-in-slices). Nothing is specced until the owner approves the split.

1. Settle the whole

  • Why, who or the problem not settled: gstack's /office-hours first, if intent hasn't run it.
  • Propose gstack's /plan-ceo-review on the whole (it questions scope and premise, which is what decides the slices), then /plan-eng-review on the split and its order (the skeleton is an architecture call). Run each on a copy of the repo outside it: office-hours writes to docs/designs/ and the plan reviews append to the plan they are given; nothing they write lands. Their results feed the screen and the plan document. /plan-design-review only if the owner asks.

2. Slice it

  • The walking skeleton first: the thinnest path that deploys and shows one end-to-end step a user can exercise (a page; a call, for an app with no UI). In a new repo, ak:new-project comes first and is not a slice: set-up, no spec, unmerged until the owner's part 2; the roadmap PR and the first slice follow its merge, and the stack's owner set-up steps are part of the first slice's go.
  • A UI with no DESIGN.md: the design direction is the second slice, before any slice that styles a page beyond the baseline (/opt/devshop-current/guidelines/ui.md § Design direction).
  • Then vertical slices, each shippable and visible to a user, each one PR the owner can judge in a sitting; never a layer ("the schema", "the API", "the UI"). Only the next one or two carry detail; the rest stay one line.
  • Slices that each add an item (a page, a game): the first one sets up the layout and the derived lists, so each later slice only adds its own file (/opt/devshop-current/guidelines/parallel.md).

3. One screen, then the owner's approval

  • The whole in the owner's words; the slices in order, one line each; what the whole leaves out; where the block of slices sits among the roadmap's Open entries (consecutive; the owner says where the block goes, and may reorder).
  • The approval is a go on the shape and the order only: each slice still gets its own spec and go.

4. Record, then the first slice

  • One PR: one R-<n> entry per slice, in the approved order, where the owner said, as the roadmap template's slice rule says (each section quotes the request and the approval, word for word, and names the other slices). Its body says the split's screen was approved. For a whole app, the same PR carries the plan document under docs/, linked from each entry and the docs map when the project has one: the product in the owner's words, the core flow, the model, the slices and why in that order; no status (that lives on the roadmap rows). A big feature on an existing app gets no document: its whole is quoted in each slice's entry and spec.
  • Then intent § 3 for the first slice at once, on its own branch, naming its R-<n> (re-checked against main at ship). "What's next?" picks each later slice: the top Open entry.
  • After each slice ships, re-read the next against what the build taught and the merged specs. A change to the slices is the owner's decision, recorded on the entries it changes with their words and date, as a spec change after a go is.

04 同仓库更多 Skills