skills/autumnsgrove/code-reviewer/SKILL.md
Automated code review with security scanning, quality metrics, and best practices analysis. Use when reviewing code for: (1) Security vulnerabilities and common attack vectors, (2) Code quality issues and maintainability concerns, (3) Performance bottlenecks and optimization opportunities, (4) Best practices and design patterns, (5) Test coverage and testing strategies, (6) Documentation quality and completeness
npx skillsauth add aiskillstore/marketplace code-reviewerInstall 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.
Comprehensive automated code review skill that systematically analyzes code for security issues, quality metrics, performance problems, and adherence to best practices.
This skill provides structured code review workflows that combine automated analysis tools with expert guidance to identify issues across security, quality, performance, and maintainability dimensions.
Use this skill when:
Check for these critical security issues:
Input Validation
Authentication & Authorization
Data Exposure
Code Injection
Use security analysis tools:
Python:
# Run bandit for security issues
python scripts/review_helper.py --security-scan path/to/code
# Check dependencies for known vulnerabilities
safety check
pip-audit
JavaScript/Node.js:
# Check for vulnerabilities
npm audit
yarn audit
# Use ESLint security plugins
eslint --plugin security path/to/code
Go:
# Security scanning
gosec ./...
See references/security_patterns.md for detailed vulnerability patterns.
Modularity & Organization
Complexity Metrics
Code Smells
Naming Conventions
Code Clarity
Robustness
Edge Cases
Algorithm Efficiency
Resource Management
Database Operations
Network Calls
See references/performance_guide.md for optimization strategies.
Coverage Metrics
Test Quality
Required Test Types
Missing Tests
Function/Method Documentation
Module/Class Documentation
README Updates
API Documentation
Use this checklist to ensure comprehensive review:
The scripts/review_helper.py provides automated analysis:
# Full code review analysis
python scripts/review_helper.py --file path/to/file.py --report full
# Security-focused scan
python scripts/review_helper.py --security-scan path/to/directory
# Complexity analysis
python scripts/review_helper.py --complexity path/to/file.py
# Generate review report
python scripts/review_helper.py --file path/to/file.py --output report.md
Be Constructive
Be Thorough but Efficient
Be Consistent
Prepare for Review
Respond to Feedback
❌ Security: Hardcoded API key found
→ Move to environment variable or secrets management
→ See: references/security_patterns.md#secrets-management
❌ Security: SQL injection vulnerability
→ Use parameterized queries instead of string concatenation
→ Example: cursor.execute("SELECT * FROM users WHERE id = %s", (user_id,))
❌ Quality: Function complexity too high (complexity: 15)
→ Break down into smaller, focused functions
→ Target: < 10 cyclomatic complexity
❌ Quality: Duplicated code across 3 locations
→ Extract common logic into shared function
→ DRY principle violation
❌ Performance: N+1 query problem detected
→ Use JOIN or eager loading instead
→ See: references/performance_guide.md#database-optimization
❌ Performance: Inefficient O(n²) algorithm
→ Consider using set/hash for O(1) lookup
→ Current: nested loops, Suggested: set intersection
references/security_patterns.md - Common vulnerabilities and fixesreferences/performance_guide.md - Optimization strategiesexamples/review_checklist.md - Comprehensive review templatescripts/review_helper.py - Automated analysis toolsEffective code review combines automated tooling with human expertise. Use automated tools for mechanical checks (security, style, complexity) and focus human review on logic, design, and maintainability. Always be constructive, thorough, and consistent in your reviews.
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.