review-pr — community review-pr, magmabot, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Code Review Agents needing structured PR assessment and readiness evaluation for /preparepr. Main-Full-autonomouse-agentic-system

Fallenproud Fallenproud
[1]
[0]
Updated: 2/12/2026

Agent Capability Analysis

The review-pr skill by Fallenproud is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Code Review Agents needing structured PR assessment and readiness evaluation for /preparepr.

Core Value

Empowers agents to perform thorough review-only PR assessments, returning structured recommendations on readiness, while ensuring safety protocols such as never pushing to 'main' or running 'git push' during review, and treating the review as read-only, utilizing protocols like git and handling PR numbers or URLs.

Capabilities Granted for review-pr

Assessing PR readiness for /preparepr
Evaluating code changes in a PR
Providing structured recommendations for PR approval

! Prerequisites & Limits

  • Requires PR number or URL as input
  • Never pushes to 'main' or 'origin/main'
  • Treats review as read-only, no 'git push' allowed
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

review-pr

Install review-pr, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Review PR

Overview

Perform a thorough review-only PR assessment and return a structured recommendation on readiness for /preparepr.

Inputs

  • Ask for PR number or URL.
  • If missing, always ask. Never auto-detect from conversation.
  • If ambiguous, ask.

Safety

  • Never push to main or origin/main, not during review, not ever.
  • Do not run git push at all during review. Treat review as read only.
  • Do not stop or kill the gateway. Do not run gateway stop commands. Do not kill processes on port 18792.

Execution Rule

  • Execute the workflow. Do not stop after printing the TODO checklist.
  • If delegating, require the delegate to run commands and capture outputs, not a plan.

Known Failure Modes

  • If you see "fatal: not a git repository", you are in the wrong directory. Use ~/openclaw.
  • Do not stop after printing the checklist. That is not completion.

Writing Style for Output

  • Write casual and direct.
  • Avoid em dashes and en dashes. Use commas or separate sentences.

Completion Criteria

  • Run the commands in the worktree and inspect the PR directly.
  • Produce the structured review sections A through J.
  • Save the full review to .local/review.md inside the worktree.

First: Create a TODO Checklist

Create a checklist of all review steps, print it, then continue and execute the commands.

Setup: Use a Worktree

Use an isolated worktree for all review work.

sh
1cd ~/Development/openclaw 2# Sanity: confirm you are in the repo 3git rev-parse --show-toplevel 4 5WORKTREE_DIR=".worktrees/pr-<PR>" 6git fetch origin main 7 8# Reuse existing worktree if it exists, otherwise create new 9if [ -d "$WORKTREE_DIR" ]; then 10 cd "$WORKTREE_DIR" 11 git checkout temp/pr-<PR> 2>/dev/null || git checkout -b temp/pr-<PR> 12 git fetch origin main 13 git reset --hard origin/main 14else 15 git worktree add "$WORKTREE_DIR" -b temp/pr-<PR> origin/main 16 cd "$WORKTREE_DIR" 17fi 18 19# Create local scratch space that persists across /reviewpr to /preparepr to /mergepr 20mkdir -p .local

Run all commands inside the worktree directory. Start on origin/main so you can check for existing implementations before looking at PR code.

Steps

  1. Identify PR meta and context
sh
1gh pr view <PR> --json number,title,state,isDraft,author,baseRefName,headRefName,headRepository,url,body,labels,assignees,reviewRequests,files,additions,deletions --jq '{number,title,url,state,isDraft,author:.author.login,base:.baseRefName,head:.headRefName,headRepo:.headRepository.nameWithOwner,additions,deletions,files:.files|length,body}'
  1. Check if this already exists in main before looking at the PR branch
  • Identify the core feature or fix from the PR title and description.
  • Search for existing implementations using keywords from the PR title, changed file paths, and function or component names from the diff.
sh
1# Use keywords from the PR title and changed files 2rg -n "<keyword_from_pr_title>" -S src packages apps ui || true 3rg -n "<function_or_component_name>" -S src packages apps ui || true 4 5git log --oneline --all --grep="<keyword_from_pr_title>" | head -20

