Code Review Skill
SkillsOn-demand skill that reviews code for bugs, security issues, and performance problems.
1803/26/2026
Version 1
PublishedInitial version
Created 3/26/2026
Initial version — no previous version to compare
Action Skill
---
name: code-review
description: Review code for bugs, security, and performance. Use when reviewing PRs or checking code quality.
---
# Code Review Skill
When reviewing code, check for:
1. **Bugs & Edge Cases**
- Null/undefined handling
- Off-by-one errors
- Race conditions
- Resource leaks
2. **Security**
- SQL injection
- XSS vulnerabilities
- Auth/authz gaps
- Secrets in code
3. **Performance**
- N+1 queries
- Unnecessary re-renders
- Missing indexes
- Large payload sizes
4. **Readability**
- Clear naming
- Single responsibility
- Appropriate comments
- Consistent patterns
Be concise. Use severity labels: 🔴 Critical, 🟡 Warning, 🔵 Suggestion.