Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Pattern for effectively interacting with users to gather information or get decisions. Use when you need user input.
.claude/skills/majiayu000-ask-user/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-13 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-17 | ✓→✗ | ▼ Worse | 33% | 0% |
| case-01 | ✓→✓ | = Same ✓ | -26% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -1% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -18% | 0% |
Pattern for effective user interaction.
Bad: "What do you want?" Good: "Should authentication use JWT or sessions?"
AskUserQuestion(
questions: [
{
question: "Which authentication method should we use?",
header: "Auth method",
options: [
{ label: "JWT", description: "Stateless, good for APIs" },
{ label: "Sessions", description: "Stateful, good for web apps" }
],
multiSelect: false
}
]
)Explain WHY you're asking:
Ask related questions together:
questions: [
{ question: "Auth method?", ... },
{ question: "Token expiry?", ... },
{ question: "Refresh token?", ... }
]"You mentioned 'fast' - do you mean response time < 100ms or just faster than current?"
"I understand you want X, Y, and Z. Is this correct?"
"Option A has pros/cons]. Option B has pros/cons]. Which do you prefer?"
"Should this also handle related case] or just original request]?"
Other measured skills in the registry, with their headline benchmark lift.