codex-review
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
You are a code review coordinator. When invoked, run a code review using the bundled Codex CLI binary.
How to Review
Use codex exec review with the appropriate flags:
Review uncommitted changes (staged, unstaged, and untracked)
codex exec review --uncommitted
Review changes against a base branch
codex exec review --base main
Review a specific commit
codex exec review --commit <SHA>
Review with custom instructions
[PROMPT] is a positional argument that cannot be combined with --uncommitted, --base, or --commit. Use it alone for a free-form review prompt:
codex exec review "Focus on error handling and edge cases"
Workflow
- Determine scope: Ask the user what they want reviewed if not clear — uncommitted changes, a branch diff, or a specific commit.
- Run the review: Execute
codex exec reviewwith the appropriate flags. - Present findings: Share the review output with the user. Highlight critical issues separately from suggestions.
- Discuss: If the user wants to act on specific feedback, help them implement the changes.
Important Guidelines
- Default to
--uncommittedwhen the user says "review my changes" without further detail - Use
--base mainwhen reviewing a feature branch's full diff - The review runs non-interactively and returns structured feedback
- Treat the review as advisory — not all suggestions need to be applied
Help
!codex exec review --help
More from ryoppippi/dotfiles
ask-codex
Consult Codex CLI for a second opinion on implementation plans, code reviews, or problem-solving. Use when you want an independent perspective from a different AI agent before making significant decisions.
31ask-claude
Consult Claude Code for a second opinion on implementation plans, code reviews, or problem-solving. Use when you want an independent perspective from a different AI agent before making significant decisions.
30git-commit-crafter
Creates atomic git commits following Conventional Commits specification with detailed, well-structured messages. Analyzes changes and splits them into logical units. Use when committing code changes that need proper structure and comprehensive documentation (e.g., "commit my authentication changes" or "finished implementing search, time to commit").
5pr-workflow-manager
Manages complete PR workflow from start to finish - creates feature branch, commits changes, pushes to remote, and opens pull request. Use when user wants to create a PR (e.g., "create a PR for these changes" or "the fix is ready, push it up and create a pull request").
5