code-review-excellence

Transform code reviews from gatekeeping to knowledge sharing through constructive feedback, systematic analysis, and collaborative improvement.

31,392 stars
Complexity: easy

About this skill

This skill guides an AI agent to elevate code reviews beyond mere gatekeeping, fostering an environment of knowledge sharing and collaborative improvement. It emphasizes delivering constructive feedback, performing systematic code analysis, and ensuring continuous enhancement of code quality. The agent, when equipped with this skill, aims to not only identify issues but also to explain reasoning, suggest improvements, and facilitate learning among developers. It integrates principles of correctness, security, performance, and maintainability into its review methodology, turning each review into an opportunity for growth and excellence.

Best use case

Ideal for situations requiring comprehensive code scrutiny, establishing consistent code review standards, and facilitating developer mentorship through detailed, actionable feedback. It's also suitable for auditing codebases against specific quality, security, or performance benchmarks.

Transform code reviews from gatekeeping to knowledge sharing through constructive feedback, systematic analysis, and collaborative improvement.

Users can expect high-quality, constructive code review feedback that goes beyond simple error detection, leading to improved code quality, enhanced team collaboration, and accelerated developer growth. The reviews will be systematic, detailed, and aimed at fostering a culture of continuous learning and excellence.

Practical example

Example input

A pull request URL, a diff patch, or a code snippet accompanied by relevant context (e.g., programming language, linked issue, architectural considerations).

Example output

A structured review report detailing identified issues (e.g., bugs, security vulnerabilities, performance bottlenecks, style violations), explanations of why they are issues, constructive suggestions for improvement, and potentially code examples for proposed fixes, all framed with a collaborative and educational tone.

