code-review
Review code for quality, bugs, security, and improvements. Use when self-reviewing before commit, reviewing PRs, or debugging issues.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Code Review
Systematically review code for quality, bugs, and security.
Checklist
| Priority | Check |
|---|---|
| 🔴 Critical | Security (no secrets, injection) |
| 🔴 Critical | Correctness (logic, edge cases) |
| 🟡 Important | Performance (N+1, loops) |
| 🟡 Important | Error handling |
| 🟢 Nice-to-have | Readability, DRY, style |
Process
- Context - Read requirement/design
- High-level - Architecture check
- Line-by-line - Detailed inspection
- Tests - Check coverage
- Document - Summarize findings
Output Format
## Code Review: [Name]
### Summary
[Approved / Changes Requested]
### Issues
- 🔴 [file:line] Problem → Suggestion
- 🟡 [file:line] Problem → Suggestion
### Good Patterns 👍
- [What was done well]
Common Issues
# 🔴 Security
password = "hardcoded" # Bad
password = os.environ["PASS"] # Good
# 🔴 SQL Injection
f"SELECT * WHERE id={id}" # Bad
"SELECT * WHERE id=%s", (id,) # Good
Tips
- Be constructive
- Explain the "why"
- Acknowledge good patterns
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-02-02
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!