/intent:intentfrom intent
Turn a rough idea, feature request, or change into a standard intent — What / Why / Guardrails / Done means — through a layered interview that fills gaps high-level first and only goes deeper when the user agrees. Use when the user runs `/intent <prompt>`, or says "write an intent", "capture this idea", "turn this into an intent/brief", "what/why/done for X", or wants a hand-off prompt for an agent. Output is a self-contained markdown intent that can be given to an agent verbatim or saved to a file.
Ships in intent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Help the user turn $ARGUMENTS (their rough idea) into a complete intent. An intent says what and why, the guardrails, and what done means. It never says how — that belongs to whoever executes it.
Interview in layers: fix the biggest gaps first, then stop and recommend whether going deeper is worth it. The user decides.
Every run ends with exactly this shape:
# Intent: <short title>
## What
<the outcome in 1–3 sentences — the change in the world, not the implementation>
## Why
<the problem or motivation, who benefits, what happens if we don't do it>
## Guardrails
- Must: …
- Must not: …
- Out of scope: …
## Done means
- [ ] <observable, checkable criterion>
- [ ] …
## Assumptions & open questions
- (assumed) … <defaults the user accepted without stating them>
- (open) … <left on purpose for the executor>
It must be self-contained: someone (or an agent) with no access to this conversation can act on it.
(open) or as a guardrail only if they insist it's a constraint.(assumed).solid: specific and checkable.vague: present but open to several readings.missing: not there.⟨gap⟩ where something is missing.If all four are solid, skip Layer 1 and go straight to the depth gate.
Ask only about sections rated missing or vague, one question per section, aimed at its core:
| Section | The one question to settle |
|---|---|
| What | What's different in the world when this is done? |
| Why | What problem does it solve, and for whom? |
| Guardrails | What's the one thing this must not break or do? |
| Done means | What single check proves it's done? |
Offer 2–3 concrete options per question, with your recommendation first. Update the draft with the answers.
Show the updated draft, then give a clear recommendation:
Recommend: go deeper on Guardrails + Done — touches stored user data and goes to an autonomous agent; "done" isn't checkable yet.
or
Recommend: stop here — small and reversible; what's left are how-details the executor should decide.
Recommend going deeper when any of these hold:
Recommend stopping when the work is small and reversible, or when the remaining gaps are about how.
Then ask (AskUserQuestion): Stop and finish / Go deeper on all / Go deeper on specific sections (let them pick). Put your recommendation first.
Only for the sections the user chose. Per section, ask about what's still unclear:
Then run the depth gate again.
Only if the user asks for it after Layer 2. Write 1–3 concrete examples as given / when / then for the riskiest Done items and have the user confirm them. Add them under Done means.
Layer 3 is the last layer. After it, go straight to Finish.
intents/<slug>.md in the current directory; the user can give another path);What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub swingerman/skills --plugin intent