/pr-review
Fix engine for PR review comments. Fetches review comments (Gemini bot or human), categorizes by impact, posts a prioritized fix queue, and applies fixes on dev approval. Called directly for quick fixes, or internally by pr-review-agent as part of full PR review.
$ npx -y skills add wednesday-solutions/ai-agent-skills --skill pr-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/pr-review
Context preview
The summary Claude sees to decide when to auto-load this skill.
Fix engine for PR review comments. Fetches review comments (Gemini bot or human), categorizes by impact, posts a prioritized fix queue, and applies fixes on dev approval. Called directly for quick fixes, or internally by pr-review-agent as part of full PR review.
SKILL.md
pr-review.SKILL.mdname: pr-review
description: Fix engine for PR review comments. Fetches review comments (Gemini bot or human), categorizes by impact, posts a prioritized fix queue, and applies fixes on dev approval. Called directly for quick fixes, or internally by pr-review-agent as part of full PR review.
license: MIT
metadata:
author: wednesday-solutions
version: "2.0"
permissions:
allow:
- Bash(git *)
- Bash(gh *)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
# 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.
Read more
name: pr-review
description: Fix engine for PR review comments. Fetches review comments (Gemini bot or human), categorizes by impact, posts a prioritized fix queue, and applies fixes on dev approval. Called directly for quick fixes, or internally by pr-review-agent as part of full PR review.
license: MIT
metadata:
author: wednesday-solutions
version: "2.0"
permissions:
allow:
- Bash(git *)
- Bash(gh *)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
# 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.
Transform any repository into an AI-aware, intelligent environment — a codebase that any AI agent can jump into on day one without making junior-level mistakes.
Repo: wednesday-solutions/ai-agent-skills
Other skills on ai-agent-skills.
- /module-audit
Use when asked to audit a module, check its health, or assess whether it should be refactored. Runs structural query, risk check, and test generation automatically.
Open skill - /onboard-dev
Use when a dev is new to the project, asks for an overview, or wants to get oriented quickly. Fills graph gaps then runs a guided codebase interview.
Open skill - /pr-review-agent
Full PR review orchestrator. Use when asked to review a PR or check if it is ready to merge. Runs blast radius + drift check on changed files, then hands off to pr-review for comment triage and fixes. Do NOT use pr-review directly for full reviews — use this.
Open skill - /brownfield-drift
Enforces architecture boundaries defined in PLAN.md. Use when a PR crosses module/service boundaries, when the dev asks "are we following the architecture?", or as a scheduled architecture health check. Not for querying what a module does — use brownfield-chat for that.
Open skill - /codebase-intel
Unified codebase intelligence. Handles all questions about structure, logic, risk, and dependencies. Combines natural-language Q&A with deterministic lookups and pre-edit blast radius checks.
Open skill - /deploy-checklist
Pre-deploy and post-deploy checklist skill. Ensures env vars, migrations, CI, rollback plan, smoke tests, and monitoring are verified before and after every deployment.
Open skill

