跳到正文
Skillpedia
任务与项目6.0k · #14437

antfu-query

它能做什么

这项技能让 AI 通过有针对性的问题,就某个计划、决定或想法对你进行访谈。适合希望在行动之前让自己的想法经受检验的人。

适用场景

  • ✓当你有一个计划,并想用尖锐的问题来检验它时。
  • ✓当你的需求感觉模糊,想把它们理清楚的时候。
  • ✓当你想在做出决定之前对它进行压力测试时。

技能链接

https://github.com/antfu/skills/blob/main/skills/antfu-query/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/antfu/skills/blob/main/skills/antfu-query/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能