agentleFS
liqiongyuliqiongyu/my-agents/skills/clarify/SKILL.md

clarify

Skill29 starsChanged 9 months agoMITView on GitHub

Hybrid workflow for turning ambiguous implementation requests into actionable scope before execution. Use explicitly when the user asks to clarify requirements, disambiguate a request, or spec a change before building it. Activate automatically only when an implementation-oriented request contains direct contradictions, missing acceptance criteria that would materially change the build, or an explicit request to proceed with documented assumptions. Do not activate for open-ended direction-finding, brainstorming, or already-specific actionable tasks.

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use overdrive, adapt and 10 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.
  • nikafastovets-langSkill

    overdrive

    Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?

    Also in 11 projects that use this

  • mtctSkill

    adapt

    Adapt designs to work across different screen sizes, devices, contexts, or platforms. Ensures consistent experience across varied environments.

    Also in 17 projects that use this

  • mtctSkill

    quieter

    Tone down overly bold or visually aggressive designs. Reduces intensity while maintaining design quality and impact.

    Also in 16 projects that use this

  • nikafastovets-langSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.

    Also in 6 projects that use this

  • zwy123zwySkill

    normalize

    将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。

    Also in 10 projects that use this

  • mickeylorenziniSkill

    harden

    Audits any substantial deliverable — documents, grant sections, strategies, protocols, skills, configs, roadmaps, plans — against domain-specific quality criteria before delivery. Searches the web for best practices, runs dual-pass thematic and structural audit with severity classification, fixes all issues, and iterates until convergence. Activates when producing deliverables exceeding 4 paragraphs or 20 lines, or when the user says "harden", "audit", "stress test", or "review before delivering", or when re-auditing a modified deliverable for regressions. Does not activate for conversational responses, brainstorming, web search summaries, or rough drafts.

    Also in 14 projects that use this

  • +4 more from mtct
  • +1 more from nikafastovets-lang

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 15 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 15

    Distinctive

    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:

    Read-only explanation, code reading, or search tasks where no implementation decision is blocked

    line 33
  2. Distinctive:

    Minimum viable clarification: Ask only what would materially change the implementation.

    line 51
  3. Distinctive:

    Document decisions: Every resolved ambiguity should be traceable to evidence, best practice, user choice, or explicit assumption.

    line 52
  4. Very specific:

    Stay out of brainstorming territory: If the real issue is choosing a direction rather than clarifying requirements, hand off to …

    line 53
  5. Distinctive:

    Match the user's tempo: If they say "proceed" or "don't ask," switch to autonomous clarification and record assumptions instead of …

    line 54
  6. Distinctive:

    Read related files, tests, docs, and instruction files

    line 84
  7. Distinctive:

    Check recent history or existing conventions when they can answer scope questions

    line 85
  8. Distinctive:

    Only T3 items should generate questions for the user.

    line 96
  9. Distinctive:

    If T3 decisions remain, choose the lightest mode that will safely unblock the task.

    line 102
  10. Distinctive:

    Stop early if the user says to proceed or defer to your judgment

    line 111
  11. Distinctive:

    If you changed the runtime projections, regenerate them from the canonical package instead of hand-editing the projected copies:

    line 158
  12. Distinctive:

    Over-asking: Do not create a questionnaire when one decision is the only real blocker.

    line 166
  13. Distinctive:

    Open-ended fumbling: Avoid "what do you want?" when you could offer concrete hypotheses.

    line 167
  14. Distinctive:

    Premature implementation: Do not code through unresolved HIGH-risk contradictions.

    line 168
  15. Distinctive:

    Ignoring evidence: Do not ask about things the repository, docs, or tests already answer.

    line 169
  16. Distinctive:

    Brainstorming drift: Do not use clarification as a substitute for genuine option exploration or strategy work.

    line 171

“Common” is measured: kept by at least 6 in 10 of the 39 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

Clarify

Resolve ambiguity before action. This skill turns vague, incomplete, or contradictory implementation requests into precise, actionable scope through structured clarification or documented assumptions.

Invocation posture: hybrid. Prefer explicit invocation. Automatic activation should stay limited to high-confidence implementation ambiguity, not general idea exploration.

When To Activate

  • The user explicitly asks to clarify requirements, disambiguate a request, or spec a change before implementation
  • An implementation request contains direct contradictions or mutually exclusive constraints
  • Acceptance criteria or scope boundaries are missing in a way that would materially change what gets built
  • The user asks you to proceed with assumptions and those assumptions need to be made explicit
  • Multiple plausible implementations exist and choosing among them would change files, APIs, or user-visible behavior

When Not To Use

  • Open-ended option exploration, strategy work, or direction-finding; use brainstorming
  • Requests that mainly ask "what should we do?" rather than "what exactly should we build?"
  • Specific actionable tasks with clear files, error messages, or expected outcomes
  • Read-only explanation, code reading, or search tasks where no implementation decision is blocked
  • Cases where the user explicitly says to proceed without questions and there is no contradiction or material ambiguity to surface

Outcome

