Codex提示词与配置约 1 分钟

用历史 PR 喂全局规则

Teach AGENTS.md from past PRs

要点

  1. 让 Codex 去看你过往 PR 和会话,而不是凭空写全局 AGENTS.md。
  2. 把分支命名、提交信息、署名方式和测试计划写进全局规则。
  3. 这些约定一旦沉淀,后续请求会少问、少返工,周转更快。
  4. 只抽你真实用过的工作流,避免把理想规范写进去却没人遵守。
  5. 全局文件改完后,新线程会自动带上这些习惯,不必每任务重讲。

原帖开头

codex tip: ask codex to look at your past PRs/ sessions and update your global agents md with your developer workflow details branch naming conventions, commit messages, attribution, testing plan and more codex will get much faster turn around per requests