跳至内容
Offer! Grab your .com from $5.98 with Namecheap. Get started →
AI 提示词库

免费 AI 提示词库:用 Markdown 分享提示词模板

PasteBox 是一个免费的 AI 提示词库和提示词分享工具。你可以复制适用于 ChatGPT、Claude、Gemini 或任何其他模型的现成模板,也可以用 Markdown 粘贴自己的提示词,并通过一个短链接分享。无需账号,还可以添加密码或过期时间。

  • 免费,无需账号
  • 渲染 Markdown
  • 密码、过期时间和阅后即焚
  • 适用于任何 AI 模型

最后更新:

免费 AI 提示词模板

每个模板都是纯 Markdown。复制它,或在编辑器中打开,填写 {{placeholders}},然后用链接分享你的版本。它们适用于 ChatGPT、Claude、Gemini、Copilot 以及开源模型。

结构化提示词模板

通用模板,包含角色、任务、上下文、约束、输出格式和示例。适用于任何模型,从这里开始。

# Prompt Title

## Role
You are an expert assistant.

## Task
Describe exactly what you want the model to do.

## Context
Add any background the model needs.

## Constraints
- Keep the answer concise
- Ask for clarification if the request is ambiguous

## Output format
Reply in Markdown with a short summary first, then the details.

## Example
Input:
Summarize the text below in three bullet points.

Output:
- First key point
- Second key point
- Third key point

AI 助手的系统提示词

定义助手的身份、目标、语气和规则。将其粘贴到 ChatGPT、Claude 或 Gemini 的系统提示词或自定义指令中。

# System Prompt: {{assistant_name}}

## Identity
You are {{assistant_name}}, a helpful assistant for {{audience}}.

## Goals
- Give accurate, practical answers
- Match the user's level of expertise
- Say so plainly when you are not sure

## Tone and style
- Friendly, direct and concise
- Use short paragraphs and bullet lists
- Avoid jargon unless the user uses it first

## Rules
- Never invent facts, figures or sources
- Ask one clarifying question when a request is ambiguous
- Decline requests that are outside {{scope}}

## Output format
Start with the answer, then add steps or details if they help.

AGENTS.md 和 CLAUDE.md 项目说明

面向 AI 编程代理的项目说明:命令、代码风格和规则。同样的结构也适用于 Cursor 规则文件。

# AGENTS.md

Instructions for AI coding agents working in this repository.

## Project overview
{{one or two sentences about what the project does}}

## Commands
- Install dependencies: `{{install command}}`
- Run the tests: `{{test command}}`
- Run the linter: `{{lint command}}`

## Code style
- Follow the existing patterns in the file you are editing
- Keep functions small and give things clear names
- Add or update tests with every change

## Rules
- Never commit secrets or credentials
- Ask before deleting files or changing the database schema
- Summarize what you changed and why at the end of each task

代码审查提示词

以 Markdown 表格返回按优先级排序的缺陷、安全问题和修复建议。

# Code Review Prompt

## Role
You are a senior {{language}} engineer doing a careful code review.

## Task
Review the code below and report problems in order of severity.

## Focus on
1. Bugs and edge cases
2. Security issues
3. Performance problems
4. Readability and naming

## Rules
- Quote the exact line for every issue
- Explain why it is a problem in one or two sentences
- Suggest a concrete fix as a code block
- Skip style nitpicks unless they hide a bug

## Output format
A Markdown table with the columns Severity, Line, Issue and Fix, followed by a short overall verdict.

## Code
{{paste your code here}}

摘要提示词

将长文档浓缩为一句话摘要和五个要点,且不丢失姓名、数字或日期。

# Summarize a Document

## Task
Summarize the text below for {{audience}}.

## Requirements
- Start with a one-sentence summary
- Follow with the five most important points as bullets
- Keep names, numbers and dates exactly as written
- Flag anything that looks uncertain or contradictory

## Length
No more than {{word_limit}} words.

## Text
"""
{{paste the text here}}
"""

输出 JSON 的数据提取提示词

从非结构化文本中提取结构化字段,返回有效的 JSON,缺失的值以 null 表示。

# Extract Structured Data as JSON

## Task
Read the text below and extract the fields listed in the schema.

## Schema
```json
{
  "name": "string",
  "company": "string or null",
  "date": "YYYY-MM-DD or null",
  "amount": "number or null",
  "summary": "string, at most 30 words"
}
```

## Rules
- Return valid JSON only, with no extra commentary
- Use null when a field is missing from the text
- Do not guess values that are not stated

## Text
{{paste the text here}}

少样本分类提示词

用几个示例教会模型你的标签,然后一致地对新消息进行分类。

# Few-Shot Classification Prompt

## Task
Classify each customer message as Praise, Complaint, Question or Other.

## Examples
Message: "The new dashboard is so much faster, thank you!"
Label: Praise

Message: "I was charged twice this month."
Label: Complaint

Message: "Can I export my data as a CSV file?"
Label: Question

## Rules
- Reply with the label only
- Pick Other when no label fits

## Message to classify
{{paste the message here}}

图像生成提示词

为 Midjourney、Stable Diffusion 等图像模型描述主体、风格、构图、光线和宽高比。

# Image Generation Prompt

## Subject
{{main subject, for example a lighthouse on a rocky coast}}

## Style
{{art style, for example watercolor with soft pastel colors}}

## Composition
- Camera angle: {{wide shot, close-up or aerial view}}
- Lighting: {{golden hour, studio light or overcast}}
- Mood: {{calm, dramatic or playful}}

## Details to include
- {{first detail}}
- {{second detail}}

## Avoid
- Text or watermarks in the image
- Distorted hands or faces

## Aspect ratio
{{16:9, 1:1 or 9:16}}

如何分享 AI 提示词?

将提示词粘贴到 PasteBox 编辑器中,保持选择 Markdown,选择谁可以查看,然后点击“创建粘贴”。你会得到一个短链接,打开后是整洁易读的提示词页面,并带有一键复制按钮。

  1. 编写或粘贴你的提示词

    从本页的模板开始,或粘贴你已在使用的提示词。用 Markdown 标题标注角色、任务和上下文。

  2. 保持选择 Markdown

    已预先选择 Markdown,标题、列表和代码块会以格式化文档呈现。

  3. 选择谁可以查看

    选择公开、未列出或私密,并可选择添加密码、过期时间或阅后即焚。

  4. 分享链接

    点击“创建粘贴”,把短链接发送到任何地方。读者一键即可复制原始提示词。

为什么用 Markdown 编写 AI 提示词?

Markdown 无需特殊软件就能让提示词结构清晰可见。标题区分角色、任务和上下文,列表承载规则和约束,代码块让示例保持准确。语言模型能很好地遵循这种结构,人们也能快速浏览和复用。

主要的 AI 实验室也推荐同样的做法。OpenAI 的提示词指南建议使用 Markdown 标题和列表来标记提示词的各个部分,Google 的 Gemini 指南则推荐使用清晰的分隔符,例如 Markdown 标题或 XML 风格的标签。

好提示词的结构

角色
模型应扮演的角色,例如资深编辑或客服人员。
任务
你希望完成的那一件事,以直接指令的形式写出。
上下文
模型需要的背景、受众和源材料。
约束
关于篇幅、语气、范围以及需要避免的内容的规则。
输出格式
答案的确切形式:表格、JSON、要点列表或固定大纲。
示例
一个或多个输入与输出示例,展示好的答案是什么样子。

来源:

可以分享哪些类型的提示词?

任何纯文本提示词都可以在 PasteBox 上分享。最常见的有:

  • 适用于 ChatGPT、Claude 和 Gemini 的系统提示词与自定义指令
  • 带 {{variables}} 的可复用提示词模板,供团队使用
  • 面向 AI 编程代理的 AGENTS.md、CLAUDE.md 和 Cursor 规则文件
  • 少样本示例集和评估提示词
  • 多步骤提示词链和代理工作流
  • 适用于 Midjourney、Stable Diffusion 等工具的图像生成提示词

分享提示词的最佳方式是什么?

选择一个只分享提示词、保留格式并能控制访问权限的工具。聊天分享链接会包含整段对话,文档应用需要账号,而 Gist 无法设置过期。像 PasteBox 这样支持 Markdown 的 Pastebin 能同时满足这三点。

AI 提示词分享方式对比
功能 PasteBox 聊天分享链接 文档和笔记应用 GitHub Gist
只分享提示词,而非整段对话 是 否 是 是
分享无需账号 是 否 否 否
渲染 Markdown 是 是 视情况而定 是
密码保护 是 否 视情况而定 否
过期与阅后即焚 是 否 否 否
一键获取原始文本 是 否 否 是

基于各选项截至 2026年10月 的默认功能。

最近分享的提示词

3 个公开的 Markdown 粘贴

浏览已分享的提示词

常见问题

什么是 AI 提示词库?

AI 提示词库是一组可复用的提示词和提示词模板,你可以复制、调整和分享。PasteBox 将适用于常见任务的免费 Markdown 模板与社区公开分享的提示词结合在一起。

如何分享 ChatGPT、Claude 或 Gemini 的提示词?

将提示词粘贴到 PasteBox 编辑器中,保持选择 Markdown,然后点击“创建粘贴”。你会得到一个任何人都能打开的短链接;由于提示词是纯文本,它适用于任何 AI 模型。

分享提示词需要账号吗?

不需要。访客可以免费分享提示词并立即获得链接。免费账号还提供更长的过期时间、私密提示词,以及你分享过的全部内容列表。

可以私密地分享提示词吗?

可以。将可见性设为“未列出”,只有拥有链接的人才能打开;也可以添加密码、设置过期时间,或使用阅后即焚,让提示词在首次查看后消失。

什么是提示词模板?

提示词模板是带有占位符(如 {{topic}} 或 {{audience}})的可复用提示词,每次任务时填入内容即可。模板能让团队结果保持一致,也让好的提示词易于复用。

可以分享系统提示词或 AGENTS.md 文件吗?

可以。系统提示词、自定义指令以及 AGENTS.md、CLAUDE.md 和 Cursor 规则文件都是 Markdown 或纯文本,因此你可以像分享其他提示词一样分享它们,并完整保留标题和列表。

其他人可以复制和复用我的提示词吗?

可以。每个分享的提示词都有复制按钮、原始文本视图和下载选项,任何人都可以把公开提示词复刻(Fork)到编辑器中,制作自己的版本。

可以通过 API 分享提示词吗?

可以。PasteBox 的 API 允许脚本和工具创建与读取粘贴,因此你可以在自己的工作流中发布提示词。具体方法请参阅 API 文档。

我们使用 Cookie 来保持您的登录状态、记住您的偏好设置,并了解网站的使用情况。您可以接受所有 Cookie,或仅保留网站正常运行所需的必要 Cookie。 了解更多