agentleFS
kestevakesteva/soloflow/skills/clarify-idea/SKILL.md

clarify-idea

Skill40 starsChanged 8 months agoMITView on GitHub

This skill should be used when a raw user idea is ambiguous and needs conversational disambiguation before structured extraction or planning. Provides a clarification loop with ambiguity checklist, scope-decomposition gate, one-question-at-a-time probing, and a readiness gate.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. zhouzilai626/clarify-idea-skill★ 3same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If all five are present, skip this skill and proceed directly to extraction.

    line 21
  2. Distinctive:

    If the input spans multiple independent subsystems or deliverables (e.g., "redesign onboarding AND add a notifications center AND refactor …

    line 35
  3. Very specific:

    One AskUserQuestion at a time: Never batch clarification questions.

    line 48
  4. Distinctive:

    Keep going until the checklist at the top of this file is satisfied — every item has a clear answer.

    line 57
  5. Distinctive:

    If the user picks "Keep clarifying," return to the clarification loop.

    line 72
  6. Distinctive:

    When the gate passes, produce a clarified brief in this exact shape and hand it to the caller:

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Clarify Idea

This skill encodes a short conversational clarification loop to run before structured idea extraction or task refinement, when the raw input is too ambiguous to extract cleanly. It is instructional — the calling agent drives the loop using its own AskUserQuestion tool. This skill does not spawn subagents.

When to invoke

Apply this checklist to the raw input. If any item is missing or unclear, invoke the loop:

  • Goal — what outcome does the user want?
  • Target user / surface — who/what is affected? Which screen, file, subsystem?
  • Success signal — how will the user know it worked?
  • Scope boundary — what is explicitly in or out of scope?
  • Grounding — does the input reference concrete files, functions, features, or existing behavior?

If all five are present, skip this skill and proceed directly to extraction. Running the loop on an already-clear input is a cost, not a benefit.

Opt-out signals the caller must honor:

  • --skip-clarify anywhere in the arguments
  • config.phases.clarify === false in .soloflow/config.json or config/defaults.yaml

Anti-pattern

"This is too simple to need clarification."

The ambiguity checklist is the judge, not your intuition. Cheap to run, cheap to skip. Do not debate whether to invoke — apply the checklist.

Scope-decomposition gate (runs first)

If the input spans multiple independent subsystems or deliverables (e.g., "redesign onboarding AND add a notifications center AND refactor the API client"), stop immediately. Do NOT begin clarification on the whole thing.

Use AskUserQuestion:

  • Question: "This request covers multiple independent pieces. Which one do you want to work on first?"
  • Header: "Pick one"
  • Options: one per detected subsystem, plus a free-form "something else" fallback.

Clarify only the selected piece. The others can be captured as separate ideas later.

Clarification loop

Rules (hard):

  1. One AskUserQuestion at a time. Never batch clarification questions. Each answer informs the next question.
  2. Prefer multiple-choice. Offer 2–4 concrete, mutually distinct candidate answers, plus the built-in free-form fallback the tool provides. Avoid open-ended prompts unless the space is genuinely unbounded.
  3. Follow threads. An answer may reveal a new ambiguity — follow it. Examples:
    • Vague term → "When you say X, do you mean A, B, or C?"
    • Interpretation fork → "Two reasonable reads of this: which did you mean?"
    • Missing example → "Would {concrete scenario} count as success?"
  4. Lightweight research is allowed, not required. One targeted Grep / Glob (or a single WebSearch for unfamiliar domain terms) is fine to frame better candidate answers. Never use research as a substitute for asking the user.
  5. Do not propose slices, tasks, or implementations. This skill only disambiguates the ask. Structuring is the idea-extractor's job; planning is the task-refiner's job.

Keep going until the checklist at the top of this file is satisfied — every item has a clear answer.

Readiness gate (HARD-GATE)

Once you believe the checklist is satisfied, present an explicit confirmation via AskUserQuestion:

  • Question: "I think I understand what you want. Ready to extract the idea?"
  • Header: "Ready?"
  • Options:
    • "Extract now" — proceed
    • "Keep clarifying" — loop returns to the clarification loop
    • "Cancel" — abort; caller stops without writing anything

You MUST NOT proceed to extraction until "Extract now" is selected. This is a hard gate — the anti-pattern is declaring readiness yourself and skipping the user confirmation.

If the user picks "Keep clarifying," return to the clarification loop. There is no retry limit; loop until the user confirms.

Output: clarified brief

When the gate passes, produce a clarified brief in this exact shape and hand it to the caller:

## Raw Input

{Verbatim $ARGUMENTS the user passed in}

## Clarification Transcript

- Q: {question 1}
  A: {user answer 1}
- Q: {question 2}
  A: {user answer 2}
{...}

## Synthesis

{One concise paragraph restating the now-clarified ask, incorporating every
answer above. This is the canonical interpretation the downstream
idea-extractor should treat as the ask.}

The synthesis paragraph is canonical. The raw input and transcript are context only.

Reuse

This skill is designed to be invoked by any command that accepts a free-form user ask and needs to disambiguate before structuring — currently /soloflow:idea-extractor, and reusable by /soloflow:quick for ambiguous bug reports.

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.