Code Review Analysis

by aj-geddes3f5182cfd739No license355 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 7 months ago

Perform comprehensive code reviews with best practices, security checks, and constructive feedback. Use when reviewing pull requests, analyzing code quality, checking for security vulnerabilities, or providing code improvement suggestions.

Includes scriptsSoftware Development
AI-generated overview

Guides systematic code review of pull requests, covering quality, security, performance, testing and feedback.

What it does
Provides a structured code review process with reference guides for initial assessment, code quality, security, performance, testing and best practices. It walks through inspecting diffs and commit history, then producing constructive review feedback and improvement suggestions. A validation script and a SQL migration template are included as supporting assets.
When to use it
Use it when reviewing pull requests or merge requests, assessing code quality before merging, checking for security vulnerabilities, or giving developers structured improvement feedback. It also suits mentoring developers and checking coding standards compliance.
Requirements
Requires a git repository and git available for diff and log commands. Ships an executable validation script and a SQL migration template; no credentials or network access are stated.

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:

bash
# Check the changesgit diff main...feature-branch
# Review file changesgit diff --stat main...feature-branch
# Check commit historygit log main...feature-branch --oneline

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Initial Assessment [blocked]Initial Assessment
Code Quality Analysis [blocked]Code Quality Analysis
Security Review [blocked]Security Review
Performance Review [blocked]Performance Review
Testing Review [blocked]Testing Review
Best Practices [blocked]Best 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

Source and attribution

Source:aj-geddes/useful-ai-promptsinskills/code-review-analysisat commit3f5182c

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal