Perform thorough code reviews on pull requests, diffs, or code changes. Use when asked to review code, check a PR, or provide feedback on changes.
npx playbooks add skill amorriscode/agent-grimoire --skill code-review
A structured approach to reviewing code changes.
When reviewing code, follow this process:
Before diving into the code:
Make multiple passes through the code:
First pass — Correctness
Second pass — Security
Third pass — Maintainability
Fourth pass — Performance
Structure your review:
## Summary
[One sentence overall assessment]
## What's Good
- [Positive observations]
## Suggestions
- [Actionable improvements, ordered by importance]
## Questions
- [Clarifying questions if any]
Categorize issues:
## Summary
Solid implementation of user authentication. One security issue needs addressing before merge.
## What's Good
- Clean separation of auth logic from route handlers
- Good use of bcrypt for password hashing
- Comprehensive error handling
## Suggestions
1. **[Blocker]** Line 45: Password reset token should use `crypto.randomBytes(32)` instead of `Math.random()` — predictable tokens are a security risk
2. **[Should fix]** Line 78: Consider adding rate limiting to prevent brute force attempts
3. **[Nitpick]** Line 12: Typo in variable name `authetication` → `authentication`
## Questions
- Is there a reason we're storing sessions in memory rather than Redis? This won't scale across multiple instances.Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.