Imported from XSpoonAi/spoon-bot (
workspace/skills/code_review/SKILL.md). Install upstream withnpx skills add XSpoonAi/spoon-bot --skill code_review. Copyright stays with the author.
Code Review Skill
A skill for performing comprehensive code reviews focusing on:
- Security vulnerabilities (injection, XSS, etc.)
- Code quality and maintainability
- Performance issues
- Best practices adherence
Instructions
When activated, analyze the provided code or file for:
-
Security Analysis
- Check for injection vulnerabilities
- Look for hardcoded credentials
- Identify unsafe operations
-
Code Quality
- Check naming conventions
- Evaluate function complexity
- Review error handling
-
Performance
- Identify potential bottlenecks
- Check for unnecessary operations
- Review resource management
-
Best Practices
- Verify documentation
- Check for type hints
- Review test coverage
Output Format
Provide a structured review with:
- Summary (1-2 sentences)
- Findings (categorized by severity)
- Recommendations (actionable items)
- Code snippets with suggested fixes