Review your changes before committing
slash commands & shortcuts
// what it does
/diff shows the current git diff of what Codex changed so you can eyeball it before committing. /review launches a code review of your working tree; codex review does the same from the shell non-interactively.
// shell
$ /diff$ /review// gotcha
/diff reflects the git working tree, so edits Codex actually wrote show up, but changes it only proposed and didn't apply won't appear.