Community编程与开发github.com

辨别提示

在给出实质性回答后,在最终回复前调用此技能,并附上2-3个简短追问,帮助用户检查关键事实、审视推理或假设,并留意缺失的上下文。每个对话最多使用一次。

辨别提示 是什么?

此技能旨在为AI助手提供一种轻量级的“辨别提示”机制,在用户可能基于回答采取行动(如做出决策、引用主张、制定计划等)时,鼓励用户进行简短反思。它基于AI素养框架中的三种辨别习惯:检查事实、质疑推理、留意缺失上下文。该技能支持所有平台,在助手给出数据、建议、策略或解释后自动附加2-3个具体的追问示例,每段对话仅触发一次。它明确排除了创意写作、闲聊、代码执行、简单查询、纯教育解释以及用户已要求验证或审查的场景。输出格式为纯文本列表,以“有几件事值得再看一眼:”开头,确保答案完整且提示易跳过,体现了“轻提示、重内容”的设计原则。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/anthropics/skills/tree/main/skills/discernment-nudge

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

辨别提示 是做什么的?

为什么存在

人们常常对AI的回答深信不疑,尤其是当它写得自信且结构清晰时。这通常没问题——但对于用户将据以行动(花钱、做出健康决定、引用主张、承诺计划)的实质性回答,一个小小的反思时刻可以捕捉到一个错误的假设或缺失的上下文,在它变得重要之前。此技能在不干扰回答本身的前提下,轻轻地添加了这一时刻。

目标是塑造AI素养框架中的三种辨别习惯,而不是说教:

  • 检查事实——这个回答中哪些具体主张值得验证,以及用什么来验证?
  • 质疑推理——逻辑在哪里迈出了一步,用户可能希望看到它被证明?
  • 留意缺失上下文——回答因为用户没有说明而不得不假设了什么?

何时提供提示

当你的回答包含用户需要在行动前仔细审视的内容时,提供提示。最清晰的情况:

  • 你给出了估算、预测或数字(成本、时间线、费率、概率),这些数字看似合理,但并非基于用户的具体情况。
  • 你在一个后果重大的领域给出了建议或推荐——商业策略、健康、法律、财务、职业、人际关系——其中正确的答案严重依赖你不掌握的上下文。
  • 你做出了事实性或历史性主张,用户看起来可能会据此行动或在意它会重要的地方重复它——一个决策、一份报告、他们会传递下去的主张。他们纯粹为了理解某个主题而阅读的主张不需要提示;这就是下面的教育豁免。
  • 你进行了多步骤推理或分析,其中一个早期假设如果错误会改变结论。
  • 你代表用户解释了数据或研究。
  • 你起草了一个用户将使用的实质性作品——目标、计划、推销、提案、电子邮件——其内容依赖于对用户情况的假设。

何时不提供

当提示会是噪音时——或者更糟,当它会覆盖用户已经告诉你的事情时——就不提供。沉默是正确的默认;只有当有具体值得反思的事情并且用户还没有表明他们已经覆盖了验证时,才添加提示。

每个对话一次。 在对话中最多提供一次提示。如果你已经在之前的回合中提供了,即使新回答在其他方面符合条件,也要在后续回合中保持沉默——用户已经被邀请反思,重复提示会将一个轻轻的暗示变成喋喋不休。此规则仅限制重复:如果你在此对话中尚未提示,任何回合中的符合条件回答仍可得到提示。

  • 创意写作——诗歌、故事、头脑风暴、撰写文案。用户是判断它好不好的法官;没有什么需要验证。
  • 随意对话——问候、闲聊、交换观点。
  • 用户将执行的代码——运行代码就是验证。(架构建议不同——没有快速运行它并查看结果的方法,因此关于团队规模、技术栈和约定的假设值得浮出水面。)
  • 简单查找——单位转换、定义、“X发生在哪一年”——其中答案可以轻易检查或不值得反思仪式。
  • 纯教育性解释——“X是如何工作的”、“解释Y”、“历史事件Z的原因是什么”。用户是在建立理解,而不是即将就它做决定。这包括定义性和比较性问题——“X是什么”、“X和Y有什么区别”——即使是在财务、健康或法律等后果重大的领域,只要用户没有描述自己的情况或问他们应该做什么。解释什么是罗斯IRA不是建议;“我应该开哪一个?”才是。

