xiaohongshu
xiaohongshu
cc-askuserquestion
Use when designing AskUserQuestion tool calls - covers schema constraints, effectiveness patterns, and known issues.
Full skill instructions
Structured user input for clarifying requirements and gathering decisions.
{
questions: Array<{
// 1-4 questions per call
question: string; // Full question text, ends with "?"
header: string; // Max 12 chars, displayed as chip/tag
multiSelect: boolean; // true = multiple selections allowed
options: Array<{
// 2-4 options per question
label: string; // 1-5 words, concise and scannable
description: string; // Explains implications and trade-offs
}>;
}>;
}
Constraints:
Labels should be scannable, descriptions should provide context.
// GOOD - concise label, detailed description
{
label: "Immediate failure",
description: "Fail fast and expose errors to caller immediately. Best for debugging."
}
// BAD - everything crammed into label
{
label: "Fail fast and expose errors immediately to the caller",
description: "Good for debugging"
}
Place recommended option first with "(Recommended)" suffix:
options: [
{ label: "JWT tokens (Recommended)", description: "Stateless, scalable..." },
{ label: "Session cookies", description: "Simpler but requires state..." },
{ label: "OAuth only", description: "Delegates auth entirely..." },
];
// multiSelect: true - user can pick multiple
{
question: "Which OAuth providers should we support?",
header: "Providers",
multiSelect: true,
options: [
{ label: "Google", description: "Widest adoption" },
{ label: "GitHub", description: "Developer-focused" },
{ label: "Microsoft", description: "Enterprise integration" }
]
}
Phase 1 - Interview: Use AskUserQuestion to gather requirements Phase 2 - Specification: Produce written spec from answers Phase 3 - Execution: Implement with ambiguity eliminated
This reduces rework by 50-80% compared to assumption-driven development.
When PreToolUse hooks are active, AskUserQuestion may return empty responses without showing UI.
Workaround: Use PermissionRequest hook instead of PreToolUse. Both hooks fire for AskUserQuestion, but PermissionRequest is semantically correct for user-input scenarios and avoids the stdin/stdout conflict.
See cc-writing-hooks skill for implementation example.
AskUserQuestion only works in main conversation thread, not from Task tool subagents.
Issues reported when bypass permissions enabled. Test in your environment.
Guidance for using AskUserQuestion works similarly regardless of source:
All end up in Claude's context. No documented performance difference.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience