code-review-analysis
aj-geddes/useful-ai-prompts
Comprehensive code reviews covering quality, security, performance, and best practices.
What is code-review-analysis?
Perform systematic code reviews following industry standards, checking for code quality, security vulnerabilities, performance issues, and maintainability. Use when reviewing pull requests, analyzing code before merging, or mentoring developers through constructive feedback.
- Assess code quality and adherence to coding standards
- Identify security vulnerabilities and potential risks
- Analyze performance implications and optimization opportunities
- Review test coverage and testing practices
- Evaluate maintainability and best practices compliance
- Provide constructive, respectful feedback with explanations
How to install code-review-analysis
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill code-review-analysisHow to use code-review-analysis
- 1.Run git diff to examine changes between branches
- 2.Check file statistics with git diff --stat to understand scope
- 3.Review commit history with git log to understand intent
- 4.Perform initial assessment of the changes
- 5.Conduct code quality analysis using reference guides
- 6.Execute security review for vulnerabilities
- 7.Evaluate performance implications
- 8.Review test coverage and testing practices
Use cases
- Review pull requests and merge requests before merging
- Identify security vulnerabilities in code changes
- Ensure coding standards and best practices compliance
- Mentor developers through detailed code review feedback
- Analyze code quality metrics across feature branches
- Code reviewers and pull request approvers
- Development team leads and architects
- Security-conscious developers
- Mentors and senior engineers
- Teams enforcing coding standards
code-review-analysis FAQ
Focus on code quality, security vulnerabilities, performance, maintainability, and best practices. Prioritize important issues over minor style nitpicks, which should be handled by automated tools.
Avoid reviewing more than 400 lines at once. Larger changes should be split into smaller, more manageable pull requests for thorough review.
Be constructive and respectful. Explain the 'why' behind suggestions, provide code examples, ask clarifying questions if needed, and acknowledge good practices.
The skill covers initial assessment, code quality analysis, security review, performance review, testing review, and best practices compliance.
No. Focus on objective issues like security, performance, and maintainability. Use automated tools for style issues and avoid blocking on subjective preferences.
Full instructions (SKILL.md)
Source of truth, from aj-geddes/useful-ai-prompts.
name: code-review-analysis description: > 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.
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:
| Guide | Contents |
|---|---|
| Initial Assessment | Initial Assessment |
| Code Quality Analysis | Code Quality Analysis |
| Security Review | Security Review |
| Performance Review | Performance Review |
| Testing Review | Testing Review |
| Best Practices | 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
Related skills
More from aj-geddes/useful-ai-prompts and the wider catalog.

css-architecture
>

event-sourcing
>

flask-api-development
>

flutter-development
>

Funnel Analysis
Analyze user conversion funnels, identify drop-off points, and optimize conversion rates for conversion optimization and user flow analysis

ios-swift-development
Develop native iOS apps with Swift, SwiftUI, MVVM, and modern async patterns.