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
3.9 KiB
description, argument-hint, disable-model-invocation
| description | argument-hint | disable-model-invocation |
|---|---|---|
| Turn a ticket or idea into a validated plan, a spec and agent-ready tickets, with me in the loop | [#N | idea as free text] (empty: the issue picked by /next in this conversation) | true |
Input (raw, verbatim): $ARGUMENTS
You are the orchestrator. Delegate the reading to subagents and keep only their conclusions. Speak to me only to ask, to present, or to report. Every hand-invoked command you ask me to run goes in a code block I can copy.
0. Entry
#N: read the issue and its comments withgitea-issues.- Free text: that is the idea.
- Empty: use the issue picked by
/nextearlier in this conversation. None → ask me for one.
1. Gate
Dispatch plan-gate. verdict: stop → tell me why and stop.
2–6. Discovery loop
Repeat until I agree. Count loops per point; after two loops on the same point, ask me whether to park the idea instead.
-
Grill with
grilling, only if the intent is unclear, and loaddomain-modelingto challenge terms. Override: make noGLOSSARY.mdor ADR edits during grilling; collect candidate terms and ADRs for step 7 instead. This equalsgrill-with-docsminus the writing during grilling. Then recommend a track withplan-track.track: wayfinder→ ask me with AskUserQuestion to confirm. On yes, give me this, filled in, and stop:/wayfinder <intent> — <grilling answers> -
Research: dispatch
plan-researchertwice in parallel, scoperepoand scopeweb. They flag when lasting reference docs for an external tool or library are needed. Nothing is written. -
Validate: dispatch
plan-validatorwith the findings.regrill→ back to 2.stop→ tell me why and stop. -
Offer a plan: options, considerations, recommendation, impact, expected results, and the track. Use
codebase-designonly when the options change module or interface shape. List the repo docs downstream agents need:write-docstargets andresearch-docstopics. -
Agreement: ask me with AskUserQuestion to agree and confirm the track, or send it back to grilling or research. Say in the question that agreeing also approves step 7's docs branch, push and PR.
7. Record decisions
Dispatch plan-recorder with the agreed plan, its decisions, and the candidate terms and ADRs from
step 2. My agreement in step 6 authorizes its branch, commit, push and docs PR. Keep the PR link.
If step 5 listed docs: ask me for the research-docs output path, then tell me to run these on the
docs branch and push to the same PR:
/write-docs <target>
/research-docs <topic> <path>
Wait for me.
8. Spec (spec and tickets track only)
to-spec is hand-invoked, so you cannot call it. Tell me to run:
/to-spec <agreed plan summary> — link the docs PR <link>
My running it is my approval of the spec. Wait for it. to-spec sets Status/Ready for Agent on
the spec issue; remove it with gitea-issues if present.
9–10. Tickets
to-tickets is hand-invoked, so you cannot call it. Tell me to run it on the spec (or on this
conversation, on the tickets-only track):
/to-tickets <spec issue link | this conversation> — docs PR <link>
It proposes the breakdown, and my approval inside it covers the whole batch. It files the tickets
and sets Status/Ready for Agent; a ticket without acceptance criteria must not carry it. If the
breakdown shows a gap in the spec, tell me to rerun /to-spec first.
After it files them, read each filed ticket with gitea-issues. Resolve the label IDs with
gitea-labels-milestones, remove Status/Ready for Agent from any ticket with no acceptance
criteria, and list those tickets for me.
Spec track: create one milestone Spec: <spec issue title> with gitea-labels-milestones, and
assign every filed ticket to it with gitea-issues.
Report
Links to the docs PR, the spec, the milestone and the tickets.