场景 110 · Codex Use Case

在 Codex 桌面端审查代码变更

从 Codex 或仓库对应的 Codex 项目发起安全审查。

SecurityEngineering
Review code changes in Codex DesktopSecurityEngineering

原文核对:2026-11-10 · 中文正文 · 英文提示词与演示

场景定位

从 Codex 或仓库对应的 Codex 项目发起安全审查。

难度
中级
时间跨度
30 分钟

适合用于

  • 在实现细节仍清楚时检查未提交改动的开发者。
  • 从本地检出目录审阅提交、分支或 PR 变更集的工程师。
  • 希望结合受影响代码调查发现,再决定修复事项的审阅者。

起步提示词

英文原文 · 可复制后按实际材料修改

Please run a $codex-security:security-diff-scan on [Github repository URL]

如果希望以交互方式审阅 PR 或未提交改动,可以从 Codex 的 Security 标签页运行审查。

The Security workbench with the Changes scan type selected.

也可以在仓库对应的 Codex 项目中,通过提示词调用技能发起审查。

Security Diff Scan prompt for the North Star Bank example repository.
展开英文原文对照

Start a security review from Codex or your repository’s Codex project.

For a more interactive experience reviewing PRs or uncommitted changes, you can execute reviews through the security tab within Codex.

The Security workbench with the Changes scan type selected.

Alternatively, you can prompt Codex within the repository project of Codex by invoking the skill.

Security Diff Scan prompt for the North Star Bank example repository.