Skip to content
Back to skills

Review Pr

ASecurity

Review a pull request by fetching PR comments, running a comprehensive code review, evaluating findings, and dispatching to implementation. Use when the user asks to \"review PR\", \"review pull request\", \"review this PR\", \"check PR before merging\", or \"full PR review\".

  • 406 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
developmentgit

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add tobihagemann/turbo --skill review-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Pr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tobihagemann-review-pr/badge)](https://www.skillsdirectory.com/skills/tobihagemann-review-pr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-pr
description: "Review a pull request by fetching PR comments, running a comprehensive code review, evaluating findings, and dispatching to implementation. Use when the user asks to \"review PR\", \"review pull request\", \"review this PR\", \"check PR before merging\", or \"full PR review\"."
---

# Review PR

Fetch PR context, run a comprehensive code review, evaluate findings, and dispatch accepted findings to implementation.

## Task Tracking

At the start, use `TaskCreate` to create a task for each step:

1. Run `/fetch-pr-comments` skill
2. Detect base branch
3. Run `/review-code` skill
4. Run `/evaluate-findings` skill
5. Run `/resolve-findings` skill

## Step 1: Run `/fetch-pr-comments` Skill

Run the `/fetch-pr-comments` skill to get unresolved review comments.

## Step 2: Detect Base Branch

Detect the PR's base branch via `gh pr view --json baseRefName --jq '.baseRefName'`.

## Step 3: Run `/review-code` Skill

Run the `/review-code` skill. The diff command is `git diff <base-branch>...HEAD`.

## Step 4: Run `/evaluate-findings` Skill

Run the `/evaluate-findings` skill on the combined results from Step 3. Include any unresolved PR comments from Step 1 as additional findings for evaluation.

## Step 5: Run `/resolve-findings` Skill

If zero actionable findings survive evaluation, report that the code looks clean and stop.

Otherwise, run the `/resolve-findings` skill on the accepted findings from Step 4.

## Rules

- If fetching PR comments fails, proceed with code review only.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.