Command Palette

Search for a command to run...

Назад к скиллам
скилл № 03682

questions

Use when goals.md is approved and the QRSPI pipeline needs research questions generated — produces tagged questions that guide the Research step without…

БесплатноБез исполняемых скриптов
dfrysingerот dfrysinger★ 42 звезды на GitHub

Установить questions в Claude Code и Claude Desktop

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

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

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

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

Questions (QRSPI Step 2)

PRECONDITION: Invoke qrspi:using-qrspi skill to ensure global pipeline rules are in context. (Idempotent on session re-entry. Subagents are exempt — SUBAGENT-STOP in using-qrspi handles that.)

Announce at start: "I'm using the QRSPI Questions skill to generate research questions."

Overview

Generate targeted research questions — query planning before any code is read. Separates "what we need to know" from "finding the answers," preventing unfocused research tangents. Questions are tagged by research type to dispatch the right specialist agents.

Critical constraint: Questions MUST NOT leak goals or intent. They should be neutral inquiries about how things work, not what we want to change.

Artifact Gating

Required inputs:

  • goals.md with status: approved

If goals.md doesn't exist or isn't approved, refuse to run and tell the user to complete the Goals step first.

Read config.md from the artifact directory to determine whether second-model reviews are enabled. If config.md doesn't exist, default to second_reviewer: false.

Do NOT generate questions without an approved goals.md. Do NOT pass goals.md to any research subagent — research isolation is structural.

Execution Model

Subagent (clean context). The subagent receives only goals.md.

Process

Question Generation Subagent

Inputs: goals.md

Task: Analyze goals to identify which codebase zones and external knowledge domains are relevant. Generate specific, objective research questions.

Research type tags:

  • [codebase] — requires reading local code, tracing logic flows, understanding existing architecture
  • [web] — requires web searches for competitors, existing tools, libraries, best practices, documentation
  • [hybrid] — needs both local code reading and external research. Use ONLY when the question literally cannot be answered without both (e.g., "how does our auth token format compare to the JWT spec?"). Default to splitting into separate codebase and web questions instead.

Goal leakage rules:

  • BAD: "We want to add real-time notifications — how do competitors handle this?" (leaks the goal)
  • GOOD: "How do existing tools in this space handle real-time event delivery to clients?" (neutral inquiry)
  • BAD: "How should we refactor the auth module?" (prescriptive)
  • GOOD: "How does the auth module work? What are its dependencies and data flows?" (objective)

Greenfield detection: Run at the start of the question-generation subagent. Use the Glob tool with pattern **/*.{ts,tsx,js,jsx,py,go,java,rs,rb,swift,kt,cs,cpp,c,h}. If all results are inside node_modules/, vendor/, or .git/ directories (or if there are zero results), treat this as a greenfield project — replace all [codebase] questions with [web] questions about existing solutions, frameworks, and best practices. If source files exist outside those directories, proceed normally.

Output format for questions.md:

!cat skills/_shared/evergreen-output-rule.md

---
status: draft
---

# Research Questions

1. [codebase] How does the auth module work? What are its dependencies and data flows?
2. [web] What are the most common OAuth 2.0 libraries for Node.js? How do they compare?
3. [codebase] How are API endpoints registered and routed? Trace the request lifecycle.
4. [hybrid] How does our session token format compare to the JWT specification?
5. [web] What are current best practices for rate limiting in REST APIs?

Review Round

Compaction checkpoint: pre-fanout. Reviewer dispatch reads questions.md + goals.md + the agent-embedded reviewer protocol; saturated context produces shallow findings. See using-qrspi ## Compaction Checkpoints for the iron-rule contract.

Surface a todo: title Recommend /compact (pre-fanout) — questions, description pre-fanout: reviewer dispatch reads questions.md + goals.md. User decides whether to /compact..

Apply the Standard Review Loop from using-qrspi/SKILL.md. Questions has no scope-reviewer (canonical artifact-tree contract — Questions is not in the scope-reviewer topology). Only the quality reviewer runs.

Dispatch the round through dispatch-agent's high-level entry. Run scripts/dispatch-agent.sh --step questions --round ${ROUND} --artifact-dir <ABS_ARTIFACT_DIR> (plus the per-skill --output-dir/--artifact/--agents flags below). High-level mode invokes scripts/review-prep.sh to emit <ABS_ARTIFACT_DIR>/reviews/questions/round-${ROUND}.diff and threads diff_file_path: into the reviewer prompt; the orchestrator runs no git diff Bash redirect of its own. When the artifact directory is not inside a git repository, review-prep skips diff emission and diff_file_path: is omitted. For round 01 pass --base-ref <base-branch>; on round >= 2 review-prep auto-narrows by reading reviews/questions/round-$((ROUND-1))-commit.txt (named diagnostics `anchor-file-missing

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

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

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

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

FAQ

Что делает скилл questions?

Use when goals.md is approved and the QRSPI pipeline needs research questions generated — produces tagged questions that guide the Research step without leaking goals

Как установить скилл questions?

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

Скилл questions запускает скрипты?

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

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

Сравнить questions с