---
name: PR Review
slug: pr-review-5
category: Quality
description: PR Review fixes review comments on an open pull request by grouping them by impact and applying approved changes. Use it to triage Gemini or human feedback and work through a prioritized fix queue.
github: "https://github.com/wednesday-solutions/ai-agent-skills/tree/main/skills/pr-review"
language: JavaScript
stars: 168
forks: 21
install: "npx degit https://github.com/wednesday-solutions/ai-agent-skills/tree/main/skills/pr-review ~/.claude/skills/pr-review"
installs_to: ~/.claude/skills/pr-review
source_path: skills/pr-review/SKILL.md
collection_size: 10
category_size: 1897
collection_url: "https://dirskills.com/collections/wednesday-solutions/ai-agent-skills"
added: 2026-09-08T05:34:07.490Z
last_synced: 2026-09-08T05:34:07.490Z
canonical_url: "https://dirskills.com/skills/pr-review-5"
---

# PR Review

PR Review fixes review comments on an open pull request by grouping them by impact and applying approved changes. Use it to triage Gemini or human feedback and work through a prioritized fix queue.

**Install:**

```bash
npx degit https://github.com/wednesday-solutions/ai-agent-skills/tree/main/skills/pr-review ~/.claude/skills/pr-review
```

## README

# PR Review — Gemini Fix Queue

## Trigger

Load this skill when a dev wants to **act on PR review comments**:
- "Fix the review comments"
- "Triage the PR feedback"
- "Apply fixes from the review"
- "@agent fix #1 #3"
- "@agent fix all"
- "What do I need to fix in this PR?"

Also triggered automatically by GitHub Actions when Gemini bot posts a PR review.

**Do NOT use this skill for:** creating a new PR (use `pr-create`), or committing code (use `git-os`). This skill only runs on an already-open PR that has review comments on it.

## Priority Order

Fix in this order — lower number = fix first.

| Rank | Category | Examples |
|------|----------|---------|
| 1 | security | auth issues, injection risks, data exposure |
| 2 | breaking | API contract changes, interface changes |
| 3 | logic | wrong conditions, missing edge cases |
| 4 | performance | N+1 queries, unnecessary re-renders |
| 5 | naming | variable/function/class names, casing |
| 6 | style | formatting, whitespace, import order |

**Rule: never fix a style item while a security or breaking issue is pending.**

## Review Report Format

```markdown
# Gemini Review — PR #<n>

| # | Category | File | Issue | Status |
|---|----------|------|-------|--------|
| 1 | security | src/db.js | SQL query not parameterized | ⬜ pending |
| 2 | logic | src/user.js | Missing null check on user.profile | ⬜ pending |
| 3 | naming | src/auth.js | Variable `x` is unclear | ⬜ pending |

To fix: `@agent fix #1 #2`   Fix all: `@agent fix all`
```

## Tools

| Action | Tool |
|--------|------|
| Read a file before applying a fix | `Read` |
| Apply a fix to a file | `Edit` |
| Run git commands (commit, push) | `Bash` |
| Search for a pattern across files | `Grep` |
| Find files by name | `Glob` |

## Agent Fix Rules

- Never auto-fix without explicit dev approval (`@agent fix #N`)
- Read `git-os` SKILL.md before making any commit
- One commit per fix item
- Commit format: `fix(scope): description\n\nResolves review item #N`
- Push to the same PR branch
- Update the report — mark fixed items as `✅ fixed`

## Failure Handling

If a fix cannot be applied cleanly, post a comment explaining the conflict. Never force-push or silently skip a fix.
