Decision
Why this skill exists
After a long stretch of work — or when reading a GitHub issue full of open questions — the user is handed either a wall of prose ("I did X, Y, Z... let me know what you think about the auth approach") or nothing at all, and has to reconstruct the actual choice themselves. This skill's only job is to close that gap: take whatever decision is pending, strip it down to plain language, and hand it back as an explicit numbered menu — never as freeform prose the user has to parse and reply to in kind.
The menu is the contract. The mechanism that renders it is a platform detail.
Validation tier
Tier 0 (edit-time). This skill runs no repository validation and makes no commits.
Resolve the interaction mechanism (do this first)
Read core/capabilities/platforms.json and look up ask_user_question for the current platform.
ask_user_question status |
Mechanism |
native / native-experimental |
Call the AskUserQuestion tool. Preferred — it renders a real picker and captures a structured answer. |
partial / emulated / adapter |
Use the tool if it is actually present in this session; otherwise fall back to the numbered-options block below. |
unsupported / unknown / registry unreadable |
Use the numbered-options fallback. Do not announce a missing feature; just render the menu. |
Cheap runtime check when the registry cannot be read: if the AskUserQuestion tool is listed in this session's tools, it is available. Never call it speculatively to find out.
Numbered-options fallback (portable, always valid)
<1–3 sentence plain-language summary>
Which do you want?
1) <option label> — <one clause on what it means>
2) <option label> — <one clause>
3) <option label> — <one clause>
4) Something else — tell me what.
Reply with a number.
Rules the fallback inherits from the tool path, unchanged:
- summary before the menu, always;
- 2–4 mutually exclusive options, grounded in real context;
- recommended option first, labelled
(Recommended);
- an explicit escape hatch (option 4 above) standing in for the tool's built-in "Other";
- one decision per menu — never fold several decisions into one block.
Resolve the input
Argument looks like a GitHub issue/PR — a bare number (57, #57) or a GitHub URL containing /issues/ or /pull/:
# Infer owner/repo from the URL, or from the current repo if none is given
gh issue view <number> --json title,body,comments,url -R <owner/repo>
If that 404s, or the URL/context says /pull/, retry with gh pr view instead. If no repo can be inferred (not inside a git checkout, ambiguous), ask the user which repo before fetching.
gh is an optional capability. If github_cli is unavailable on this platform, say so plainly and ask the user to paste the issue text — never silently skip the decision.
Argument is non-empty text — treat it as a topic/description, not a literal ID. Search the current conversation for the decision it best matches. Numbers like "141" in a user's example phrasing are illustrative, not a real numbering scheme to look up — match on content, not on the digits.
No argument — scan the whole current conversation for every unresolved decision or action item (places where work was completed but a choice was deferred, a question was raised and never answered, or the conversation explicitly says something is "waiting on you").
An objective is active — if .dev-files/objectives/<id>/objective.json exists and the decision came out of that work, name the objective in the summary line so the user knows which piece of work is waiting on them.
Summarize in plain language
Before presenting any menu, write 1–3 sentences with no jargon:
- What needs to be decided.
- Why it matters, in one clause — not a re-explanation of the whole implementation.
Assume the user already saw the work leading up to this point; the summary orients them, it doesn't re-teach them.
Present the choice
Never ask a decision in bare prose and never accept "just reply with your answer" in place of a menu. Render it through whichever mechanism the capability lookup selected:
AskUserQuestion path (Claude Code / Claude Desktop):
question: the decision framed as a question (e.g. "Which secret backend should we use?").
header: ≤12 chars naming the decision's topic.
options: 2–4 mutually exclusive choices grounded in what was actually discussed — in the conversation, or in the issue body/comments. Do not invent options nobody raised. If the conversation's own reasoning points to a clear best choice, put it first and add "(Recommended)" to its label.
- If the decision is genuinely open-ended with no natural short list, offer the smallest sensible set of anchor options — the tool's built-in "Other" already covers anything not listed, so never leave
options empty to compensate.
Fallback path (Cursor, Codex, Gemini CLI, OpenCode, or any session without the tool): render the numbered-options block above. Same option-sourcing rules, same recommendation rule, plus the explicit "Something else" escape hatch.
Multiple decisions: walk through one at a time
Triggered by an empty-argument scan that finds more than one item, or an explicit "walk me through" request:
- First, list what was found — one short line per decision — so the user sees the whole set before diving in.
- Present each decision on its own, in the order it came up: one AskUserQuestion call each, or one numbered block each. Wait for the answer before moving to the next one — never batch several decisions into a single multi-question call or a single combined menu.
- After the last one, recap all choices made in a short list, one line per decision.
Edge cases
- Nothing pending (empty-argument scan finds no open decisions): say so plainly and stop. Don't invent a decision to justify the menu.
- Ambiguous text match (the argument could refer to more than one candidate decision): list the candidates briefly and ask which one — via the same mechanism — before proceeding; don't guess which one they meant.
gh fetch fails or gh is absent: report it plainly (don't retry silently) and fall back to asking the user to paste the decision directly.
- Capability registry missing: fall back to numbered options. A missing registry never blocks a decision.
After the answer
State the user's choice back in one line, then continue with whatever the obvious next step is (implementing the chosen option, closing out the loop) if that's clearly part of the same turn. This skill's job ends at capturing an explicit decision — not at re-litigating it.
Hard rules
- Never fabricate options that weren't grounded in the conversation, the issue body, or its comments.
- Never batch multiple decisions into one menu during a walkthrough — one at a time, always.
- Never present a bare menu with no plain-language summary first.
- Never swallow a
gh fetch error — surface it and fall back to asking the user directly.
- Never treat AskUserQuestion as required. It is an enhancement; the numbered fallback is the portable contract and must produce the same decision quality.
- Never call AskUserQuestion "to see if it works". Resolve availability from the capability registry or the session's tool list first.
Examples
| Input |
Behavior |
display decision 141 to me simply and let me choose |
"141" isn't a real ID — treat as freeform text, match against the conversation's closest open decision. If none found, say so. |
(empty, right after finishing a long task) waiting for your decision about X |
Scan the conversation; likely one open decision — summarize and ask immediately. |
summarize issue #57 and give me options |
gh issue view 57, summarize plainly, build options from the issue body/discussion. |
walk me through the open decisions |
Scan conversation for all pending items, list them, then walk through sequentially. |
| Same request on Codex / Gemini CLI / OpenCode |
Identical summary and identical option set — rendered as a numbered block instead of a picker. |
1---2name: decision3description: Use when you need to hand a decision back to the user as a plain-language summary plus a choice menu — after finishing work and needing the user to pick how to proceed, when told "waiting for your decision about X", or when the user says "display decision", "what's the decision on/about X", "show me my options for X", "let me choose", "walk me through the open decisions", "what are my action items", or gives a GitHub issue/PR number or URL to summarize and choose from.4---56# Decision78## Why this skill exists910After a long stretch of work — or when reading a GitHub issue full of open questions — the user is handed either a wall of prose ("I did X, Y, Z... let me know what you think about the auth approach") or nothing at all, and has to reconstruct the actual choice themselves. This skill's only job is to close that gap: take whatever decision is pending, strip it down to plain language, and hand it back as an **explicit numbered menu** — never as freeform prose the user has to parse and reply to in kind.1112The *menu* is the contract. The *mechanism* that renders it is a platform detail.1314## Validation tier1516Tier 0 (edit-time). This skill runs no repository validation and makes no commits.1718## Resolve the interaction mechanism (do this first)1920Read `core/capabilities/platforms.json` and look up `ask_user_question` for the current platform.2122| `ask_user_question` status | Mechanism |23|---|---|24| `native` / `native-experimental` | Call the **AskUserQuestion** tool. Preferred — it renders a real picker and captures a structured answer. |25| `partial` / `emulated` / `adapter` | Use the tool if it is actually present in this session; otherwise fall back to the numbered-options block below. |26| `unsupported` / `unknown` / registry unreadable | Use the **numbered-options fallback**. Do not announce a missing feature; just render the menu. |2728Cheap runtime check when the registry cannot be read: if the `AskUserQuestion` tool is listed in this session's tools, it is available. Never call it speculatively to find out.2930### Numbered-options fallback (portable, always valid)3132```33<1–3 sentence plain-language summary>3435Which do you want?36 1) <option label> — <one clause on what it means>37 2) <option label> — <one clause>38 3) <option label> — <one clause>39 4) Something else — tell me what.4041Reply with a number.42```4344Rules the fallback inherits from the tool path, unchanged:45- summary **before** the menu, always;46- 2–4 mutually exclusive options, grounded in real context;47- recommended option first, labelled `(Recommended)`;48- an explicit escape hatch (option 4 above) standing in for the tool's built-in "Other";49- one decision per menu — never fold several decisions into one block.5051## Resolve the input52531. **Argument looks like a GitHub issue/PR** — a bare number (`57`, `#57`) or a GitHub URL containing `/issues/` or `/pull/`:54 ```bash55 # Infer owner/repo from the URL, or from the current repo if none is given56 gh issue view <number> --json title,body,comments,url -R <owner/repo>57 ```58 If that 404s, or the URL/context says `/pull/`, retry with `gh pr view` instead. If no repo can be inferred (not inside a git checkout, ambiguous), ask the user which repo before fetching.5960 `gh` is an **optional** capability. If `github_cli` is unavailable on this platform, say so plainly and ask the user to paste the issue text — never silently skip the decision.61622. **Argument is non-empty text** — treat it as a topic/description, not a literal ID. Search the current conversation for the decision it best matches. Numbers like "141" in a user's example phrasing are illustrative, not a real numbering scheme to look up — match on content, not on the digits.63643. **No argument** — scan the whole current conversation for every unresolved decision or action item (places where work was completed but a choice was deferred, a question was raised and never answered, or the conversation explicitly says something is "waiting on you").65664. **An objective is active** — if `.dev-files/objectives/<id>/objective.json` exists and the decision came out of that work, name the objective in the summary line so the user knows which piece of work is waiting on them.6768## Summarize in plain language6970Before presenting any menu, write 1–3 sentences with no jargon:71- What needs to be decided.72- Why it matters, in one clause — not a re-explanation of the whole implementation.7374Assume the user already saw the work leading up to this point; the summary orients them, it doesn't re-teach them.7576## Present the choice7778Never ask a decision in bare prose and never accept "just reply with your answer" in place of a menu. Render it through whichever mechanism the capability lookup selected:7980**AskUserQuestion path** (Claude Code / Claude Desktop):81- `question`: the decision framed as a question (e.g. "Which secret backend should we use?").82- `header`: ≤12 chars naming the decision's topic.83- `options`: 2–4 mutually exclusive choices **grounded in what was actually discussed** — in the conversation, or in the issue body/comments. Do not invent options nobody raised. If the conversation's own reasoning points to a clear best choice, put it first and add "(Recommended)" to its label.84- If the decision is genuinely open-ended with no natural short list, offer the smallest sensible set of anchor options — the tool's built-in "Other" already covers anything not listed, so never leave `options` empty to compensate.8586**Fallback path** (Cursor, Codex, Gemini CLI, OpenCode, or any session without the tool): render the numbered-options block above. Same option-sourcing rules, same recommendation rule, plus the explicit "Something else" escape hatch.8788## Multiple decisions: walk through one at a time8990Triggered by an empty-argument scan that finds more than one item, or an explicit "walk me through" request:91921. First, list what was found — one short line per decision — so the user sees the whole set before diving in.932. Present each decision **on its own**, in the order it came up: one AskUserQuestion call each, or one numbered block each. Wait for the answer before moving to the next one — never batch several decisions into a single multi-question call or a single combined menu.943. After the last one, recap all choices made in a short list, one line per decision.9596## Edge cases9798- **Nothing pending** (empty-argument scan finds no open decisions): say so plainly and stop. Don't invent a decision to justify the menu.99- **Ambiguous text match** (the argument could refer to more than one candidate decision): list the candidates briefly and ask which one — via the same mechanism — before proceeding; don't guess which one they meant.100- **`gh` fetch fails or `gh` is absent**: report it plainly (don't retry silently) and fall back to asking the user to paste the decision directly.101- **Capability registry missing**: fall back to numbered options. A missing registry never blocks a decision.102103## After the answer104105State the user's choice back in one line, then continue with whatever the obvious next step is (implementing the chosen option, closing out the loop) if that's clearly part of the same turn. This skill's job ends at capturing an explicit decision — not at re-litigating it.106107## Hard rules108109- Never fabricate options that weren't grounded in the conversation, the issue body, or its comments.110- Never batch multiple decisions into one menu during a walkthrough — one at a time, always.111- Never present a bare menu with no plain-language summary first.112- Never swallow a `gh` fetch error — surface it and fall back to asking the user directly.113- Never treat AskUserQuestion as required. It is an enhancement; the numbered fallback is the portable contract and must produce the same decision quality.114- Never call AskUserQuestion "to see if it works". Resolve availability from the capability registry or the session's tool list first.115116## Examples117118| Input | Behavior |119|---|---|120| `display decision 141 to me simply and let me choose` | "141" isn't a real ID — treat as freeform text, match against the conversation's closest open decision. If none found, say so. |121| *(empty, right after finishing a long task)* `waiting for your decision about X` | Scan the conversation; likely one open decision — summarize and ask immediately. |122| `summarize issue #57 and give me options` | `gh issue view 57`, summarize plainly, build options from the issue body/discussion. |123| `walk me through the open decisions` | Scan conversation for all pending items, list them, then walk through sequentially. |124| Same request on Codex / Gemini CLI / OpenCode | Identical summary and identical option set — rendered as a numbered block instead of a picker. |