向阳乔木分享了用 GPT 5.5 Pro 调研整理出的两条 Codex Goal 写法:先切到 plan 模式让 AI 反问自己、帮把模糊任务收敛成清晰 goal;再按结果、验证、约束、边界、迭代和阻塞条件六要素组织指令。文中给出了 /plan 访谈提示词和官方 /goal 标准模板,可直接套用。
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].
详细调研报告见评论区,有不少模板可直接用。
来源:@vista8 · x.com