ask-questions-if-underspecified
Skill86 starsChanged 7 months agoApache-2.0View on GitHub
Use this skill when scope ambiguity blocks progress in any SOP step (PRD, TDD, design, task decomposition). Produces a tight set of clarifying questions (max 5) that, once answered, unblock the next step. Avoids the failure mode where Agents proceed on assumption and produce wrong work. Chinese trigger examples: "需求不清", "需要澄清", "提问澄清", "范围不明", "信息不足要澄清", "ask the user". Do NOT use for exploration (use research), do NOT use to delay obvious work. Success = ≤ 5 questions, each decision-shaping, each tied to a specific PRD section.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- shreyas-makes/agent-skillstheir own version, first seen Jul 15, 2026
- MoizIbnYousaf/ai-agent-skillstheir own version, first seen Mar 13, 2026
- ParkerRex/Skillstheir own version, first seen Feb 27, 2026
- uts58/my-random-skillstheir own version, first seen Feb 23, 2026
- mzbac/skillstheir own version, first seen Jan 14, 2026
- niittymaa/multi-agent-ralph-looptheir own version, first seen Jan 3, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- MoizIbnYousaf/ai-agent-skills★ 1.1ksame name
- mzbac/skills★ 27same name
- ParkerRex/Skills★ 2same name
- shreyas-makes/agent-skills★ 2same name
- niittymaa/multi-agent-ralph-loop★ 0same name
- uts58/my-random-skills★ 0same 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 repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audit-snapshot-microSkill
- audit-snapshotSkill
- compliance-precheckSkill
- compliance-reviewSkill
- memory-curateSkill
- mocking-stubbingSkill
- openspec-apply-changeSkill
- openspec-continue-changeSkill
- openspec-new-changeSkill
- openspec-verify-changeSkill
- phi-desensitizeSkill
- prd-authorSkill
- prd-implementation-precheckSkill
- prd-precheckSkill
- prdSkill
- prompt-injection-scanSkill
- quick-fixSkill
- requesting-code-reviewSkill
- systematic-debuggingSkill
- task-decompositionSkill
- tdd-alignmentSkill
- test-data-generationSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Only ask decision-shaping questions.
- Distinctive: line 46
Keep at most 5 of type decision-shaping or compliance-touching.
- Distinctive: line 49
Never: ask "is this OK" / "should I proceed" — those are not clarifications.
“Common” is measured: kept by at least 6 in 10 of the 6 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.
Files
Ask Questions If Underspecified
The "stop and clarify" gate. Many AI Coding failures trace back to "Agent assumed X, X was wrong, 4 hours wasted." This skill catches that early.
Core principle
Only ask decision-shaping questions. If the answer changes nothing about what gets built, don't ask.
Question taxonomy
For each candidate question, classify:
| Type | Ask? | Example |
| Decision-shaping | YES | "Should L4 PHI be stored encrypted at rest or only redacted?" |
| Preference | Only if 2 acceptable paths | "Frontend React or Vue?" |
| Trivia | NO | "What color is the button?" (decide and move on) |
| Compliance-touching | ALWAYS | Anything touching tier / model / audit |
Workflow
- List unknowns surfaced from the upstream artifact (PRD / TDD / design).
- Classify each per the taxonomy.
- Keep at most 5 of type decision-shaping or compliance-touching.
- Phrase each question so the answer is bounded (multiple-choice or numeric).
- Format with AskUserQuestion tool when available; otherwise inline.
- Never ask "is this OK" / "should I proceed" — those are not clarifications.
Output
A list of ≤ 5 questions, each with:
- Header (≤ 12 chars chip label)
- Why it matters (one line)
- 2-4 mutually exclusive options (or "numeric input")
- Recommended default
Common failure modes
- Question dump — asking 15 questions exhausts the user. Cap at 5; everything else is your call.
- Open-ended phrasing — "What do you think about X?" produces non-actionable answers. Always bound.
- Asking after committing — questions came too late, work already started. Run this skill earlier in the SOP.
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
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.

