跳到主要内容

提示词模式库

所有级别

一个可复用提示词模式的工具箱。每张卡片包括:它是什么、何时该用它,以及一个可复制粘贴的模板。它们可以叠加——自由组合。初来乍到?请先从提示词基础开始。

零样本(直接、清晰地提问)

何时用: 简单、常见的任务。为什么: 最省力,往往就够用了。

Summarize the text below in 5 bullets for a busy manager.
TEXT: """{paste}"""

少样本(展示示例)

何时用: 你需要某种特定的格式或风格。为什么: 示例比描述教得更快。参见把少样本用对

Classify the sentiment as positive/negative/neutral.
Review: "Loved it, shipped fast" → positive
Review: "Broke on day one" → negative
Review: "{new review}" →

思维链(一步一步思考)

何时用: 数学、逻辑、多步推理。为什么: 在回答前先推理能提升准确性。

Work through this step by step, then give the final answer on its own line.
PROBLEM: {problem}

拆解(分而治之)

何时用: 庞大、模糊的任务。为什么: 较小的子任务更容易也更可靠。

First, list the sub-tasks needed to {goal}. Then do them one at a time,
showing each result before moving on.

角色提示(指派一个人设)

何时用: 你想要某个特定的视角或标准。为什么: 引导出相关的行为。

You are a meticulous senior copy editor. Edit the text for clarity and concision
without changing meaning. Show a bullet list of the changes you made.

输出格式约束

何时用: 结果要喂给另一个工具,或你想要一致性。为什么: 可预测的形态才能被使用。

Reply with ONLY valid JSON matching: {"title": string, "tags": string[]}.
No prose, no markdown fences.

自洽性/自我批评

何时用: 正确性很重要时。为什么: 第二遍审视能抓住第一遍的错误。

Answer the question. Then, in a section called "Check", critique your own answer
for errors or missing cases and revise if needed.

元提示(让 AI 改进你的提示词)

何时用: 你的提示词表现不佳。为什么: 模型很擅长发现自己缺了什么。

Here's my prompt: "{prompt}". Ask me the 3 questions that would most improve it,
then rewrite it incorporating sensible defaults.

迭代式打磨

何时用: 几乎总是。为什么: 第一份输出是草稿,不是终点。

{after a result} Shorter and more concrete. Keep the second paragraph. Add one
example. Drop the marketing tone.

:::tip 组合使用 一条强大的真实提示词往往是:一个角色 + 一个示例 + 一个输出约束 + 允许它说"我不知道"。把这些卡片层层叠加。 :::

下一步