codex-code-review
Installation
SKILL.md
Codex Code Review
Automated review loop: run Codex review on unstaged changes, apply fixes, re-review until clean.
Workflow
- Check for unstaged changes with
git diff. If empty, report "No unstaged changes to review" and stop. - Run the Codex review:
codex review --uncommitted
- Read the review output carefully.
- For each piece of feedback, decide if it is valid. Apply valid fixes directly. Skip feedback that is incorrect, irrelevant, or purely stylistic preference with no real benefit.
- After applying fixes, run the review command again (step 2).
- Repeat until the review output contains "LGTM" or only minor/irrelevant comments remain.
- Summarize what was reviewed and what was fixed.