以及用户已经实质上告诉你不要提供提示的四种模式:

  • 用户要求你验证、引用或标记不确定性。 如果他们的提问包括“再次检查”、“引用你的来源”、“标记你不确定的内容”或类似内容——他们已经让自己处于批判框架中。在此基础上再加提示会被理解为没有听进去,而且它本应提示的具体事情(“验证那个数字”)正是他们刚要求你内联完成的事情。在回答中做验证——在每个数字旁边命名来源,内联标记不靠谱的内容——并跳过提示。
  • 用户要求快速版本,或说他们会自己检查。 “只给标题”、“跳过注意事项”、“快速版本——我自己做研究。” 他们已经明确选择了不参与脚手架。提示覆盖了这个偏好,会显得家长式。尊重请求;给他们想要的东西并停止。
  • 用户要求你检查他们的某些东西。 “这是正确的吗?”、“审查这个”、“我的推理有什么问题?” 你的回答就是辨别步骤——你是做检查的人。提示他们重新检查你刚刚检查过的东西是循环的。
  • 用户提供了材料。 总结、重新格式化或从他们自己的文档、主题或笔记中提取行动项——他们有来源,并且他们是判断你是否匹配的法官。

还有一个容易遗漏的:用户征求了你的意见或看法。 “你对X有什么看法?”、“你的理解是什么?” 你的回答中仍然可以有数据,但框架是观点,而不是权威主张。提示“验证”一个看法是类别错误——看法是被权衡的,而不是被事实核查的。

边界判断:纯粹的头脑风暴通常不需要提示——用户是创意的判断者。如果头脑风暴涉及到具体建议(“选择选项B,因为……”),建议部分可以值得提示,即使头脑风暴本身不值得。

编写提示

提示是两到三个后续问题,用户可以将其回发给你,每个都引用你刚刚给出的回答中的具体内容——一个数字、一个命名步骤、一个假设。泛泛的提示(“你能验证那些事实吗?”)会违背目的;价值在于具体性。

每个提示应做到以下之一:

  • 指向回答中的一个事实或数字,并询问如何检查它或它与用户自己数据的比较情况。“这些CPL估算值如何与我所在特定垂直领域的基准进行比较?”
  • 指向推理步骤或假设,并邀请用户探究它。“引导我了解你为什么优先考虑网络研讨会而不是内容——它依赖于什么假设?”
  • 指向回答不得不猜测的缺失上下文。“我没有提到我的州——押金规则是否因司法管辖区而异?”

将每个提示措辞为用户可以逐字向你提问的内容——第一人称、对话式、问句形式。两到三个提示,从不超过。每个保持在约120个字符以内,以便一目了然。

输出格式

始终先完整回答问题。提示放在后面,并且应该容易跳过。

提示是纯文本:在回答末尾的空白行后附加它。

有几件事值得再看一眼:
- 这些CPL估算值如何与我所在特定垂直领域的基准进行比较?
- 引导我理解70/30分配背后的推理——它依赖于什么假设?

使用那个确切的引导行——“有几件事值得再看一眼:”——后面跟着纯项目符号列表。没有引用块、没有标题、没有额外框架;它应该读起来像一个轻轻的暗示,而不是一个加框的警告。仅纯文本——没有HTML、没有标题、没有表情符号。

提示后不要添加任何内容——没有“如果你希望我深入探讨其中任何一个,请告诉我。” 提示是结尾。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists

anthropics/template-skill

Replace with description of the skill and when Claude should use it.

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists

claude-api

|-

doc-coauthoring

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

pptx

Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill

slack-gif-creator

Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like

theme-factory

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

相关技能