antfu-query
できること
このスキルは、AIが計画、決定、アイデアについて的を絞った質問であなたに問いかけるようにします。行動する前に、自分の考えを検証してほしい人のためのものです。
使う場面
- ✓計画があり、厳しい質問で検証してほしいとき。
- ✓要件があいまいで、明確にしたいとき。
- ✓何かを決める前に、判断を試してほしいとき。
スキルのリンク
https://github.com/antfu/skills/blob/main/skills/antfu-query/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“小さなオンラインショップを開く計画を、厳しく問い詰めてください。細部で合意できるまで質問してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、あなたのアイデアの中の決定事項を整理し、ラウンドごとに質問します。選択肢と推奨する回答を明確に示します。答えが固まるにつれて、次の部分に進みます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Query
Interview the user relentlessly until you reach a shared understanding. Map this as a design tree: every decision branches into the decisions that hang off it.
Ask With the Question Tool
Put every question to the user through the agent's interactive question tool (for example AskUserQuestion in Claude Code, or the equivalent in other agents; load it first if it is deferred). Do not write questions as plain text in the reply.
- Give each question 2-4 distinct, concrete options with a short description of the trade-off.
- Put your recommended answer first and mark it
(Recommended), so picking it accepts your recommendation. The tool adds an "Other" option for free-form answers; do not add one. - Keep headers short. Use multi-select only when the options are not mutually exclusive.
- Batch the whole frontier into one call, up to the tool's limit per call (4 in Claude Code). If the frontier is larger, ask the most blocking questions first and the rest next round.
- If the agent has no question tool, fall back to plain text: number the questions, list the options, and state your recommended answer for each.
Rounds
Work the tree in rounds. The frontier is every decision whose prerequisites are already settled: the questions you can ask now without guessing at answers you have not heard yet. Ask the whole frontier in one round, then wait for the answers before the next round.
- Each answered round reshapes the tree: settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round.
- A question whose answer depends on another question still open in this round belongs to a later round.
- Word each question so the recommended option is the natural "yes".
- Use the user's free-form "Other" answers and notes as new input: they may add or remove branches.
Facts vs Decisions
Finding facts is your job, never the user's. When a question needs a fact from the environment (files, code, tools, docs), look it up yourself or dispatch a sub-agent with a fresh context window. Do not ask the user for anything you could look up.
Do not block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait. Ask the rest of the frontier now. The decisions are the user's: put each to them and wait.
Done
The session is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Summarize the settled decisions in a short list and do not act on them until the user confirms you have reached a shared understanding.
よくある質問
質問は普通の文章で来ますか?
質問ツールがある場合はそれを使い、短い選択肢から選べるようにします。
自分の答えを書けますか?
はい。各質問では、選択肢の代わりに自由に答えることもできます。
小さな決定にも役立ちますか?
一つの選択が他に影響する、関連する部分が多い計画で最も役立ちます。
詳細
作者による元の説明
Interview the user relentlessly about a plan, decision, or idea until reaching a shared understanding, using the agent's interactive question tool (not plain text). Use when the user wants to stress-test their thinking, clarify requirements, or says "grill me" or "query me".
repo: antfu/skills
人気
- GitHubのスター
- 6.0k
- ランキング
- #14437
- ライセンス
- MIT
- 更新日
- 2026/10/30
コメント
- …
このリポジトリの他のスキル
antfu-create-pr
6.0kブランチから、変更内容と理由をわかりやすくまとめたGitHubのプルリクエストを、エージェントが開けるよう支援します。
antfu-issue-triage
6.0k開いているGitHubのissueとプルリクエストを整理し、重複や修正済みのものを見つけて、操作の前に確認を取るようエージェントを支援します。
antfu-simplify
6.0kコードの変更を、必要な部分だけを残した最小限の正しい形に減らすようエージェントを支援します。
antfu
6.0kJavaScriptとTypeScriptのプロジェクトでAnthony Fuが好むやり方を、ファイル構成からツールの選び方まで、エージェントに教えます。