Prompt file imported from david-perry-software/agento (
.github/prompts/next-feature.prompt.md). Copyright stays with the author.
Report the dependency state of the initiative named by the argument and print the commands that plan its next member feature. This command is read-only: never create worktrees, branches, or files, and never hand off to another agent — orchestration stays explicit in the primary window.
-
Run the Agento CLI:
node <agento-root>/scripts/agento.mjs initiative <slug>(the CLI path is announced in the session context asAgento CLI:). Ifstatusismissingorinvalid, print itsmessageand every entry oferrorsverbatim and stop. If the argument is empty, runagento.mjs initiative(list mode), show the initiatives with theircomplete/totalcounts, ask which one to report on, and stop. -
Present the members from
features[], grouped:- Ready —
ready: true(state: unplanned, everyRequires:complete); - Blocked —
state: unplannedandready: false, each with itsblockedBy; - In flight —
stateisplanned,in-progress,paused, orin-review, withbranchandroadmap; - Complete —
state: complete. Then listanomaliesverbatim (slug, kind, branch) — for example a member branch on origin with no roadmap, or a roadmap whoseinitiative:header names another initiative.
- Ready —
-
If
nextisnull: whendoneistrue, say the initiative is fully delivered and stop; otherwise name the in-flight members that must reachstatus: completebefore anything else becomes ready, and stop. -
Otherwise print the exact commands for
next, with the slugs substituted:/start-session # primary window → new plan-<id> worktree + window /new-feature initiative:<initiative-slug>/<feature-slug> # secondary window → plan.md + roadmap.md + draft PR Build in this worktree (Planner handoff) — or — /build-feature <feature-slug> # secondary window /review-feature <feature-slug> # secondary window; then, from the primary window: /close-session feature/<feature-slug> → /ship <feature-slug>Then list every other
readymember as plannable concurrently, each with its own/start-session→/new-feature initiative:<initiative-slug>/<feature-slug>pair, and note that members in the same wave with noRequires:between them can be planned and built in separate sessions at the same time.
Never run /start-session or /new-feature yourself, and never modify the breakdown
— progress is derived from the member roadmaps, not recorded here.