Command Palette

Search for a command to run...

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

deft-directive-interview

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

Deterministic structured Q&A interview loop. Use when any skill needs to gather structured input from the user through a series of focused questions with…

deftaiот deftai★ 32 звезды на GitHub

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

Deft Directive Interview

Deterministic interview loop that any skill can invoke to gather structured user input.

Legend (from RFC2119): !=MUST, ~=SHOULD, ≉=SHOULD NOT, ⊗=MUST NOT, ?=MAY.

When to Use

  • Another skill needs to gather structured input from the user (e.g. deft-directive-setup Phase 1/Phase 2)
  • User says "interview loop", "q&a loop", or "run interview loop"
  • A workflow requires a series of focused questions with explicit defaults and confirmation before proceeding

Interview Loop

Rule 1: One Question Per Turn

! Ask ONE focused question per step. After the user answers, send the NEXT question in a new message. Repeat until all questions for the current interview are answered.

  • ⊗ Include two or more questions in the same message under any circumstances
  • ⊗ List upcoming questions -- only show the current one
  • ⊗ Combine the current question with a summary of previous answers unless explicitly at the confirmation gate
  • ! Progress checkpoints (#5353) coexist with these forbids: emit them as Rule 2 agent-initiated non-choice status updates (see Progress Checkpoints). Inventory labels are allowed; concrete upcoming question text is not. A status statement is not a prior-answer summary.

Rule 2: Numbered Options with Stated Default

! Every question MUST present numbered answer options. Exactly one option MUST be marked as the default using the [default: N] notation inline.

Example:

Which deployment platform?

  0. Discuss with agent (pause interview to talk it through)
  ─────────────────────────────────────────────────────────
  1. Cross-platform (Linux / macOS / Windows)
  2. Web / Cloud [default: 2]
  3. Embedded / low-resource
  4. Other / I don't know

Enter confirm / b back / 0 discuss
  • ! The default MUST be stated inline with the option (e.g. [default: 2]), not in a separate line or footnote
  • ! If no option is objectively better, pick the most common choice and mark it as default
  • ! Option 0. Discuss with agent MUST appear in slot 0 at the top of the options block, visually separated from the numbered answer options (e.g. by a horizontal rule or blank line) so it is not confused with Other / I don't know
  • ! A persistent one-line legend MUST appear directly under the options block on every question (see Rule 11)

Always-Structured Rendering (Option A)

! EVERY user-facing question MUST render via the structured question tool: click-commit on hosts that have one (e.g. Warp ask_user_question); plain-text with typed response otherwise. The agent MUST NOT emit a user-facing question as conversational prose regardless of whether the final answer content is enumerable or freeform. This is the Option A always-structured rendering rule (#478).

! Host-portable numeric labels (#1563). For deterministic menus, a structured question tool satisfies this rule only when it visibly preserves each canonical numeric option label (for example, 1. Web / Cloud) and returns the numeric selection or exact displayed option text. If the host UI may replace numbers with alphabetic affordances, unlabeled buttons, or any non-canonical choice labels, render the numbered menu in chat with typed response instead. Fallback chat replies map only to the displayed number or exact displayed option text; do not infer from host-added letters unless those letters were actually displayed.

! Freeform answer collection, when needed, MUST be a two-step flow:

  1. Structured-tool call with options such as [Draft for me (I'll propose content) / Write my own / Defer / Discuss / Back].
  2. If the user picks "Write my own", a follow-up plain-text prompt collects the freeform content. The prompt itself is a non-question status message ("Type your answer below.") -- the enumerable path choice has already been captured by the structured tool.

! The ONLY permissible plain-text-to-user emissions are:

  1. The Rule 6 Confirmation Gate (typed plain-text commit, see Rule 6's Click-Commit Hosts subsection).
  2. Agent-initiated status updates that do NOT ask the user to choose anything (e.g. "Files written. Next I'll read X.").
  • ⊗ Emit a user-facing question outside a structured-tool call because the answer content is prose, because a preamble is long, because the question "feels conversational," or because the prior question was plain-text. None of those are valid reasons.
  • ⊗ Present a user-facing choice as plain-text prose when a structured question tool is available on the host.

Click-Commit Rendering

! When the host's structured question tool is single-shot / click-commit (the tool returns the user's selection atomically with no separa

Полный SKILL.md на GitHub

Установить deft-directive-interview в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл deft-directive-interview?

Deterministic structured Q&A interview loop. Use when any skill needs to gather structured input from the user through a series of focused questions with numbered options, stated defaults, and a confirmation gate before artifact generation. Interview output targets xBRIEF narratives — not PRD.md.

Как установить скилл deft-directive-interview?

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

Скилл deft-directive-interview запускает скрипты?

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

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

Сравнить deft-directive-interview с