From claudecode-bootstrap
Produce a fully-filled autonomous-run mega-prompt at .agents/goals/<slug>.md by interviewing the user for the missing context. The output file is the "set the goal · walk away · come back to shipped work" prompt — drop it into a fresh Claude Code / Codex session to run end-to-end without hand- holding. Use when Stevie says "/make-a-goal", "/make-a-goal <outcome>", "make a goal", "set a goal", "build me a goal prompt", or similar. The skill does NOT execute the goal — it only produces the artifact. Named `make-a-goal` (not `goal`) because `/goal` is a reserved system slash.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claudecode-bootstrap:make-a-goal [the final outcome — one line, optional][the final outcome — one line, optional]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
`/make-a-goal [outcome line]` interviews Stevie for the operating context
/make-a-goal [outcome line] interviews Stevie for the operating context
an autonomous coding agent needs, then writes a filled mega-prompt to
.agents/goals/<slug>.md. Stevie runs the goal by pasting the file
contents into a fresh session — this skill never executes the run.
The mega-prompt template lives at assets/mega-prompt.md.tmpl. The stub
plan handed to /interview lives at assets/stub-plan.md.tmpl.
/make-a-goal — no args, interview asks for the outcome line too/make-a-goal <outcome> — outcome line pre-fills {{OUTCOME}},
interview gathers the restIf $ARGUMENTS is non-empty, treat it as the final-outcome line and
slugify it. Else, use AskUserQuestion with a single open question:
"What does done look like — in one line?"
The outcome line is the most important field. Push back on vague answers ("ship the app") and demand specificity ("deploy v1 of the dashboard at dashboard.example.com with login + 3 charts working"). One sentence, present-tense, observable.
deploy-v1-dashboard-with-login..agents/goals/<slug>.plan.md.agents/goals/<slug>.plan-spec.md (what /interview writes).agents/goals/<slug>.md (the final mega-prompt)Create .agents/goals/ if missing. If <slug>.md already exists,
append a numeric suffix (<slug>-2.md).
Read assets/stub-plan.md.tmpl, substitute {{OUTCOME}}, and write to
the plan path. The stub is deliberately prescriptive — it tells
/interview exactly which fields to extract so the resulting spec maps
back to the mega-prompt without guesswork.
Invoke the /interview skill against <slug>.plan.md. /interview
will use its mandatory structured-user-prompt tool (AskUserQuestion on
Claude Code) and produce the spec at <slug>.plan-spec.md.
Per /interview's contract, it runs iteratively until "all major areas
are covered". Trust it.
Read <slug>.plan-spec.md. Extract:
| Mega-prompt field | Likely spec source |
|---|---|
{{PROJECT}} | Executive Summary · Objectives → Primary Goals |
{{STACK}} | Technical Requirements → Components / Architecture |
{{CURRENT_STATE}} | Implementation Notes · context paragraphs |
{{WORKING_DIR}} | Constraints section · or not present |
{{CONSTRAINTS}} | Constraints & Dependencies → Technical / Timeline |
{{AUDIENCE}} | User Experience intro · or not present |
{{SUCCESS_1..3}} | Objectives → Success Metrics |
Fields not reliably in /interview's spec template:
working dir, audience, current state. If those are missing
or thin in the spec, run one AskUserQuestion round with only the
unfilled fields. Don't re-ask anything the spec already answers.
If the spec produced more than three success metrics, ask Stevie which three are the hard-gates for "done". If it produced fewer than three, ask for the remainder — three is the minimum the template needs.
Read assets/mega-prompt.md.tmpl. Substitute every {{FIELD}} token
with the gathered value. Multi-line values: keep them single-line where
the template uses a single line (Context block) — join with ; if
needed. The Operating Rules / Quality Bar / Final Deliverable blocks
are verbatim — never edit them.
Write to <slug>.md.
Tell Stevie:
<slug>.md
into a fresh Claude Code or Codex sessionCaveman mode by default. Address as Stevie.
.agents/goals/. Leave that decision to Stevie —
the directory may or may not be gitignored per repo./interview skill available (e.g. a host without it deployed):
fall back to running the question set directly via AskUserQuestion
using the field list from assets/stub-plan.md.tmpl. Skip the spec
artifact in this mode and render straight to the mega-prompt.-2, -3, …$PWD
at goal-generation time, not the literal string "this repo".npx claudepluginhub stevengonsalvez/ainb-toolkitCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.