feat(plan): wire existing skills into /plan

Step 2 grills with grilling plus domain-modeling (no GLOSSARY.md or ADR
edits; candidates go to step 7) and exits early on the wayfinder track
with a copyable /wayfinder command. Step 5 uses codebase-design only on
module or interface changes and lists the docs needed downstream. Step 7
hands out /write-docs and /research-docs commands for the docs PR. Steps
8-10 show /to-spec and /to-tickets as code blocks, strip Ready for Agent
via gitea-labels-milestones, and group tickets under a Spec: milestone.
The outline moves these items into "What ships today".

Refs: #255

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-29 17:09:32 +00:00
1 parent bc04eaaed5
commit 6638385a51
2 files changed
+63 -35

No files matched your search

+13 -18
View File
@@ -193,27 +193,22 @@ sequenceDiagram
has a working handoff until implementation has a home.
- `.apm/prompts/plan.prompt.md`: the `/plan` command, the MVP orchestrator for steps 0–10. It
dispatches the agents below, grills with `grilling`, and picks the track with `plan-track`.
Steps 8–10 run upstream's hand-invoked `/to-spec` and `/to-tickets`: `/plan` tells the user to
type them, and the user running them is the approval.
dispatches the agents below and wires in existing skills at the step where each fits: `grilling`
with `domain-modeling` (no edits during grilling) and `plan-track` in step 2, including the
wayfinder early exit; `codebase-design` in step 5; and `gitea-labels-milestones` and
`gitea-issues` in steps 8–10 for the Ready-for-Agent strip and the `Spec:` milestone with ticket
assignment. Hand-invoked commands (`/wayfinder`, `/write-docs`, `/research-docs`, `/to-spec`,
`/to-tickets`) are given to the user as copyable code blocks, and the user running them is the
approval.
- `.apm/agents/`: `plan-gate` (step 1), `plan-researcher` (step 3), `plan-validator` (step 4),
read-only (the researcher may write only to the scratchpad), and `plan-recorder` (step 7, the docs PR).
- `.apm/skills/plan-track/`: the track criteria.
- `.apm/skills/plan-track/`: the track criteria for all three tracks, `wayfinder` included.
All of these are minimal stubs, to be built out. The prompt and agents route to `gitea-issues`, `gitea-labels-milestones`, `gitea-prs`,
`git-commits` and `agentsmd-author`, which `plan` does not declare as dependencies: it assumes the
`gitea`, `git` and `core` packages are installed. `research-docs` lives in `plan`, and `write-docs`
will too (see below).
### Agreed, not yet built
Agreed in the design above and ticketed separately; none of it is in the prompt yet:
- `write-docs` moves from `bin` to `plan` (`bin` 4.0.0 to 5.0.0, `plan` 0.4.0 to 0.5.0).
- `plan-track` gains the third, `wayfinder` track.
- `plan.prompt.md` is rewired: the wayfinder early exit, grilling with `domain-modeling`, the
step-7 hand-run `/write-docs` and `/research-docs` commands, and the `Spec:` milestone with
ticket assignment.
All of these are minimal stubs, to be built out. The prompt and agents route to `gitea-issues`,
`gitea-labels-milestones`, `gitea-prs`, `git-commits` and `agentsmd-author`, which `plan` does not
declare as dependencies: it assumes the `gitea`, `git` and `core` packages are installed.
`research-docs` lives in `plan`. `write-docs` still lives in `bin`; its move to `plan` (`bin`
4.0.0 to 5.0.0, `plan` 0.4.0 to 0.5.0) is agreed and ticketed separately.
## Open for later