Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ask-user

БесплатноБез исполняемых скриптовНе проверен

Pattern for effectively interacting with users to gather information or get decisions. Use when you need user input.

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

Об этом скилле

Ask User Skill

Pattern for effective user interaction.

When to Load This Skill

  • You need to clarify requirements
  • You need user to make a decision
  • You have options to present

Principles

1. Be Specific, Not Open-Ended

Bad: "What do you want?" Good: "Should authentication use JWT or sessions?"

2. Offer Options When Possible

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
    }
  ]
)

3. Provide Context

Explain WHY you're asking:

  • What decision depends on this
  • What trade-offs exist
  • What you recommend and why

4. Batch Related Questions

Ask related questions together:

questions: [
  { question: "Auth method?", ... },
  { question: "Token expiry?", ... },
  { question: "Refresh token?", ... }
]

When to Ask vs Decide

ASK when:

  • Multiple valid approaches with different trade-offs
  • User preference matters
  • Scope is unclear
  • Risk of wasted work

DECIDE when:

  • Clear best practice exists
  • Low impact choice
  • Easily reversible
  • Standard convention applies

Question Types

Clarification

"You mentioned 'fast' - do you mean response time < 100ms or just faster than current?"

Confirmation

"I understand you want X, Y, and Z. Is this correct?"

Decision

"Option A has [pros/cons]. Option B has [pros/cons]. Which do you prefer?"

Scope

"Should this also handle [related case] or just [original request]?"

Установить ask-user в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

AskUserQuestion

Вложенные файлы

metadata.json

FAQ

Что делает скилл ask-user?

Pattern for effectively interacting with users to gather information or get decisions. Use when you need user input.

Как установить скилл ask-user?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ask-user запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ask-user с