code-review
When to use this skill for automated code quality analysis and review
Skill by eroslifestyle
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/eroslifestyle-code-review-2ca2f8
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-review
Tools it pre-approves 4
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Grep,Glob,Write
What's inside
- Skill name
code-review- Description
- When to use this skill for automated code quality analysis and review
- License
- MIT
- Allowed tools
- Read,, Grep,, Glob,, Write
- Instructions
- 194 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Code Review Skill
## Overview
Automated code review skill that analyzes code quality, detects anti-patterns, provides improvement suggestions, and performs basic security checks.
## Features
- Code quality analysis
- Anti-pattern detection
- Improvement suggestions
- Basic security checks
- Code metrics calculation
- Best practices validation
## Usage Examples
### Basic Code Review
```bash
/code-review path/to/file.py
```
### Review with Focus Areas
```bash
/code-review --focus security path/to/code/
```
### Generate Report
```bash
/code-review --format markdown --output report.md path/to/project/
```
## Implementation
### Core Components
#### CodeQualityAnalyzer
```python
class CodeQualityAnalyzer:
"""Analyzes code quality metrics and patterns"""
def __init__(self):
self.metrics = {
'complexity': {},
'maintainability': {},
'coverage': {}
}
def analyze_file(self, filepath):
"""Analyze a single file for code quality"""
# Implementation
pass
def generate_report(self, results):
"""Generate comprehensive quality report"""
# Implementation
pass
```
#### AntiPatternDetector
```python
class AntiPatternDetector:
"""Detects common code anti-patterns"""
PATTERNS = {
'god_class': r'class\s+\w+\s*{[^}]*\n[^}]*\n[^}]*}',
'long_method': r'def\s+\w+\([^)]*\):\s*[^:]*\n(?:[^:\n]*\n){10,}',
'deep_nesting': r'if.*:\s*if.*:\s*if.*:',
}
def detect_patterns(self, code):
"""Scan code for anti-patterns"""
# Implementation
pass
```
### Security Checker
```python
class SecurityChecker:
"""Performs basic security analysis"""
def check_injection_vulnerabilities(self, code):
"""Detect potential injection vulnerabilities"""
# SQL injection, XSS, command injection checks
pass
def validate_input_validation(self, code):
"""Check input validation patterns"""
# Implementation
pass
```
## Best Practices
### Code Metrics to Track
- **Cyclomatic Complexity**: Keep below 10
- **Lines per Method**: Max 20-30 lines
- **File Size**: Max 500 lines
- **Coupling Score**: Aim for low coupling
- **Cohesion Score**: Aim for high cohesion
### Security Checklist
- [ ] Input validation present
- [ ] SQL parameterized queries
- [ ] Output encoding for HTML
- [ ] Authentication checks
- [ ] Authorization enforcement
- [ ] Error messages sanitized
### Performance Patterns
- Use generators for large datasets
- Implement proper caching strategies
- Avoid premature optimization
- Profile before optimizing
## Integration
### with CI/CD Pipeline
```yaml
- name: Code Quality Check
run: |From eroslifestyle/Claude-Orchestrator-Plugin, MIT.
More from eroslifestyle/Claude-Orchestrator-Plugin
- 0.432score
debugging
eroslifestyle
When to use this skill for systematic debugging including root cause analysis, error tracing, performance profiling, and memory leak detection
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
learn
eroslifestyle
Capture a learning pattern from the current session with confidence scoring.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
evolve
eroslifestyle
Aggregate high-confidence instincts into reusable skills.
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
git-workflow
eroslifestyle
When to use this skill for advanced Git operations and workflow management
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
go-patterns
eroslifestyle
Go best practices, idioms, and patterns.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
prompt-engineering-patterns
eroslifestyle
Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
python-patterns
eroslifestyle
Python best practices, idioms, and patterns.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
plan
eroslifestyle
Decompose a feature request into a detailed implementation plan with task breakdown, dependencies, and risk assessment.
SkillDFreshness: D★ 1Claude Code - 0.426score
checkpoint
eroslifestyle
Save a named checkpoint of current session progress.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
build-fix
eroslifestyle
Diagnose and fix build errors automatically.
SkillDFreshness: D★ 1Claude Code - 0.426score
refactor-clean
eroslifestyle
Clean up dead code, unused imports, and improve code organization.
SkillDFreshness: D★ 1Claude Code - 0.426score
metrics
eroslifestyle
Display detailed session metrics and agent performance.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 3, 2026 (7 months ago)
- Last release
- Mar 3, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from eroslifestyle
- 0.432score
evolve
eroslifestyle
Aggregate high-confidence instincts into reusable skills.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
debugging
eroslifestyle
When to use this skill for systematic debugging including root cause analysis, error tracing, performance profiling, and memory leak detection
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
learn
eroslifestyle
Capture a learning pattern from the current session with confidence scoring.
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
git-workflow
eroslifestyle
When to use this skill for advanced Git operations and workflow management
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
python-patterns
eroslifestyle
Python best practices, idioms, and patterns.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
go-patterns
eroslifestyle
Go best practices, idioms, and patterns.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
code-review skill. Agent Mart. https://agentmart.dev/skills/eroslifestyle-code-review-2ca2f8 (last updated 2026-10-24)