home/productivity/review-pr-goal

Review Pr.goal

GPTClaudeDeepSeek··1,357 copies·updated 2026-07-14
review-pr-goal.prompt
# Codex Prompt: Review Pull Request

## Target Tool

OpenAI Codex CLI or Codex-style coding-agent goal mode used as a reviewer.

## Purpose

Use this prompt when Codex should review a current branch, pull request, or proposed diff. The default mode is read-only: the agent should inspect and report, not implement fixes. This is the reviewer's-hat prompt, distinct from `fix-bug.goal.md` (which implements a fix) and `repository-cleanup.goal.md` (which performs conservative tidying). If review findings turn into an approved fix task, hand the results to a separate implementation prompt instead of blending review and edit in the same run.

## Inputs To Fill

| Input | Description | Example |
| --- | --- | --- |
| `{base_branch}` | Branch or ref to compare against. | `origin/main` |
| `{pr_goal}` | What the PR is supposed to accomplish. | `Improve prompt templates` |
| `{areas_of_concern}` | Review priorities. | `public safety, unsupported claims, tests` |
| `{allowed_edits}` | Whether edits are allowed. | `None; review only` |
| `{checks_available}` | Checks or CI results to inspect/run. | `repo health, safe autofix, unittest` |
| `{pr_source}` | Where the branch/PR came from. | `Fork contributor, first-time submitter` |

## Full Prompt

fill the variables

This prompt has 6 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{base_branch}{pr_goal}{areas_of_concern}{allowed_edits}{checks_available}{pr_source}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo Yaked1/ai-lab-codex-workbench (MIT). A "Review Pr.goal" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

Yaked1/ai-lab-codex-workbench · MIT