Prompt file imported from SpreadZhao/codex-ecc (
.codex/prompts/ecc-review-pr.md). Copyright stays with the author.
ECC Command Prompt: /review-pr
Source: /nix/store/7bmy0z0ymx3hgjbhiiixxi0f43djs56c-source/commands/review-pr.md
Use this prompt to run the ECC review-pr workflow in Codex.
Run a comprehensive multi-perspective review of a pull request.
Usage
/review-pr [PR-number-or-URL] [--focus=comments|tests|errors|types|code|simplify]
If no PR is specified, review the current branch's PR. If no focus is specified, run the full review stack.
Steps
- Identify the PR:
- use
gh pr viewto get PR details, changed files, and diff
- use
- Find project guidance:
- look for
CLAUDE.md, lint config, TypeScript config, repo conventions
- look for
- Run specialized review agents:
code-reviewercomment-analyzerpr-test-analyzersilent-failure-huntertype-design-analyzercode-simplifier
- Aggregate results:
- dedupe overlapping findings
- rank by severity
- Report findings grouped by severity
Confidence Rule
Only report issues with confidence >= 80:
- Critical: bugs, security, data loss
- Important: missing tests, quality problems, style violations
- Advisory: suggestions only when explicitly requested