Install
$ agentstack add skill-ao92265-claude-code-playbook-code-review ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Code Review
Structured review of recent code changes with severity ratings and actionable feedback.
Steps
- Identify scope:
- Get recent changes:
git diff(unstaged),git diff --cached(staged), orgit diff HEAD~1(last commit) - Ask the user if a different scope is needed
- List all changed files and total lines changed
- Review for correctness (Critical/High):
- Logic errors: off-by-one, wrong comparisons, missing null checks
- Race conditions in async/concurrent code
- Resource leaks: unclosed connections, missing cleanup
- Error handling: swallowed errors, missing catch blocks, wrong error types
- Edge cases: empty arrays, zero values, undefined, boundary conditions
- Review for security (Critical/High):
- Injection vulnerabilities (SQL, command, template)
- XSS: unescaped user input in output
- Hardcoded secrets or credentials
- Missing authentication or authorization checks
- Insecure defaults (permissive CORS, debug mode)
- Review for performance (Medium):
- N+1 queries or unnecessary database calls
- Missing pagination on list endpoints
- Blocking operations in async contexts
- Unnecessary re-renders in React components
- Large objects in memory that could be streamed
- Review for maintainability (Low/Medium):
- Functions exceeding ~50 lines
- Deeply nested conditionals (3+ levels)
- Duplicated logic that should be extracted
- Misleading variable or function names
- Missing type annotations on public APIs
- Review for testing (Medium):
- New code paths without corresponding tests
- Modified behavior without updated tests
- Test assertions that don't actually verify the behavior
- Missing edge case tests for error handling
- Format the review:
``` ## Code Review Summary
Files reviewed: X | Issues found: Y
### Critical
- [file:line] [description] — [suggestion]
### High
- [file:line] [description] — [suggestion]
### Medium
- [file:line] [description] — [suggestion]
### Low
- [file:line] [description] — [suggestion]
### Positive
- [what was done well]
```
- Include positives:
- Call out good patterns, clean abstractions, thorough error handling
- Acknowledge when the diff is clean and well-structured
Important
- Be specific. "This could be better" is useless. "Line 42:
users.find()returns undefined if no match — add a null check before accessing.email" is actionable. - Include severity. Not all issues are equal — Critical blocks merge, Low is nice-to-have.
- Don't nitpick style if there's a formatter (Prettier, gofmt, rustfmt). Focus on logic and design.
- Suggest fixes. Don't just point out problems — show how to fix them.
- Acknowledge good work. A review that's all negatives is demoralizing and often wrong.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ao92265
- Source: ao92265/claude-code-playbook
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.