ajbcoding/claude-skill-eval/moai-alfred-ask-user-questions
- community
Checking that the SKILL.md file is still in the repository.
Enterprise interactive survey orchestrator with AskUserQuestion tool integration, multi-select support, conditional branching, error recovery, and production-grade decision automation across all Alfred workflows; activates for requirement clarification, architectural decisions, risky operations, feature selection, and complex multi-step user interactions
Install
npx vskill@latest install ajbcoding/claude-skill-eval/moai-alfred-ask-user-questionsSKILL.md
Enterprise Interactive Survey Orchestrator v4.0.0
Skill Metadata
| Field | Value | |
|---|---|---|
| Skill Name | moai-alfred-ask-user-questions | |
| Version | 4.0.0 Enterprise (2025-11-12) | |
| Core Tool | AskUserQuestion (Claude Code built-in) | |
| Auto-load | When Alfred detects ambiguity in requests | |
| Tier | Alfred (Workflow Orchestration) | |
| Allowed tools | AskUserQuestion | |
| Lines of Content | 850+, with 10+ production examples | |
| Progressive Disclosure | 3-level (quick-reference, patterns, advanced) |
π What It Does (Enterprise Context)
Purpose: Empower Alfred sub-agents to actively conduct enterprise-grade surveys for requirement clarification, architectural decisions, and complex decision automation.
Leverages Claude Code's native AskUserQuestion tool to collect explicit, structured user input that transforms vague requests into precise specifications with guaranteed UX quality across all models.
Enterprise Capabilities:
- β Single-select & multi-select option types (independent or dependent)
- β 1-4 questions per survey (cognitive load optimization)
- β 2-4 options per question with trade-off analysis
- β Automatic "Other" option for custom input validation
- β Conditional branching based on user answers
- β Error recovery and retry logic
- β Integration across all Alfred commands (Plan/Run/Sync)
- β Multi-language support (user's configured language)
- β Accessibility-first TUI design
- β Reduces ambiguity β single interaction vs 3-5 iterations
π― When to Use (Decision Framework)
β MANDATORY ASK when user intent is ambiguous:
- Vague noun phrases: "Add dashboard", "Refactor auth", "Improve performance"
- Missing concrete specification or scope
- Missing scope definition: No specification of WHERE, WHO, WHAT, HOW, WHEN
- Could affect 5+ files or multiple modules
- Multiple valid paths: β₯2 reasonable implementation approaches
- Different trade-offs (speed vs quality, simple vs comprehensive)
- Trade-off decisions: Performance vs reliability, cost vs features
- No single objectively best answer
- Risky operations: Destructive actions (delete, migrate, reset)
- Explicit informed consent required
- Architectural decisions: Technology selection, API design, database choice
- Long-term impact requires clarification
β DON'T ask when:
- User explicitly specified exact requirements
- Decision is automatic (no choices, pure routing)
- Single obvious path exists (no alternatives)
- Quick yes/no confirmation only (keep it brief)
- Information already provided in conversation
π¨ Design Principles (Enterprise Standards)
Core Principle: Certainty Over Guessing
Golden Rule: When in doubt, ask the user instead of assuming.
Why:
- β User sees exactly what you'll do β no surprises
- β Single interaction vs 3-5 rounds of back-and-forth
- β Fast β execute with certainty
- β Reduces "vibe coding" frustration
- β Builds trust through transparency
Pattern:
ποΈ Architecture: 3-Level Progressive Disclosure
Level 1: Quick Start (Minimal Invocation)
Single-Select Pattern:
Multi-Select Pattern (independent features):
Level 2: Enterprise Patterns
Batch Questions (related decisions):
Conditional Flow (dependent decisions):
Level 3: Advanced (Error Handling & Validation)
Custom Input Validation ("Other" option):
Error Recovery:
Risky Operation Confirmation:
π Key Constraints (TUI Optimization)
| Constraint | Reason | Example | |
|---|---|---|---|
| 1-4 questions max | Avoid user fatigue | Use follow-up surveys instead | |
| 2-4 options per Q | Prevent choice overload | Avoid 5+ options (decision paralysis) | |
| Header β€12 chars | TUI layout fit | "DB Choice" not "Which Database Technology" | |
| Label 1-5 words | Quick scanning | "PostgreSQL" not "SQL Database by PostgreSQL" | |
| Description required | Enables informed choice | Always explain trade-offs | |
| Auto "Other" option | Always available | System adds automatically for custom input | |
| No HTML/markdown | Plain text TUI | Use formatting sparingly | |
| Language matching | User experience | Always match configured conversation_language |
π Integration with Alfred Sub-agents
| Sub-agent | When to Ask | Example Trigger | Questions | |
|---|---|---|---|---|
spec-builder (/alfred:1-plan) | SPEC title vague, scope undefined | "Add feature" without specifics | "Feature type?", "Scope?", "Users affected?" | |
tdd-implementer (/alfred:2-run) | Implementation approach unclear | Multiple valid implementation paths | "Architecture?", "Libraries?", "Constraints?" | |
doc-syncer (/alfred:3-sync) | Sync scope unclear | Full vs partial sync decision | "Full sync?", "Which files?", "Auto-commit?" | |
| qa-validator | Review depth unclear | Quick vs comprehensive check | "Review level?", "Security focus?", "Performance?" |
π Top 10 Usage Patterns
Pattern 1: Feature Type Clarification
Trigger: "Add dashboard feature" without specifics Question: "Which dashboard type: Analytics, Admin, or Profile?" Outcome: Narrowed scope β faster implementation
Pattern 2: Implementation Approach Selection
Trigger: Multiple valid tech choices Question: "JWT tokens, session-based, or OAuth?" Outcome: Locked architecture β deterministic development
Pattern 3: Risky Operation Confirmation
Trigger: Destructive action (delete, migrate, reset) Question: "This will delete X. Proceed?" with retry confirmation Outcome: Explicit consent + audit trail
Pattern 4: Multi-Feature Selection
Trigger: "Which features to enable?" Question: Multi-select of independent features Outcome: Precise feature set β no scope creep
Pattern 5: Sequential Conditional Decisions
Trigger: Dependent choices (Q2 depends on Q1) Question: First survey β follow-up based on answer Outcome: Progressive narrowing β precise specification
Pattern 6: Technology Stack Selection
Trigger: "Build with what stack?" Question: Database, cache, queue, API type Outcome: Full stack locked β team alignment
Pattern 7: Performance vs Reliability
Trigger: Trade-off between conflicting goals Question: "Optimize for speed, reliability, or cost?" Outcome: Explicit requirements β informed trade-offs
Pattern 8: Custom Input Handling
Trigger: "Other" option selected Question: "Please describe..." with validation Outcome: Unexpected inputs handled gracefully
Pattern 9: Experience Level Calibration
Trigger: Unclear target audience Question: "Beginner, intermediate, or advanced?" Outcome: Content adapted to expertise level
Pattern 10: Approval Workflow
Trigger: Major decision needs consensus Question: Multi-team approval with options Outcome: Documented decision with stakeholder buy-in
β Best Practices Summary
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 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 repositoryCheckingskills/moai-alfred-ask-user-questions/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 10 May 2026, 5 months ago.
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/ajbcoding/claude-skill-eval/moai-alfred-ask-user-questions)