Code review checklist

From laurigates/claude-plugins · View interactive version

Code review checklist is an AI agent skill from the GitHub repository laurigates/claude-plugins. Checklist for security, correctness, and performance review. Use when reviewing PRs, checking for secrets/injection, verifying error handling, or auditing N+1 queries.

How to use this skill

Skill file

Code Review Checklist

Structured approach to reviewing code changes.

When to Use This Skill

| Use this skill when... | Use something else instead when... |

|------------------------|------------------------------------|

| Walking a priority-ordered manual review checklist | Running a full delegated review pass → code-review |

| Hunting for hardcoded secrets, injection, or N+1 query patterns | Scanning specifically for anti-patterns → code-antipatterns |

| Verifying error handling and edge cases in a PR diff | Targeting swallowed errors directly → code-hidden-failures --track errors |

| Applying a deterministic checklist to a small change | Refactoring after the checklist surfaces issues → code-refactor |

Review Priority Order

  1. Security (Critical) - Vulnerabilities, secrets, injection
  2. Correctness (High) - Logic errors, breaking changes
  3. Performance (Medium) - Inefficiencies, resource leaks
  4. Quality (Medium) - Maintainability, readability
  5. Style (Low) - Formatting, naming (should be automated)

Security Checklist

Secrets & Credentials

Injection Vulnerabilities

Authentication & Authorization

Data Exposure

Correctness Checklist

Logic

Breaking Changes

Testing

Performance Checklist

Efficiency

Resources

Scale

Quality Checklist

Readability

Maintainability

Consistency

Review Output Format

## Review: [PR Title]

**Risk Level**: LOW | MEDIUM | HIGH | CRITICAL

### Critical Issues
1. [Category] Description (file:line)
   - Impact: What could go wrong
   - Fix: Specific recommendation

### Suggestions
1. [Category] Description (file:line)
   - Why: Reasoning
   - Consider: Alternative approach

### Positive Notes
- [Recognition of good patterns]

Quick Checks

For fast reviews, at minimum check:

  1. Any secrets or credentials?
  2. Any SQL/command injection?
  3. Are error cases handled?
  4. Do tests exist for new code?
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.