code-review
SKILL.md
Run a code review.
Modes
- Full (default): Review for quality, security, conventions, simplicity, and best practices
- Fast: Review for quality and simplicity only
- Performance: Focus on performance optimization
Process
-
Identify context:
- If code changes are involved: run
jj diff -sfirst to see changed files; then usejj diff -- pathto restrict to specific files/directories - If the user specified specific files or paths, focus on those
- If code changes are involved: run
-
Determine mode based on user request (default to Full)
-
Review the code:
Full Mode — analyze each aspect:
- Quality: Check for bugs, logic errors, error handling issues, and edge cases
- Security: Check for OWASP risks, injection vulnerabilities, auth issues, data exposure
- Conventions: Check naming consistency, code organization, and style adherence
- Simplicity: Check for over-engineering, unnecessary abstractions, and dead code
- Best practices: Research patterns and idioms for the libraries/frameworks in use (use WebSearch/WebFetch as needed)
Fast Mode:
- Quality: Check for bugs, logic errors, and error handling issues
- Simplicity: Check for over-engineering and unnecessary complexity
Performance Mode:
- Analyze for performance bottlenecks, algorithmic complexity, and memory usage
- Suggest concrete optimizations with benchmarks where possible
-
Synthesize findings into a unified report
Output
- Executive Summary
- Critical Issues (Must fix)
- Security Analysis (Full mode only)
- Quality & Logic
- Simplicity & Convention
- Performance & Best Practices
- Quick Wins
Weekly Installs
9
Repository
sirn/dotfilesGitHub Stars
8
First Seen
11 days ago
Security Audits
Installed on
gemini-cli9
github-copilot9
codex9
kimi-cli9
amp9
cline9