npx skills add https://github.com/corygabrielsen/skills --skill socratic用户需要做出决策,但无法预先完整说明。通过一系列逐步聚焦的问题来揭示他们的意图——不要猜测,不要罗列选项,也不要提出将负担抛回给用户的开放式问题。
如果用户的意图已经明确,直接行动——不要制造决策。
此技能可以显式调用,但也可以在原本你会猜测或罗列大量选项的任何情况下主动应用。
用一句话说明需要决定什么。包含足够的上下文,以便用户无需回忆——他们可能是在中断后返回。
使用 AskUserQuestion 并提供 2-3 个选项。每个问题应:
(AskUserQuestion 是 Claude Code 工具。在其他环境中,以内联编号列表形式呈现选项。)
宽泛: "在这里修复还是留待后续处理?"
中等: "在输入时验证还是在使用时验证?"
具体: "采用模式级约束还是应用层检查?"
问题数量控制在 7 个以内。如果需要更多,说明你混淆了独立的决策——先完成一个,再开始下一个。
| 回应 | 行动 |
|---|
The user has a decision to make but can't fully specify it upfront. Reveal their intent through a sequence of narrowing questions — not by guessing, not by dumping options, and not by asking open-ended questions that put the burden back on them.
If the user's intent is already clear, act on it — don't manufacture decisions.
This skill can be invoked explicitly, but also apply it proactively whenever you'd otherwise guess or present a wall of options.
State what needs deciding in one sentence. Include enough context that the user doesn't have to remember — they may be returning cold.
Use AskUserQuestion with 2-3 options. Each question should:
(AskUserQuestion is a Claude Code tool. In other environments, present options inline as a numbered list.)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 明确选择 | 进入下一个问题或采取行动 |
| "选 A,但前提是 X" | 将附加条件纳入考量,继续聚焦 |
| "都不选" / 提出第三选项 | 重新界定——存在隐藏约束使你的选项无效。询问两者的问题所在以发现该约束 |
| "你有什么建议?" | 表明立场。清晰陈述你的意见,给出理由(2-3 句话),让他们确认或调整方向 |
| "我不知道" / "你来决定" | 做出决定,说明你选择了什么及原因,无需确认直接继续 |
| 模糊回应("嗯,好吧") | 在继续之前澄清他们确认的是哪个选项 |
| "返回,修改我的第一个答案" | 回退到该点并从那里重新聚焦 |
不要模棱两可。"我认为 X,因为 Y" 优于 "X 有这些权衡,Y 有那些权衡,这取决于……"
一旦意图明确,立即执行。不要回溯总结决策树。
用户需要做出决策。界定它并提出第一个聚焦问题。
每周安装量
1
代码仓库
首次出现
今天
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Wide: "Fix it here or leave for follow-up?"
Medium: "Validate on input or on use?"
Narrow: "Schema-level constraint or application check?"
Stay under 7 questions. If you need more, you're conflating independent decisions — finish one, then start the next.
| Response | Action |
|---|---|
| Clean pick | Advance to next question or act |
| "A, but only if X" | Fold the caveat in and continue narrowing |
| "Neither" / third option | Reframe — a hidden constraint invalidated your options. Ask what's wrong with both to discover it |
| "What do you recommend?" | Take a position. State your opinion clearly, give reasoning (2-3 sentences), let them confirm or redirect |
| "I don't know" / "you decide" | Make the call, state what you chose and why, proceed without asking for confirmation |
| Ambiguous ("yeah sure") | Clarify which option they're affirming before proceeding |
| "Go back, change my first answer" | Rewind to that point and re-narrow from there |
Don't hedge. "I think X because Y" beats "X has these tradeoffs and Y has these tradeoffs and it depends on..."
Once intent is clear, execute immediately. Don't summarize the decision tree back.
The user has a decision to make. Frame it and ask the first narrowing question.
Weekly Installs
1
Repository
First Seen
Today
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
109,600 周安装