# GPT 5.5 Pro 生成 Codex Goal 指令使用文档，分享两个技巧

- 来源：向阳乔木 (@vista8)
- 发布时间：2026-06-03 23:09
- AIHOT 分数：63
- AIHOT 链接：https://aihot.virxact.com/items/cmpy7dckz02g4slaxkv0xhkxn
- 原文链接：https://x.com/vista8/status/2062189983096557995

## AI 摘要

GPT 5.5 Pro 调研生成了一份 Codex 的 Goal 指令使用文档，分享两个技巧：1. 写不好 Goal 时先用 /plan 模式，让 AI 反问用户来完善命令，提示词模板为 `/plan Help me turn this vague task into a strong Codex goal...`；2. 写好 Goal 的六要素：结果、验证、约束、边界、迭代策略、阻塞条件。官方标准模板为 `/goal [Outcome]. Verification: [...] Constraints: [...] Boundaries: [...] Iteration policy: [...] Stop when: [...] Pause if: [...]`。详细报告含多个可直接使用的模板。

## 正文

GPT 5.5 Pro 调研生成了一份关于 Codex 的Goal指令如何用的文档。

仔细阅读学到了两个技巧：

1. 觉得写不好goal时，先用plan模式，让AI反问自己一些问题，让AI帮收敛写Goal指令。

提示词模板：

/plan Help me turn this vague task into a strong Codex goal.
Interview me for missing success criteria， verification commands， constraints， boundaries， iteration policy， and blocked stop conditions.
Then draft a final `/goal …` command.

2. 写好Goal的六要素：结果、验证、约束、边界、迭代和阻塞条件

官方标准模板如下：
/goal 【Outcome】.
Verification： 【commands/artifacts/evidence】.
Constraints： 【what must not change】.
Boundaries： 【allowed writes / forbidden paths】.
Iteration policy： 【one focused change， rerun checks， log progress】.
Stop when： 【evidence proves completion】.
Pause if： 【blocked conditions / human decisions / budget cap】.

详细调研报告见评论区，有不少模板可直接用。
