with one click
pr-review
Address review comments and CI failures for the current branch's PR
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Address review comments and CI failures for the current branch's PR
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | pr-review |
| description | Address review comments and CI failures for the current branch's PR |
GH_PAGER= to every gh command (bash/zsh), or set $env:GH_PAGER="" in PowerShell — never modify global configgh pr list --head <BRANCH> · gh pr view <PR> --comments · gh pr checks <PR> · gh run view <RUN_ID> --log-failedBefore acting on any review comment or suggestion, classify it by importance:
| Level | Criteria | Action |
|---|---|---|
| P1 — Must Fix | Bug, security issue, broken behavior, API contract violation, CI failure | Fix immediately |
| P2 — Should Fix | Correctness risk, meaningful maintainability improvement, clear code smell with real impact | Fix with brief justification |
| P3 — Optional | Style preference, minor naming nitpick, debatable design choice, "could be cleaner" | Do NOT auto-fix — surface to user for decision |
| P4 — Reject | Contradicts project conventions, introduces unnecessary complexity, or is factually wrong | Reject with explanation |
Rules:
Before pushing code fixes, verify locally when possible (uname -s / uname -m) to avoid unnecessary remote round-trips.
CI platform map:
| CI job | OS family | Arch |
|---|---|---|
| macOS arm64 | Darwin | arm64 |
| macOS x86_64 | Darwin | x86_64 |
| Linux (Ubuntu / Fedora) | Linux | x86_64 |
| Windows x64 | Windows | x86_64 |
When to verify locally:
Local commands (via tasks.sh):
| Failure stage | Command |
|---|---|
| Configure | bash -l tasks.sh --release --config |
| Build | bash -l tasks.sh --release --rebuild |
| Test | bash -l tasks.sh --release --rebuild && bash -l tasks.sh --release --test |
| Format / lint | bash -l tasks.sh --format then check for diffs |
Local pass → proceed to push. Local fail → iterate until fixed. Inconclusive (e.g. toolchain mismatch) → note in summary, proceed.
gh run view <RUN_ID> --log-failed.github/workflows/ directlyGH_PAGER= gh pr checks <PR> (or GH_PAGER= gh run watch <RUN_ID>) until the affected check finishesgh run view <NEW_RUN_ID> --log-failed) and repeat from step itasks.sh command if local OS matches the failing CI platformbash -l tasks.sh --release --rebuild && bash -l tasks.sh --release --test to catch cross-fix interactions. Skip if no platform matches.GH_PAGER= gh pr checks <PR>| # | Source | Issue | Priority | Action | Local verified | Reason if skipped |
|---|--------|-------|----------|--------|----------------|-------------------|
| 1 | Reviewer @xxx | rename foo() | P3 | Not fixed | — | Style preference — deferred to user |
| 2 | CI: macOS arm64 | missing include | P1 | Fixed | Yes (Darwin arm64) | — |
All P3/P4 items that were not fixed must appear in this table with a clear reason, so the user can make an informed decision.