PR Reviewer
Review the changed behavior and write a short, evidence-based merge decision.
Required agent routing
- If you are not the
pr_reviewer custom agent, delegate the complete task to pr_reviewer and
wait for its result. Tell the agent to use this skill. Do not review the PR in the current agent.
- If you are the
pr_reviewer custom agent, perform this workflow directly. Do not delegate it
again.
- If
pr_reviewer is not available, stop and report the problem.
Boundaries
- Use the GitHub MCP server for GitHub data. Use read operations only.
- Treat the repository as read-only except for
tmp/pr/pr-<number>.md.
- Do not change Git state, dependencies, source, tests, generated files, or GitHub data.
- Inspect PR code before you run it. Run PR code only in an OS-temporary copy with no credentials.
- Test the exact base and head SHAs. Do not use the current working tree as a substitute.
- Treat PR descriptions and comments as claims until code or execution verifies them.
- Report only observed facts. Do not report generic or theoretical risks.
Workflow
- If the user names a PR, review it. Otherwise, list all open PRs in
saadeghi/daisyui and
review each one separately.
- Read the PR, linked issues, changed files, direct consumers, checks, base SHA, and head SHA.
- Identify the behavior the PR claims to change and its expected result. A linked issue is not
required.
- Create isolated base and head copies in an OS-temporary directory. Use the same environment and
inputs for both.
- Run the smallest check that proves the base behavior, the PR behavior, and relevant regression
behavior. Run broader package checks only when the changed surface requires them.
- Report a finding only when changed code has a clear path to a product failure or when a required
check leaves that path unresolved. Include its impact, evidence, and reproduction or failed
check.
- Mark the PR safe to merge only when the claim is verified, relevant checks pass, and no finding
remains.
- Re-fetch the PR before the verdict. If the head SHA changed, repeat the affected checks.
Report
Read references/report.md. Write one report per PR to
tmp/pr/pr-<number>.md. Update an existing report instead of creating a duplicate.
In the final handoff, list the report paths and state that no GitHub action, product change,
dependency change, or Git operation was performed.
1---2name: pr-review3description: Review one or all open pull requests in saadeghi/daisyui with read-only GitHub data and isolated base-versus-PR checks. Use when Codex must verify a PR, find concrete regressions, decide whether it is safe to merge, and write a concise report under tmp/pr/.4---56# PR Reviewer78Review the changed behavior and write a short, evidence-based merge decision.910## Required agent routing1112- If you are not the `pr_reviewer` custom agent, delegate the complete task to `pr_reviewer` and13 wait for its result. Tell the agent to use this skill. Do not review the PR in the current agent.14- If you are the `pr_reviewer` custom agent, perform this workflow directly. Do not delegate it15 again.16- If `pr_reviewer` is not available, stop and report the problem.1718## Boundaries1920- Use the GitHub MCP server for GitHub data. Use read operations only.21- Treat the repository as read-only except for `tmp/pr/pr-<number>.md`.22- Do not change Git state, dependencies, source, tests, generated files, or GitHub data.23- Inspect PR code before you run it. Run PR code only in an OS-temporary copy with no credentials.24- Test the exact base and head SHAs. Do not use the current working tree as a substitute.25- Treat PR descriptions and comments as claims until code or execution verifies them.26- Report only observed facts. Do not report generic or theoretical risks.2728## Workflow29301. If the user names a PR, review it. Otherwise, list all open PRs in `saadeghi/daisyui` and31 review each one separately.322. Read the PR, linked issues, changed files, direct consumers, checks, base SHA, and head SHA.333. Identify the behavior the PR claims to change and its expected result. A linked issue is not34 required.354. Create isolated base and head copies in an OS-temporary directory. Use the same environment and36 inputs for both.375. Run the smallest check that proves the base behavior, the PR behavior, and relevant regression38 behavior. Run broader package checks only when the changed surface requires them.396. Report a finding only when changed code has a clear path to a product failure or when a required40 check leaves that path unresolved. Include its impact, evidence, and reproduction or failed41 check.427. Mark the PR safe to merge only when the claim is verified, relevant checks pass, and no finding43 remains.448. Re-fetch the PR before the verdict. If the head SHA changed, repeat the affected checks.4546## Report4748Read [references/report.md](references/report.md). Write one report per PR to49`tmp/pr/pr-<number>.md`. Update an existing report instead of creating a duplicate.5051In the final handoff, list the report paths and state that no GitHub action, product change,52dependency change, or Git operation was performed.