New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Structured code review skill that checks pull requests for correctness, security, performance, and maintainability.

skills.sh installs
665
GitHub stars
89
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers a seven-category review: correctness, security, performance, code quality, testing, documentation, and maintainability
  • Provides severity-ranked feedback (Critical, High, Medium, Low) with file and line references and an approval status
  • Includes language-specific guidelines for TypeScript, React, Python, and Go, plus a pattern table for common issues
  • Runs git diff main...HEAD for context and scripts/review_checklist.py --base main to generate a review checklist

Install

$ npx -y skills add zhaono1/agent-playbook --skill code-reviewer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Code Reviewer

A comprehensive code review skill that analyzes pull requests and code changes for quality, security, maintainability, and best practices.

When This Skill Activates

This skill activates when you:

  • Ask for a code review
  • Request a PR review
  • Mention reviewing changes
  • Say "review this" or "check this code"

Review Process

Phase 1: Context Gathering

  1. Get changed files

    git diff main...HEAD --name-only
    git log main...HEAD --oneline
    
  2. Get the diff

    git diff main...HEAD
    
  3. Understand project context

    • Read relevant documentation
    • Check existing patterns in similar files
    • Identify project-specific conventions

Phase 2: Analysis Categories

1. Correctness
  • Logic is sound and matches requirements
  • Edge cases are handled
  • Error handling is appropriate
  • No obvious bugs or typos
2. Security
  • No hardcoded secrets or credentials
  • Input validation and sanitization
  • SQL injection prevention
  • XSS prevention (for frontend)
  • Authentication/authorization checks
  • Safe handling of user data

Details

Repository
github.com/zhaono1/agent-playbook
Categories
Code Review & Quality, Security, Testing & QA
First seen
May 16, 2026

More from zhaono1/agent-playbook

All 24

Similar to Code Reviewer

More Code Review & Quality