Produce the smallest clarification artifact that unblocks execution:

  • A concise clarification summary with clarified scope, key decisions, and out-of-scope items
  • A short set of hypothesis-driven user questions when genuine T3 judgments remain
  • An assumptions log when running non-interactively or when the user wants you to proceed without waiting

Core Principles

  1. Contradictions first, details second. Resolve conflicting goals before discussing implementation detail.
  2. Research before asking. Mine the codebase, docs, tests, history, and current conversation first.
  3. Hypotheses, not open questions. Offer plausible options with a recommendation instead of asking the user to design the answer from scratch.
  4. Minimum viable clarification. Ask only what would materially change the implementation.
  5. Document decisions. Every resolved ambiguity should be traceable to evidence, best practice, user choice, or explicit assumption.
  6. Stay out of brainstorming territory. If the real issue is choosing a direction rather than clarifying requirements, hand off to brainstorming.
  7. Match the user's tempo. If they say "proceed" or "don't ask," switch to autonomous clarification and record assumptions instead of interrogating them.
  8. Follow the user's language. User-facing questions, summaries, and assumptions logs should use the user's language.

Workflow

Phase 0 — Detect and Assess

Capture the request and classify the ambiguity:

  • Stated goals: What they explicitly asked for
  • Implicit goals: What they probably want but didn't say
  • Constraints mentioned: Any boundaries, deadlines, or requirements stated
  • Gaps: What's missing that you'd need to know to implement confidently
  • Ambiguity types: contradiction, vagueness, incompleteness, scope ambiguity, behavioral ambiguity, terminology, priority ambiguity
  • Risk level:
    • LOW: single obvious interpretation; proceed
    • MEDIUM: some ambiguity; ask 1-3 targeted questions if needed
    • HIGH: destructive or high-impact ambiguity; clarify before action
  • Confidence check:
    • 90-100%: proceed and note assumptions inline
    • 70-89%: quick clarification
    • below 70%: full clarification flow

Phase 1 — Research Before Asking

Gather evidence before asking the user anything:

  • Read related files, tests, docs, and instruction files
  • Check recent history or existing conventions when they can answer scope questions
  • Reuse conversation context, mentioned files, and surrounding patterns

Classify each ambiguity into decision tiers:

TierDefinitionAction
T1 — Evidence existsCodebase, docs, or conventions answer the questionResolve autonomously, cite evidence
T2 — Best practice consensusClear industry standard or framework convention appliesResolve autonomously, note the standard
T3 — Judgment callConflicting evidence, subjective preference, or novel decisionMust ask the user

Only T3 items should generate questions for the user. T1 and T2 items are resolved autonomously with documented reasoning.


Phase 2 — Clarify Interactively Or Autonomously

If T3 decisions remain, choose the lightest mode that will safely unblock the task.

Interactive clarification

  • Present 2-4 concrete options, not open-ended prompts
  • Include a recommendation and short rationale
  • Batch only related questions
  • Default limits:
    • MEDIUM risk: 1-3 questions
    • HIGH risk: 3-7 questions
  • Stop early if the user says to proceed or defer to your judgment

Autonomous clarification

  • Resolve T1 with evidence
  • Resolve T2 with best-practice defaults
  • Resolve T3 with the least surprising, most reversible choice
  • Mark human-review assumptions clearly so they can be overridden later

See templates.md for question patterns, example wording, and an assumptions-log template.


Phase 3 — Deliver And Hand Off

Summarize only what execution needs next:

  • Original request
  • Clarified scope
  • Key decisions with source labels (T1, T2, T3)
  • Out of scope
  • Remaining uncertainties or assumptions that still need review

Then hand off appropriately:

  • proceed to implementation when scope is now clear
  • hand off to implementation-planning if the clarified task still needs a deep technical plan
  • hand off to brainstorming if the unresolved issue is choosing a direction
  • hand off to deep-research if clarification reveals a research-first problem
  • hand off to review if the user wants existing work evaluated against clarified criteria

For reusable output patterns, context-specific prompts, and cross-skill boundaries, see:

  • templates.md
  • context-and-handoffs.md

Validation

Validate the canonical package and its durable fixtures before shipping changes:

  • uv run python skills/skill-lifecycle-manager/scripts/quick_validate.py skills/clarify
  • uv run python skills/skill-lifecycle-manager/scripts/validate_eval_suite.py skills/clarify/eval/eval-cases.json
  • uv run python skills/skill-lifecycle-manager/scripts/validate_projection.py skills/clarify --platform all

If you changed the runtime projections, regenerate them from the canonical package instead of hand-editing the projected copies:

  • uv run python skills/skill-lifecycle-manager/scripts/project_skill.py skills/clarify --platform all

Anti-Patterns to Avoid

  • Over-asking: Do not create a questionnaire when one decision is the only real blocker.
  • Open-ended fumbling: Avoid "what do you want?" when you could offer concrete hypotheses.
  • Premature implementation: Do not code through unresolved HIGH-risk contradictions.
  • Ignoring evidence: Do not ask about things the repository, docs, or tests already answer.
  • Analysis paralysis: LOW-risk ambiguity is often best handled with a stated assumption and forward motion.
  • Brainstorming drift: Do not use clarification as a substitute for genuine option exploration or strategy work.

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.