/ai-plugins:reviewfrom ai-plugins
Structured four-perspective pull request review — Developer, QE, Security, DevOps. Use when the user says review, review this PR, run a full PR review, or wants a structured multi-perspective PR analysis.
Ships in ai-plugins. Installing the plugin adds it to Claude Code.
This command reviews a pull request using the existing code-review review-pr workflow, then presents the findings grouped into four engineering perspectives.
Use the text after the command name as the PR link or number. If your command runtime exposes $ARGUMENTS, treat it as that same value.
If no PR link or number was provided, ask the user for the pull request URL before proceeding.
Run the code-review review-pr workflow. Read and follow these files in order:
skills/code-review/SKILL.md — route to review-prskills/code-review/review-pr.md — the full PR review workflowskills/review-engine/SKILL.md — the shared review engineskills/review-engine/review-perspectives.md — perspective criteriaComplete all steps (setup, PR context, size assessment, orchestrated review, CI status, save review). Do NOT skip any step.
Regroup the findings into four perspectives. After the review engine produces aggregated findings, classify each finding into one or more of these presentation perspectives based on its category:
| Perspective | Source categories (from review-perspectives.md) |
|---|---|
| Developer Review | Go, Python, Frontend, Performance, API, Documentation, Dependency — code quality, maintainability, scalability, coding standards |
| Quality Engineer Review | Test, Integration & E2E Test — test coverage, edge cases, potential bugs, regression risk |
| Security Engineer Review | Security — vulnerabilities, data handling, OWASP compliance |
| DevOps Review | Dockerfile, Shell & Build Script, Terraform / IaC, Kubernetes — CI/CD integration, infrastructure changes, monitoring needs |
Findings that span multiple perspectives appear under each relevant one. Findings that don't clearly map go under Developer Review.
Render the report using four sequential sections instead of the default flat format. Each section acts as a self-contained review from that engineering role:
## PR Review: <PR title>
**Verdict**: APPROVE / REQUEST_CHANGES / NEEDS_DISCUSSION
**Summary**: 2–3 sentence overall assessment.
---
### 1. Developer Review
Code quality, maintainability, performance, scalability, and coding standards.
#### [{severity}] {title}
**File**: `path/to/file.ext` (lines N–M)
**Category**: {category}
{Detailed explanation of the issue.}
**How to fix:**
{code snippet showing the corrected code}
**Developer Verdict**: {pass/fail summary}
---
### 2. Quality Engineer Review
Test coverage, edge cases, potential bugs, and regression risk.
(same finding format)
**QE Verdict**: {pass/fail summary}
---
### 3. Security Engineer Review
Vulnerabilities, data handling, and OWASP compliance.
(same finding format)
**Security Verdict**: {pass/fail summary}
---
### 4. DevOps Review
CI/CD integration, infrastructure changes, and monitoring needs.
(same finding format)
**DevOps Verdict**: {pass/fail summary}
---
### What's Good
- {praise for well-written aspects across all perspectives}
### Stats
- Files reviewed: N
- Findings: N critical, N high, N medium, N low, N info
- Developer: N | QE: N | Security: N | DevOps: N
review-engine/SKILL.md for publishing findings to GitHub.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub schseba/ai-plugins --plugin ai-plugins18 commands in this plugin
/code-refactorRefactor and improve code quality across a project using parallel specialized sub-agents with a safety-first iterative approach./code-reviewReview local changes or a pull request using the shared multi-perspective review workflow./commitCommit staged changes with a conventional-commit message. Use when committing, creating a commit, or saving changes./develop-featureImplement and review a feature using an approved plan. Run plan-feature first if no plan exists./explainExplain the current pull request in plain language for reviewers and teammates./generate-testsGenerate comprehensive test suites for specified code, discovering project testing conventions automatically. Use when asked to add tests, create test files, improve test coverage, or generate unit/integration tests.Other plugins' commands for the same job