skills/skill-executor/presets/code-review/SKILL.md
Comprehensive code review focusing on quality, security, and best practices
npx skillsauth add fatby/duncrew code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Perform comprehensive code review focusing on correctness, security, performance, and adherence to best practices. Identify bugs, vulnerabilities, and improvement opportunities.
Identify Review Target
target is specified, focus on that file/directorygit diff HEAD~1Security Analysis Check for common vulnerabilities:
Search patterns:
- eval(, exec(, shell=True
- password, secret, api_key (hardcoded)
- innerHTML, dangerouslySetInnerHTML
- SQL string concatenation
Logic & Correctness
Performance Review
Code Style & Maintainability
Testing Impact
Generate Review Report Format findings as:
## Code Review Summary
### Critical Issues 🔴
- [File:Line] Issue description
### Warnings ⚠️
- [File:Line] Issue description
### Suggestions 💡
- [File:Line] Improvement suggestion
### Positive Notes ✅
- Good practices observed
Security Issue Found:
🔴 CRITICAL: SQL Injection vulnerability
File: src/api/users.js:45
Code: `SELECT * FROM users WHERE id = ${userId}`
Fix: Use parameterized queries
Performance Issue:
⚠️ WARNING: N+1 query pattern
File: src/services/orders.js:23
Issue: Fetching related items in a loop
Fix: Use batch query or eager loading
tools
Use the webSearch tool to find information online.
development
Query weather information for any location.
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the OpenClaw voice-call plugin.