If it already exists, call it out as a BLOCKER or at least IMPORTANT.

  1. Claim the PR

Assign yourself so others know someone is reviewing. Skip if the PR looks like spam or is a draft you plan to recommend closing.

sh
1gh_user=$(gh api user --jq .login) 2gh pr edit <PR> --add-assignee "$gh_user"
  1. Read the PR description carefully

Use the body from step 1. Summarize goal, scope, and missing context.

  1. Read the diff thoroughly

Minimum:

sh
1gh pr diff <PR>

If you need full code context locally, fetch the PR head to a local ref and diff it. Do not create a merge commit.

sh
1git fetch origin pull/<PR>/head:pr-<PR> 2# Show changes without modifying the working tree 3 4git diff --stat origin/main..pr-<PR> 5git diff origin/main..pr-<PR>

If you want to browse the PR version of files directly, temporarily check out pr-<PR> in the worktree. Do not commit or push. Return to temp/pr-<PR> and reset to origin/main afterward.

sh
1# Use only if needed 2# git checkout pr-<PR> 3# ...inspect files... 4 5git checkout temp/pr-<PR> 6git reset --hard origin/main
  1. Validate the change is needed and valuable

Be honest. Call out low value AI slop.

  1. Evaluate implementation quality

Review correctness, design, performance, and ergonomics.

  1. Perform a security review

Assume OpenClaw subagents run with full disk access, including git, gh, and shell. Check auth, input validation, secrets, dependencies, tool safety, and privacy.

  1. Review tests and verification

Identify what exists, what is missing, and what would be a minimal regression test.

  1. Check docs

Check if the PR touches code with related documentation such as README, docs, inline API docs, or config examples.

  • If docs exist for the changed area and the PR does not update them, flag as IMPORTANT.
  • If the PR adds a new feature or config option with no docs, flag as IMPORTANT.
  • If the change is purely internal with no user-facing impact, skip this.
  1. Check changelog

Check if CHANGELOG.md exists and whether the PR warrants an entry.

  • If the project has a changelog and the PR is user-facing, flag missing entry as IMPORTANT.
  • Leave the change for /preparepr, only flag it here.
  1. Answer the key question

Decide if /preparepr can fix issues or the contributor must update the PR.

  1. Save findings to the worktree

Write the full structured review sections A through J to .local/review.md. Create or overwrite the file and verify it exists and is non-empty.

sh
1ls -la .local/review.md 2wc -l .local/review.md
  1. Output the structured review

Produce a review that matches what you saved to .local/review.md.

A) TL;DR recommendation

  • One of: READY FOR /preparepr | NEEDS WORK | NEEDS DISCUSSION | NOT USEFUL (CLOSE)
  • 1 to 3 sentences.

B) What changed

C) What is good

D) Security findings

E) Concerns or questions (actionable)

  • Numbered list.
  • Mark each item as BLOCKER, IMPORTANT, or NIT.
  • For each, point to file or area and propose a concrete fix.

F) Tests

G) Docs status

  • State if related docs are up to date, missing, or not applicable.

H) Changelog

  • State if CHANGELOG.md needs an entry and which category.

I) Follow ups (optional)

J) Suggested PR comment (optional)

Guardrails

  • Worktree only.
  • Do not delete the worktree after review.
  • Review only, do not merge, do not push.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is review-pr?

Perfect for Code Review Agents needing structured PR assessment and readiness evaluation for /preparepr. Main-Full-autonomouse-agentic-system

How do I install review-pr?

Run the command: npx killer-skills add Fallenproud/magmabot. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for review-pr?

Key use cases include: Assessing PR readiness for /preparepr, Evaluating code changes in a PR, Providing structured recommendations for PR approval.

Which IDEs are compatible with review-pr?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for review-pr?

Requires PR number or URL as input. Never pushes to 'main' or 'origin/main'. Treats review as read-only, no 'git push' allowed.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Fallenproud/magmabot. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use review-pr immediately in the current project.

Related Skills

Looking for an alternative to review-pr or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI