# Prompt Engineering Guide

> 索引指引
> 本檔案是 the Markdown twin of ONE page on this site。
> 取完整索引請訪問：https://aiworkswell.com/zh-TW/llms.txt
> 建議先讀完整索引，再按需探索具體頁面。

> Prompt Engineering Guide 是一个 DAIR.AI 维护的开源提示工程指南，配大量可复制的示例。

Source: https://aiworkswell.com/zh-TW/apps/l-prompt-engineering-guide-course

> ★ **Not translated yet.** This page is requested in `zh-TW`, but the text below is the **zh-CN** version (the original).
> 本页尚未翻译成 zh-TW，下面显示的是 **zh-CN** 原文（本文尚未翻译，当前显示原文（zh-CN））。

## 它是什么
Prompt Engineering Guide 是 DAIR.AI 维护的提示工程指南（MIT 许可），从零讲清 prompt 的基本技巧到进阶用法，附大量可复制的示例。来源：https://github.com/dair-ai/Prompt-Engineering-Guide

## 怎么用起来
按目录从基础技巧读起，边读边把示例贴进自己的 AI 工具试。要在线阅读，用 https://www.promptingguide.ai 更好读。来源：https://github.com/dair-ai/Prompt-Engineering-Guide

## 来源与署名

Mentioned from：https://github.com/dair-ai/Prompt-Engineering-Guide · 原作者 DAIR.AI（MIT）。

## Identity

- canonical name: Prompt Engineering Guide
- one entity per product; regional name variants refer to the same product

## Facts

- License: MIT
- Platforms: web
- Category: Tutorials
- Effort: L2 (Download & install)
- Official source: https://github.com/dair-ai/Prompt-Engineering-Guide
- Last reviewed: 2026-10-06
- Author: DAIR.AI
- Author contact: https://github.com/dair-ai/Prompt-Engineering-Guide/issues (official issue tracker)

## Demo videos

- [Prompt Engineering Lecture](https://www.youtube.com/watch?v=dOxUroR57xs) — platform: youtube
  - embed (official player): https://www.youtube.com/embed/dOxUroR57xs
  - we host no video bytes; the player and bandwidth belong to the platform

## Install prompt (copy-paste into any AI assistant)

```text
我需要你帮我在我的机器上安装并运行一个软件。

【软件信息】
名称：Prompt Engineering Guide
用途：Prompt Engineering Guide 是一个 DAIR.AI 维护的开源提示工程指南，配大量可复制的示例。
官方来源：https://github.com/dair-ai/Prompt-Engineering-Guide
许可：MIT
支持平台：web

【执行方式】（请先判断你属于哪一种）
· 如果你能直接在我的机器上执行命令：请直接执行，并每完成一个阶段简要报告进度。
· 如果你只能提供指令：请给出我可以逐步复制执行的完整命令，每一步说明预期结果。

【请这样做】
1. 先检测我的环境（操作系统、芯片架构、已有的工具链），再决定怎么做。
2. 每一步先说明你要做什么；涉及删除文件、修改系统配置、安装全局依赖时，先征求我同意。
3. 每一步给出具体命令，不要只说"安装依赖"这种抽象描述。
4. 遇到报错：先分析原因再修复，最多重试 3 次；仍不成功就把报错原文给我。
5. 装完后用一个最小步骤验证它真的能运行，并把验证结果展示给我。
6. 最后告诉我：装在了哪个位置、以后怎么启动、以后怎么更新到新版本、怎么干净卸载。

【安装方式】人工指引
请一步步教我在我的设备上安装并使用它，写到菜单级操作，只使用官方来源。

【安全边界】（不可协商）
· 只从上面给出的官方来源获取，不得替换为任何其他下载站或镜像。
· 不要执行任何删除、移动、覆盖我已有文件的操作。
· 修改环境变量、shell 配置、系统设置之前先问我。
· 不要上传我的任何数据到外部服务。

【由你决定】
安装位置、包管理器选择、依赖版本、目录结构 —— 这些由你根据我的环境判断，完成后告诉我你的选择和理由即可。
```

## Known pitfalls

- (none recorded)

## Summary (self-contained)

提示词工程的系统课程：把技术手法、对应论文与讲义串成一条可顺着走的学习路径，读完能上手改写自己的提示词。与指南版的区别是它更偏「按顺序学」，而不是「按问题查」。

## FAQ

**和指南版有什么区别？**
同一套内容的不同组织方式：指南适合查，课程版适合按顺序学一遍。

**许可能商用吗？**
标的是 MIT，可自由取用；引用时按 MIT 保留署名。

---

AIWorksWell — Others tell you what exists. We hand you a prompt.
Non-commercial, no ads, no tracking. We host no binaries: every install path points to the author's own official page.
Quoting and indexing are welcome. Please keep the attribution to the original author.
