/plan is hand-invoked like /ship, step 6 states that agreeing also approves the docs PR, and the outline's agent notes are corrected. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2.5 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.
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. Then recommend a track withplan-track. - Research: dispatch
plan-researchertwice in parallel, scoperepoand scopeweb. - 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.
- 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 and its decisions. My agreement in step 6 authorizes
its branch, commit, push and docs PR. Keep the PR link.
8. Spec (spec and tickets track only)
to-spec is hand-invoked, so you cannot call it. Tell me to run:
/to-spec — and to link the docs PR in the spec.
My running it is my approval of the spec. Wait for it.
9–10. Tickets
to-tickets is hand-invoked, so you cannot call it. Tell me to run /to-tickets on the spec (or on
this conversation, on the tickets-only track). 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. Remove Status/Ready for Agent
from any ticket with no acceptance criteria, and list those tickets for me.
Report
Links to the docs PR, the spec and the tickets.