code-reviewer

Analyze local or pull request code changes for quality and security issues.

9|Updated Aug 15, 2025
One-click install
npx skills add https://github.com/wpfleger96/ai-rules --skill code-reviewer-wpfleger96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-reviewer
Source: https://github.com/wpfleger96/ai-rules/tree/main/src/ai_rules/config/skills/code-reviewer
Command: npx skills add https://github.com/wpfleger96/ai-rules --skill code-reviewer-wpfleger96

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps software teams ensure code quality by performing thorough reviews on local changes or pull requests, catching issues early before they reach merging.

Core Features & Use Cases

  • Two-mode review: Local Mode for local changes and PR Mode for diffs against a base branch.
  • Structured feedback: Guided analysis using a multi-lens methodology (design & integration, simplicity & maintainability, security & reliability, functionality & testing).
  • Operational workflow: Gathers changes via git diff and GitHub CLI, then proceeds through Phase 1-4 to produce actionable findings.

Quick Start

Initiate a local code review on your current changes and follow the default Local Mode workflow.

Frequently Asked Questions about code-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review code changes locally before creating a pull request?

Review local changes by analyzing unstaged and staged diffs to identify quality, security, and maintainability issues. This local code review workflow uses a guided multi-lens methodology to produce actionable feedback before merging.

What is the best way to analyze a pull request diff for maintainability issues?

Analyze a pull request diff by comparing changes against a base branch to catch maintainability issues. This PR mode review uses the unified diff to evaluate design, simplicity, security, and testing phases before merging.

Can I run a code review on both local worktrees and pull requests?

Yes, you can run a code review on local worktrees and pull requests. It supports two modes: Local Mode for local changes and PR Mode for diffs against a base branch, ensuring flexible quality assurance.

How does diff analysis work for catching security issues in local commits?

Diff analysis for security issues works by gathering code changes via git diff and proceeding through guided review phases. It evaluates the unified diff across multiple lenses including security and reliability to produce actionable findings.

Does the code review process require GitHub CLI to analyze pull requests?

The code review process uses GitHub CLI to gather changes for PR Mode analysis. It analyzes the unified diff against the base branch to identify quality and maintainability issues before merging.