agent-briefing
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when the user wants something new built or existing behaviour changed, such as a feature, component, page, API, module or project, and no approved design for it exists yet in this conversation or in docs/plans
Claude Code
$ npx -y skills add NoobyGains/godmode --skill intent-discovery --agent claude-code
Codex
$ npx skills add NoobyGains/godmode --skill intent-discovery -a codex -y
Cursor
$ npx skills add NoobyGains/godmode --skill intent-discovery -a cursor -y
Gemini CLI
$ npx skills add NoobyGains/godmode --skill intent-discovery -a gemini-cli -y
GitHub Copilot
$ npx skills add NoobyGains/godmode --skill intent-discovery -a github-copilot -y
OpenCode
$ npx skills add NoobyGains/godmode --skill intent-discovery -a opencode -y
Windsurf
$ npx skills add NoobyGains/godmode --skill intent-discovery -a windsurf -y
name: intent-discovery description: "Use when the user wants something new built or existing behaviour changed, such as a feature, component, page, API, module or project, and no approved design for it exists yet in this conversation or in docs/plans"
Turn a request into a design the user has approved, with a specification precise enough that a capable builder could plan from it without asking again. You build what you believe the user wants, and that belief is usually thinner than it feels. **Find out what they want and why, one question at a time, and get sign-off on a written design before anything is built.**
NOTHING GETS BUILT UNTIL THE USER APPROVES THE DESIGN
No exceptions. No workarounds. No shortcuts.
Building includes writing product code, scaffolding, installing dependencies, creating projects and invoking any implementation skill. Reading and exploring are fine.
**Required:**
**Skip:**
Create one task per step and track them.
1. **Survey the ground.** Read the relevant files, docs and recent commits. Note what exists, what conventions hold, and what the user has already decided. Evidence: a short list of what you found. 2. **Size the work.** Say the size in plain words; the user may override it.
| Size | Design lives in | Next | |---|---|---| | Quick, clear task | the request itself | do it directly | | Small change | a design summary in chat | `godmode:task-planning` or direct work | | Project | `docs/plans/YYYY-MM-DD-<topic>-design.md` | `godmode:task-planning` |
If the request is really several independent projects, say so, agree an order, and run this skill on one at a time. 3. **Ask, one question per message, starting from what you already know.** When the user has said what they want (a detailed request, a spec, a plan), open by echoing it back in your own words in about 200 words: what they want, who it is for and why, plus what the survey found that bears on it (how the relevant parts work today, what the change touches, any constraint, conflict or cheaper path they may not have seen). Invite corrections, then ask the one question whose answer would most change what gets built. When they have not said much, ask one open question in their own terms about the biggest thing the request leaves unsettled, and say what the answer would change. Build each later question on their last answer or on something you found. Cover purpose, users, success, constraints, non-goals and what they already have, but never ask what the project or the conversation already answers. Offer a short menu only when the user is stuck; a guess they can correct often beats a question. Stop asking when another answer would not change the design. If this skill started on its own rather than at the user's request, end the first message with a one-line offer to just get going instead; if they take it, state any significant choice you are making in one line and proceed. 4. **Look for prior art.** Invoke `godmode:reference-first` for proven implementations and `godmode:codebase-conventions` for in-repo precedent. Invoke `godmode:grounding` for every library, API, version or platform rule the design will rest on. Evidence: the sources you will build on, with links. 5. **Propose 2-3 approaches.** Label them A, B, C, lead with your recommendation, and give each its trade-offs in two or three lines. Cite the references that inspired each. The user chooses; never auto-pick. 6. **Play the design back in sections.** Describe each part (what it is for, how it behaves, what it touches) in up to 200-300 words, mark your own guesses as guesses, and ask what is wrong or missing before the next section. Cover architecture, components, data flow, error handling and testing. 7. **Write the specification section** (template below), scaled to the work. 8. **Write the design document** to `docs/plans/YYYY-MM-DD-<topic>-design.md` and commit it. For a small change, the chat summary is the design. 9. **Check it as the builder would** (projects only; a small change goes straight to the user). Tell the user a reviewer reads the document first and you may come back once with questions. Dispatch a fresh subagent with [the builder-check prompt](references/builder-check-prompt.md) and the document path, or read the document in that role yourself when dispatch is unavailable. Sort what comes back into three piles: answered already by the conversation or the project (write the answer into the document); minor, where a sensible builder could settle it without changing what gets built (settle it and mark it as your call); theirs, where only the user can answer and the answer changes what gets built (bring these in one message, most important first). Update the document with their answers and hand it over with the list of calls you made. That is the only round of questions the check produces. 10. **Get approval** on the full document. Approval covers what the user saw; a section you have not shown is not approved. 11. **Hand off** to `godmode:task-planning`. That is the only next skill.
digraph intent {
"Survey" -> "Size";
"Size" -> "Do it directly" [label="quick task"];
"Size" -> "Questions, one at a time" [label="small or project"];
"Questions, one at a time" -> "Prior art + grounding";
"Prior art + grounding" -> "2-3 approaches";
"2-3 approaches" -> "Sectioned playback";Engineering discipline for AI coding agents: question the request, verify against current docs, plan, build test-first on the cheapest capable model, review with a second model family, prove it before saying done. One repo for Claude Code, Codex, Antigravity, Cursor, Gemini CLI and OpenCode.
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the…
Use when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration,…
Use when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull…
Use when a reviewed change is about to land on a shared branch, be released or be deployed, and when the user asks for a second…
Use when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration