oaustegard/claude-skills/asking-questions
Claude Code and agent skill by oaustegard/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Guidance for asking clarifying questions when user requests are ambiguous, have multiple valid approaches, or require critical decisions. Use when implementation choices exist that could significantly affect outcomes.
Install
npx vskill@latest install oaustegard/claude-skills/asking-questionsSKILL.md
Asking Questions
Purpose
Ask clarifying questions when the answer materially changes what you'll build. This skill helps identify when to ask, how to structure questions effectively, and when to proceed autonomously.
When to Use
Ask questions for:
- Ambiguous implementation choices - Multiple valid technical approaches (middleware vs wrapper functions, library selection, architectural patterns)
- Missing critical context - Specific information needed (database type, deployment platform, credential management)
- Potentially destructive actions - Requests that could be interpreted dangerously ("clean up files" = delete vs archive)
- Scope clarification - Vague terms like "refactor," "optimize," or "improve"
- Conflicting requirements - Goals that may work against each other ("make it faster" + "add extensive logging")
- Technical trade-offs - Solutions with different costs/benefits depending on priorities
When NOT to Use
Don't ask when:
- Request is clear and unambiguous - One obvious implementation path
- You can determine the answer from context - Codebase patterns, project structure, existing conventions
- Over-clarification - Questions that don't materially affect implementation
- Standard engineering practices - Established patterns already in the codebase
Question Structure
Template
Guidelines
- Acknowledge understanding first - Show you've analyzed the situation
- "I found your API endpoints and see you're using Express..."
- Present clear options - Offer 2-5 specific choices with brief context
``` I can implement this in several ways:
- Global middleware - Catches all errors centrally (simplest)
- Wrapper functions - More granular control per endpoint
- Custom error classes - Typed errors with status codes
```
- Ask directly - Clear question that guides decision
- "Which approach fits your needs?"
- Offer autonomy (optional) - For less critical decisions
- "I can implement option 2 as it's the safest, or let me know if you prefer something else."
Progressive Disclosure
Layer questions instead of asking everything upfront:
Good ✓
- First: "For real-time updates, should I use WebSockets, Server-Sent Events, or polling?"
- Then: "For WebSockets, do you want Socket.io (easier) or native (lighter)?"
Bad ✗
- "For real-time updates should I use WebSockets or SSE or polling and if WebSockets should I use Socket.io or native and should I implement reconnection and what about authentication and..."
Examples
Good ✓
"I see you're using JWT authentication. To add refresh tokens, I can:
- httpOnly cookies - More secure, harder to XSS
- localStorage - Simpler, works with mobile apps
- In-memory only - Most secure, lost on refresh
What works best for your use case?"
Bad ✗
"How should I implement the authentication refresh token storage mechanism considering security implications, XSS vulnerabilities, mobile compatibility, UX impacts, and compliance considerations?"
Too verbose, no clear options, asks everything at once
Good ✓
"You mentioned 'clean up migrations.' Do you want me to archive them to /old-migrations or delete them entirely? (Note: deletion can break databases that haven't run them yet)"
Bad ✗
"What do you mean by clean up?"
Too vague, doesn't guide the decision
After Receiving an Answer
- Acknowledge - Confirm you understood their choice
- Proceed immediately - Don't ask if they want you to continue
- Apply preferences - If they chose "security first" once, lean that direction for similar future choices
Key Principle
Ask only when the answer materially changes what you'll build. Avoid building the wrong thing, not asking questions for the sake of asking.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingasking-questions/SKILL.md
Popularity
- Repository stars
- 151
- Repository forks
- 7
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/oaustegard/claude-skills/asking-questions)