Code review
Perform a structured code review covering security, performance, correctness, and readability. Use when asked to review code, check a PR, or audit a file. For deeper security-focused analysis, see `vuln-research` instead.From its SKILL.md
npx -y skills add zmackie/skillz --skill code-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, as published. Nobody here has run it
Code Review
Perform a thorough code review of the specified code. Structure your review as follows:
1. Security
- Check for injection vulnerabilities (SQL, command, XSS)
- Look for hardcoded secrets, credentials, or API keys
- Verify input validation and sanitization at system boundaries
- Check authentication and authorization logic
2. Correctness
- Identify logic errors, off-by-one bugs, race conditions
- Check error handling — are failures caught and handled appropriately?
- Verify edge cases (empty inputs, nulls, boundary values)
- Check that the code does what it claims to do
3. Performance
- Flag unnecessary allocations, N+1 queries, or O(n²) where O(n) is possible
- Look for missing indexes, unbounded fetches, or missing pagination
- Check for resource leaks (unclosed connections, file handles)
4. Readability & Maintainability
- Are names clear and consistent?
- Is the abstraction level appropriate — not too clever, not too verbose?
- Are there any dead code paths or unused variables?
Output Format
For each issue found, report:
- File and line:
path/to/file.py:42 - Severity: Critical / Warning / Suggestion
- Issue: One-line description
- Fix: Concrete recommendation
End with a summary: total issues by severity, and an overall assessment (approve, approve with suggestions, or request changes).
Related Skills
vuln-research— for deeper security-focused analysis beyond standard code reviewcommit-message— after review, generate conventional-commit messages for fixes