Skills

PR Codex Review Loop

Use when a PR has been (or is about to be) pushed and needs the codex review loop, ...

Install

npx skills add cubeplexai/cubeplex --skill pr-codex-review-loop -g -a claude-code -y
Repository
cubeplexai/cubeplex574
Category
Git and review
Updated
3d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Use when a PR has been (or is about to be) pushed and needs the codex review loop, push → wait → fetch new comments via the bundled codex-poll.sh → fix actionable feedback → reply to every comment → re-tag @codex → repeat until clean. Triggers on phrases like "等 codex review", "看看 review", "@codex 直到 ok", "PR review 循环".

PR Codex Review Loop

A judgment-bearing wrapper around scripts/codex-poll.sh (bundled with this skill). The poller is the deterministic part, single-shot, cursor-based, dependable. This skill is the strategy layer: when to poll, what counts as actionable, how to reply, when to stop.

When To Use

  • User says something like "提交 PR / push → 看 review / 等 codex → 改 → @codex 直到 ok".
  • A PR was just pushed and the user expects the codex bot to weigh in.
  • User explicitly invokes /pr-codex-review-loop or names the skill.

Do not auto-invoke after every push, only when the loop is actually the intent.

Prerequisites

  • gh CLI is authenticated (gh auth status).
  • jq is installed (the poller depends on it).
  • The PR exists and the user has push rights (so follow-up commits land).
  • You know the PR number. If unclear, ask once, then stop guessing.

Scope Decision Belongs To The User

This skill does not decide whether to split a change into spec / plan / code PRs. That decision is upstream:

  • 1 PR for tightly-coupled changes (small fix, single concern).
  • N PRs (spec → plan → code) when each artifact can be reviewed independently, or when the spec/plan needs validation before code.

If the user has not made the call, ask once with the trade-off (review cost vs. coupling vs. rollback granularity). Once decided, run one loop per PR.

The Loop

For each PR you're driving:

Read the whole SKILL.md on GitHub

More in Git and review