Code Review Analysis

Code Review Analysis

Guides an AI agent through thorough code reviews covering quality, security, performance and tests, with constructive feedback for pull requests.

Skill files9 files

references/

scripts/

templates/

SKILL.md83 lines
1
---
2
name: code-review-analysis
3
description: >
4
Perform comprehensive code reviews with best practices, security checks, and
5
constructive feedback. Use when reviewing pull requests, analyzing code
6
quality, checking for security vulnerabilities, or providing code improvement
7
suggestions.
8
---
9
10
# Code Review Analysis
11
12
## Table of Contents
13
14
- [Overview](#overview)
15
- [When to Use](#when-to-use)
16
- [Quick Start](#quick-start)
17
- [Reference Guides](#reference-guides)
18
- [Best Practices](#best-practices)
19
20
## Overview
21
22
Systematic code review process covering code quality, security, performance, maintainability, and best practices following industry standards.
23
24
## When to Use
25
26
- Reviewing pull requests and merge requests
27
- Analyzing code quality before merging
28
- Identifying security vulnerabilities
29
- Providing constructive feedback to developers
30
- Ensuring coding standards compliance
31
- Mentoring through code review
32
33
## Quick Start
34
35
Minimal working example:
36
37
```bash
38
# Check the changes
39
git diff main...feature-branch
40
41
# Review file changes
42
git diff --stat main...feature-branch
43
44
# Check commit history
45
git log main...feature-branch --oneline
46
```
47
48
## Reference Guides
49
50
Detailed implementations in the `references/` directory:
51
52
| Guide | Contents |
53
|---|---|
54
| [Initial Assessment](references/initial-assessment.md) | Initial Assessment |
55
| [Code Quality Analysis](references/code-quality-analysis.md) | Code Quality Analysis |
56
| [Security Review](references/security-review.md) | Security Review |
57
| [Performance Review](references/performance-review.md) | Performance Review |
58
| [Testing Review](references/testing-review.md) | Testing Review |
59
| [Best Practices](references/best-practices.md) | Best Practices |
60
61
## Best Practices
62
63
### ✅ DO
64
65
- Be constructive and respectful
66
- Explain the "why" behind suggestions
67
- Provide code examples
68
- Ask questions if unclear
69
- Acknowledge good practices
70
- Focus on important issues
71
- Consider the context
72
- Offer to pair program on complex issues
73
74
### ❌ DON'T
75
76
- Be overly critical or personal
77
- Nitpick minor style issues (use automated tools)
78
- Block on subjective preferences
79
- Review too many changes at once (>400 lines)
80
- Forget to check tests
81
- Ignore security implications
82
- Rush the review
83

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…