Files & Code Review in AI

From the OpenAI Codex cheat sheet ยท Essential Slash Commands ยท verified Jul 2026

Files & Code Review

Attach project context and inspect code changes.

text
/mention src/lib/api.ts
/ide Review the selected function
/diff
/review
๐Ÿ“Œ /mention points Codex at an exact file or folder
๐Ÿ’ก /ide avoids re-explaining active editor context
๐Ÿ” /diff includes untracked files
๐Ÿงช /review focuses on defects, behavior changes, and missing tests
commandsfilesdiffreview

Continue with OpenAI Codex

Save the full cheat sheet or work through every related task.

More AI tasks

Back to the full OpenAI Codex cheat sheet