New to Claude Skills? Learn how to install them →

davila7 on GitHub

Code Reviewer

Free

Automate your code review process with best practices.

Get this skill

Free · Opens the source repo

What Code Reviewer does

The Code Reviewer skill provides a comprehensive toolkit designed for developers and teams looking to enhance their code review processes. It integrates automated scripts that analyze pull requests, check code quality, and generate detailed review reports. This skill supports popular programming languages such as TypeScript, JavaScript, Python, Swift, Kotlin, and Go, making it versatile for various projects. By leveraging automated checks, it helps ensure that code adheres to established best practices, security standards, and performance metrics.

The skill includes three main scripts: the PR Analyzer, which automates the analysis of pull requests, the Code Quality Checker that evaluates code for performance and optimization, and the Review Report Generator that compiles findings into a structured report. Each script is designed to streamline the review process, allowing developers to focus on critical feedback rather than manual checks. The included reference documentation further supports users by providing checklists, coding standards, and common antipatterns to avoid.

This skill is particularly useful for teams that conduct regular code reviews, as it can significantly reduce the time spent on manual analysis. It is ideal for both individual developers seeking to improve their coding practices and teams aiming to maintain high-quality codebases. By automating repetitive tasks, the Code Reviewer skill enhances productivity and helps maintain a consistent coding standard across projects.

While the skill is robust, it may not be suitable for projects that require highly customized review processes or for teams that prefer a more hands-on approach to code reviews. However, for most standard development workflows, this skill provides a valuable resource for ensuring code quality and adherence to best practices.

When to use it

Use this skill when reviewing pull requests, providing feedback, or ensuring adherence to coding standards.

When not to use it

This skill may not be suitable for highly customized review workflows or teams that prefer manual review processes.

What you can build with it

Streamlining Pull Request Reviews

Use the PR Analyzer script to automate the analysis of pull requests, ensuring all best practices are followed.

Ensuring Code Quality

Run the Code Quality Checker to identify performance issues and receive recommendations for improvements.

Generating Comprehensive Review Reports

Utilize the Review Report Generator to create detailed reports that summarize findings and suggested changes.

How to install Code Reviewer

View source

1. Install with the skills CLI

npx skills add davila7/claude-code-templates/code-reviewer --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by davila7

Code Reviewer

Complete toolkit for code reviewer with modern tools and best practices.

Quick Start

Main Capabilities

This skill provides three core capabilities through automated scripts:

# Script 1: Pr Analyzer
python scripts/pr_analyzer.py [options]

# Script 2: Code Quality Checker
python scripts/code_quality_checker.py [options]

# Script 3: Review Report Generator
python scripts/review_report_generator.py [options]

Core Capabilities

1. Pr Analyzer

Automated tool for pr analyzer tasks.

Features:

  • Automated scaffolding
  • Best practices built-in
  • Configurable templates
  • Quality checks

Usage:

python scripts/pr_analyzer.py <project-path> [options]

2. Code Quality Checker

Comprehensive analysis and optimization tool.

Features:

  • Deep analysis
  • Performance metrics
  • Recommendations
  • Automated fixes

Usage:

python scripts/code_quality_checker.py <target-path> [--verbose]

3. Review Report Generator

Advanced tooling for specialized tasks.

Features:

  • Expert-level automation
  • Custom configurations
  • Integration ready
  • Production-grade output

Usage:

python scripts/review_report_generator.py [arguments] [options]

Reference Documentation

Code Review Checklist

Comprehensive guide available in references/code_review_checklist.md:

  • Detailed patterns and practices
  • Code examples
  • Best practices
  • Anti-patterns to avoid
  • Real-world scenarios

Coding Standards

Complete workflow documentation in references/coding_standards.md:

  • Step-by-step processes
  • Optimization strategies
  • Tool integrations
  • Performance tuning
  • Troubleshooting guide

Common Antipatterns

Technical reference guide in references/common_antipatterns.md:

  • Technology stack details
  • Configuration examples
  • Integration patterns
  • Security considerations
  • Scalability guidelines

Tech Stack

Languages: TypeScript, JavaScript, Python, Go, Swift, Kotlin Frontend: React, Next.js, React Native, Flutter Backend: Node.js, Express, GraphQL, REST APIs Database: PostgreSQL, Prisma, NeonDB, Supabase DevOps: Docker, Kubernetes, Terraform, GitHub Actions, CircleCI Cloud: AWS, GCP, Azure

Development Workflow

1. Setup and Configuration

# Install dependencies
npm install
# or
pip install -r requirements.txt

# Configure environment
cp .env.example .env

2. Run Quality Checks

# Use the analyzer script
python scripts/code_quality_checker.py .

# Review recommendations
# Apply fixes

3. Implement Best Practices

Follow the patterns and practices documented in:

  • references/code_review_checklist.md
  • references/coding_standards.md
  • references/common_antipatterns.md

Best Practices Summary

Code Quality

  • Follow established patterns
  • Write comprehensive tests
  • Document decisions
  • Review regularly

Performance

  • Measure before optimizing
  • Use appropriate caching
  • Optimize critical paths
  • Monitor in production

Security

  • Validate all inputs
  • Use parameterized queries
  • Implement proper authentication
  • Keep dependencies updated

Maintainability

  • Write clear code
  • Use consistent naming
  • Add helpful comments
  • Keep it simple

Common Commands

# Development
npm run dev
npm run build
npm run test
npm run lint

# Analysis
python scripts/code_quality_checker.py .
python scripts/review_report_generator.py --analyze

# Deployment
docker build -t app:latest .
docker-compose up -d
kubectl apply -f k8s/

Troubleshooting

Common Issues

Check the comprehensive troubleshooting section in references/common_antipatterns.md.

Getting Help

  • Review reference documentation
  • Check script output messages
  • Consult tech stack documentation
  • Review error logs

Resources

  • Pattern Reference: references/code_review_checklist.md
  • Workflow Guide: references/coding_standards.md
  • Technical Guide: references/common_antipatterns.md
  • Tool Scripts: scripts/ directory

Frequently asked questions about Code Reviewer

Similar skills