| name | code-review |
| description | Review code for quality and security issues |
| trigger | review|audit|代码审查 |
| tools | ["read","bash","write"] |
Code Review Skill
When reviewing code, follow this checklist:
Security
- Check for SQL injection vulnerabilities
- Verify input validation on all endpoints
- Ensure no hardcoded secrets or API keys
Quality
- Verify error handling is comprehensive
- Check for proper type annotations
- Ensure functions follow single responsibility
Output Format
Provide a structured review with:
- Severity level (critical/warning/info)
- File and line number
- Recommended fix