/engineering:codex-reviewfrom engineering
Run an OpenAI Codex code review on the current branch's changes against a base, extract findings, fix confirmed P0/P1 issues, and commit. Useful after a batch of work for a structured second opinion before shipping.
Ships in engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run a Codex code review on the current branch's recent changes, evaluate findings critically, and fix any that are confirmed bugs at or above the requested severity threshold.
which codex || npx @openai/codex --version
If neither resolves, stop and tell the user the OpenAI Codex CLI isn't installed. Install instructions: npm i -g @openai/codex.
codex review --base <ref> needs a base that actually differs from HEAD. Check the current branch first:
git branch --show-current
git status --short
--base main directly.--base main — pick the last natural review boundary instead. Reasonable picks:
git merge-base main origin/main if multiple commits are ahead of origingit log --oneline -20 and pick a sensible boundary)--uncommitted instead of --base.Confirm the scope with the user before kicking off if the diff is >50 files / >5,000 LOC — large reviews take longer and waste credit on noise.
npx @openai/codex review --base <ref> 2>&1 | tail -250
Codex emits progress logs and then a final review block that starts with codex and lists [Pn] Title — file:line findings. Read the whole tail; the actual findings are usually at the very end.
For every P0 / P1 finding (or whatever the requested threshold is):
Common false positives:
After any code change:
pnpm --filter <package> typecheck # or repo's equivalent
pnpm --filter <package> test
pnpm exec biome check --write <files> # or repo's formatter/linter
Don't git add until typecheck + tests pass. If a fix fails CI locally, debug it before committing — never commit broken code to land a review.
If anything was fixed:
git add <files>
git commit -m "fix: address P1 issues from Codex review"
Keep the commit narrow — only the review fixes. If you discovered unrelated issues, file them as TODOs or follow-up tasks rather than bundling them in.
Always report:
If no findings or all P2 below threshold, say so explicitly so the user knows the review completed cleanly — silence is ambiguous.
Don't run this on tiny changes (typo fixes, single-line tweaks) — the review overhead isn't worth it. Use it after substantial work: a sprint, a refactor, a multi-file feature, anything you'd want a second pair of eyes on before shipping.
What SKILL.md sets; muted values are Claude Code's defaults
34 skills in this plugin
/architectureCreate or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints./careful-reviewRe-read the code you just wrote (and anything else you modified) with fresh eyes and look hard for bugs, errors, awkward design, dead code, or things that will confuse the next reader. Then fix what you find. Use after a batch of edits, when the user says "careful review", "look it over again", "give it another pass", or before opening a PR./code-reviewReview code changes for security, performance, and correctness. Trigger with a PR URL or diff, "review this before I merge", "is this code safe?", or when checking a change for N+1 queries, injection risks, missing edge cases, or error handling gaps./debugStructured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious./deploy-checklistPre-deployment verification checklist. Use when about to ship a release, deploying a change with database migrations or feature flags, verifying CI status and approvals before going to production, or documenting rollback triggers ahead of time./diagnoseDisciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.npx claudepluginhub goldenberry-so/pace --plugin engineering