agentleFS
Tamircohen28Tamircohen28/tamirs-superpowers/skills/dev-workflow/decision/SKILL.md

decision

Skill2 starsChanged 3 months agoMITView on GitHub

Use when the user must pick between options — an agent has finished work and needs them to choose how to proceed, the user was told "waiting for your decision about X", or they say "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", "give me a menu of choices", or give a GitHub issue/PR number or URL.

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use brief, plan and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read core/capabilities/platforms.json and look up ask_user_question for the current platform.

    line 62
  2. Very specific:

    If that 404s, or the URL/context says /pull/, retry with gh pr view instead.

    line 100
  3. Distinctive:

    Before presenting any menu, write 1–3 sentences with no jargon:

    line 112
  4. Distinctive:

    Never ask a decision in bare prose and never accept "just reply with your answer" in place of a menu.

    line 120
  5. Very specific:

    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 …

    line 126
  6. Distinctive:

    After the last one, recap all choices made in a short list, one line per decision.

    line 136
  7. Distinctive:

    Never fabricate options that weren't grounded in the conversation, the issue body, or its comments.

    line 151
  8. Distinctive:

    Never batch multiple decisions into one menu during a walkthrough — one at a time, always.

    line 152
  9. Distinctive:

    Never present a bare menu with no plain-language summary first.

    line 153
  10. Very specific:

    Never swallow a gh fetch error — surface it and fall back to asking the user directly.

    line 154
  11. Distinctive:

    Never treat AskUserQuestion as required.

    line 155
  12. Distinctive:

    Never call AskUserQuestion "to see if it works".

    line 156

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 statusMechanism
native / native-experimentalCall the AskUserQuestion tool. Preferred — it renders a real picker and captures a structured answer.
partial / emulated / adapterUse the tool if it is actually present in this session; otherwise fall back to the numbered-options block below.
unsupported / unknown / registry unreadableUse 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

  1. 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.

  2. 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.
  3. 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").
  4. 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:

  1. First, list what was found — one short line per decision — so the user sees the whole set before diving in.
  2. 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.
  3. 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

InputBehavior
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 XScan the conversation; likely one open decision — summarize and ask immediately.
summarize issue #57 and give me optionsgh issue view 57, summarize plainly, build options from the issue body/discussion.
walk me through the open decisionsScan conversation for all pending items, list them, then walk through sequentially.
Same request on Codex / Gemini CLI / OpenCodeIdentical summary and identical option set — rendered as a numbered block instead of a picker.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.