About code-review
A structured code-review skill for developers assessing diffs, pull requests, files, or pasted snippets. It examines security, performance, correctness, and maintainability, with prioritized findings and positive observations.
Key features
- 01Reviews security, performance, correctness, and maintainability
- 02Handles diffs, pull requests, files, and snippets
- 03Provides ratings and actionable findings
- 04Includes file and line references
- 05Prioritizes critical issues and notes strengths
Use cases
- 01Reviewing a pull request before merging
- 02Checking a code snippet for security flaws
- 03Finding performance or correctness issues
- 04Assessing maintainability in existing files
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ w95/ awesome-claude-corporate-skills --skill code-reviewAfter installing, type/code-reviewin Claude Code to confirm it loaded.
Details
From the project READMECode Review
Structured code review covering security, performance, correctness, and maintainability. Works on diffs, PRs, files, or pasted code snippets.
Review Dimensions
Security
- SQL injection, XSS, CSRF
- Authentication and authorization flaws
- Secrets or credentials in code
- Insecure deserialization
- Path traversal
- SSRF
Performance
- N+1 queries
- Unnecessary memory allocations
- Algorithmic complexity (O(n²) in hot paths)
- Missing database indexes
- Unbounded queries or loops
- Resource leaks
Correctness
- Edge cases (empty input, null, overflow)
- Race conditions and concurrency issues
- Error handling and propagation
- Off-by-one errors
- Type safety
Maintainability
- Naming clarity
- Single responsibility
- Duplication
- Test coverage
- Documentation for non-obvious logic
Output Format
Rate each dimension and provide specific, actionable findings with file and line references. Prioritize critical issues first. Always include positive observations alongside issues.
Comments
Markdown supported