Example:
```
Review of Pull Request #1234 - Feature: User authentication revamp

Overall feedback: Good effort on the authentication revamp! The separation of concerns is generally well-handled. Let's focus on enhancing security and readability in a few areas.

File: `src/auth/authService.js`

Line 45: `const token = jwt.sign({ userId: user.id }, 'SUPER_SECRET_KEY');`
Feedback:
-   **Issue**: Hardcoded secret key. This is a critical security vulnerability as it can be easily compromised if exposed.
-   **Suggestion**: Externalize secret keys into environment variables or a secure key management service (e.g., AWS Secrets Manager, Azure Key Vault).
-   **Example**: `const token = jwt.sign({ userId: user.id }, process.env.JWT_SECRET_KEY);`

Line 60: `if (password === user.passwordHash) { // This looks incorrect`
Feedback:
-   **Issue**: Comparing plain text password with a hash. This is not how password verification works securely. `user.passwordHash` should be a hashed value.
-   **Suggestion**: Use a dedicated hashing library (e.g., `bcrypt`, `argon2`) to compare the provided password with the stored hash. Never store plain text passwords.
-   **Example**: `const isMatch = await bcrypt.compare(password, user.passwordHash); if (isMatch) { ... }`

File: `src/routes/userRoutes.js`

Line 10: `// TODO: Add input validation for new user creation`
Feedback:
-   **Issue**: Missing input validation for user registration. This can lead to injection attacks (SQL, XSS), data corruption, and poor user experience.
-   **Suggestion**: Implement robust input validation using a library like `joi` or `express-validator` to ensure data integrity and security.
-   **Example**: Before calling `userService.createUser`, add middleware for validation.

General Recommendations:
-   Consider adding unit tests for new authentication flows to ensure robustness.
-   Ensure all error messages are generic to prevent leaking sensitive information.

Great work overall, let's address these points to make this feature robust and secure!
```

When to use this skill

  • Reviewing pull requests and code changes
  • Establishing code review standards
  • Mentoring developers through review feedback
  • Auditing for correctness, security, or performance

When not to use this skill

  • There are no code changes to review
  • The task is a design-only discussion without code
  • You need to implement fixes instead of reviewing

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/code-review-excellence/SKILL.md --create-dirs "https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/plugins/antigravity-awesome-skills-claude/skills/code-review-excellence/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/code-review-excellence/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How code-review-excellence Compares

Feature / Agentcode-review-excellenceStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

Transform code reviews from gatekeeping to knowledge sharing through constructive feedback, systematic analysis, and collaborative improvement.

Which AI agents support this skill?

This skill is designed for Claude.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Code Review Excellence

Transform code reviews from gatekeeping to knowledge sharing through constructive feedback, systematic analysis, and collaborative improvement.

## Use this skill when

- Reviewing pull requests and code changes
- Establishing code review standards
- Mentoring developers through review feedback
- Auditing for correctness, security, or performance

## Do not use this skill when

- There are no code changes to review
- The task is a design-only discussion without code
- You need to implement fixes instead of reviewing

## Instructions

- Read context, requirements, and test signals first.
- Review for correctness, security, performance, and maintainability.
- Provide actionable feedback with severity and rationale.
- Ask clarifying questions when intent is unclear.
- If detailed checklists are required, open `resources/implementation-playbook.md`.

## Output Format

- High-level summary of findings
- Issues grouped by severity (blocking, important, minor)
- Suggestions and questions
- Test and coverage notes

## Resources

- `resources/implementation-playbook.md` for detailed review patterns and templates.

Related Skills

error-debugging-multi-agent-review

31392
from sickn33/antigravity-awesome-skills

Use when working with error debugging multi agent review

Code ReviewClaude

find-bugs

31392
from sickn33/antigravity-awesome-skills

Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current branch.

Code ReviewClaude

lightning-architecture-review

31392
from sickn33/antigravity-awesome-skills

Review Bitcoin Lightning Network protocol designs, compare channel factory approaches, and analyze Layer 2 scaling tradeoffs. Covers trust models, on-chain footprint, consensus requirements, HTLC/PTLC compatibility, liveness, and watchtower support.

Blockchain & Crypto AnalysisClaude

gha-security-review

31392
from sickn33/antigravity-awesome-skills

Find exploitable vulnerabilities in GitHub Actions workflows. Every finding MUST include a concrete exploitation scenario — if you can't build the attack, don't report it.

Security AuditClaude

gh-review-requests

31392
from sickn33/antigravity-awesome-skills

Fetch unread GitHub notifications for open PRs where review is requested from a specified team or opened by a team member. Use when asked to "find PRs I need to review", "show my review requests", "what needs my review", "fetch GitHub review requests", or "check team review queue".

Developer ToolsClaude

fix-review

31392
from sickn33/antigravity-awesome-skills

Verify fix commits address audit findings without new bugs

Security AuditingClaude

django-perf-review

31392
from sickn33/antigravity-awesome-skills

Django performance code review. Use when asked to "review Django performance", "find N+1 queries", "optimize Django", "check queryset performance", "database performance", "Django ORM issues", or audit Django code for performance problems.

Code OptimizationClaude

django-access-review

31392
from sickn33/antigravity-awesome-skills

django-access-review

Security AnalysisClaude

differential-review

31392
from sickn33/antigravity-awesome-skills

Security-focused code review for PRs, commits, and diffs.

SecurityClaude

comprehensive-review-pr-enhance

31392
from sickn33/antigravity-awesome-skills

Generate structured PR descriptions from diffs, add review checklists, risk assessments, and test coverage summaries. Use when the user says "write a PR description", "improve this PR", "summarize my changes", "PR review", "pull request", or asks to document a diff for reviewers.

Development ToolsClaude

codex-review

31392
from sickn33/antigravity-awesome-skills

Professional code review with auto CHANGELOG generation, integrated with Codex AI. Use when you want professional code review before commits, you need automatic CHANGELOG generation, or reviewing large-scale refactoring.

Code AnalysisClaudeCodex

code-reviewer

31392
from sickn33/antigravity-awesome-skills

Elite code review expert specializing in modern AI-powered code

Developer ToolsClaude