mcpField
C
code-review-analysis

code-review-analysis

github.com/aj-geddesTesting & quality3732.4k installsUpdated 34w ago
Repository

About code-review-analysis

A structured code review skill for developers assessing changes before they are merged. It covers quality, security, performance, testing, and maintainability, with guidance for constructive feedback.

Key features

  1. 01Initial change assessment
  2. 02Code quality analysis
  3. 03Security and performance review
  4. 04Testing review
  5. 05Constructive feedback practices

Use cases

  1. 01Reviewing pull requests before merging
  2. 02Checking changes for security issues
  3. 03Assessing performance and maintainability
  4. 04Giving actionable feedback to developers

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill code-review-analysis

After installing, type/code-review-analysisin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
best-practices.md
code-quality-analysis.md
initial-assessment.md
performance-review.md
security-review.md
testing-review.md
scripts/
validate-schema.sh
templates/
migration-template.sql

Details

From the project README

Code Review Analysis

Table of Contents

Overview

Systematic code review process covering code quality, security, performance, maintainability, and best practices following industry standards.

When to Use

  • Reviewing pull requests and merge requests
  • Analyzing code quality before merging
  • Identifying security vulnerabilities
  • Providing constructive feedback to developers
  • Ensuring coding standards compliance
  • Mentoring through code review

Quick Start

Minimal working example:

# Check the changes
git diff main...feature-branch

# Review file changes
git diff --stat main...feature-branch

# Check commit history
git log main...feature-branch --oneline

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Initial AssessmentInitial Assessment
Code Quality AnalysisCode Quality Analysis
Security ReviewSecurity Review
Performance ReviewPerformance Review
Testing ReviewTesting Review
Best PracticesBest Practices

Best Practices

✅ DO
  • Be constructive and respectful
  • Explain the "why" behind suggestions
  • Provide code examples
  • Ask questions if unclear
  • Acknowledge good practices
  • Focus on important issues
  • Consider the context
  • Offer to pair program on complex issues
❌ DON'T
  • Be overly critical or personal
  • Nitpick minor style issues (use automated tools)
  • Block on subjective preferences
  • Review too many changes at once (>400 lines)
  • Forget to check tests
  • Ignore security implications
  • Rush the review

Comments

Markdown supported