一键导入
ask-questions-if-underspecified
Ask the minimum clarifying questions before implementation when requirements are ambiguous or missing crucial details
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Ask the minimum clarifying questions before implementation when requirements are ambiguous or missing crucial details
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Creates structured plans from requirements. Generates comprehensive plans with steps, dependencies, risks, and success criteria. Coordinates with specialist agents for planning input and validates plan completeness. Uses template-renderer for formatted output.
Create, validate, and convert skills for the agent ecosystem. Enforces standardized structure for consistency. Enables self-evolution by creating new skills on demand, converting MCP servers and codebases to skills.
Research-backed skill refresh workflow for updating existing skills with TDD checkpoints, memory-aware integration, and EVOLVE/reflection trigger handling.
Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.
Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.
N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.
| name | ask-questions-if-underspecified |
| description | Ask the minimum clarifying questions before implementation when requirements are ambiguous or missing crucial details |
| version | 1.2.0 |
| category | Planning & Architecture |
| agents | ["planner","developer","architect"] |
| model | sonnet |
| invoked_by | both |
| user_invocable | true |
| tools | ["Read","Write","Bash"] |
| tags | ["clarification","requirements","underspecified","questions","scope","ambiguity"] |
| verified | true |
| lastVerifiedAt | "2026-03-01T00:00:00.000Z" |
| best_practices | ["Follow existing project patterns","Document all outputs clearly","Handle errors gracefully"] |
| error_handling | graceful |
| streaming | supported |
| source | builtin |
| trust_score | 100 |
| provenance_sha | 5fa7e785c76f411b |
Identify which aspects are unclear or missing:
Do NOT ask about things you can determine by reading existing code and conventions.
Categorize each candidate question:
| Type | Ask or Decide? |
|---|---|
| Scope boundary (what to include) | Ask |
| Non-functional requirement (perf/security target) | Ask |
| Acceptance criteria | Ask |
| Implementation approach | Decide yourself |
| Code style / naming | Decide yourself (follow existing patterns) |
| Nice-to-have polish | Decide yourself (proceed with sensible default) |
For each blocking question:
Format:
I'll [proceed with X default assumption]. Quick questions before I start:
1. [Specific question]? (default: [assumption])
2. [Specific question]? (default: [assumption])
</execution_process>
<best_practices>
</best_practices>
**Example — Underspecified feature request:**User: "Add a search feature to the dashboard"
Good response:
I'll implement client-side search with debouncing and case-insensitive matching. Quick questions before I start:
1. Should search cover all columns or just the name/title column? (default: name/title only)
2. Should results filter in place or open in a new panel? (default: filter in place)
Bad response:
Before I start, I need to know:
1. What search algorithm should I use?
2. Should it be case sensitive?
3. What debounce delay?
4. Should I use a library?
5. How many results to show?
</usage_example>
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Asking 5+ questions before starting | Paralyzes user; feels like interrogation | Triage to max 3 blocking questions; decide the rest |
| Asking about implementation approach | That is the agent's job, not the user's | Ask about scope/constraints/acceptance criteria only |
| Questions without defaults | User must think from scratch; slower feedback loop | Always state: "default: X — correct?" |
| Sequential questioning (one at a time) | Creates a slow back-and-forth waterfall | Batch all questions into one message |
| Asking things visible in the codebase | Shows insufficient research effort | Read existing conventions before asking |
Before starting:
cat .claude/context/memory/learnings.md
After completing:
.claude/context/memory/learnings.md.claude/context/memory/issues.md.claude/context/memory/decisions.mdASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.