code-reviewer
Skill42 starsChanged 17 days agoMITView on GitHub
Comprehensive code review and analysis for software quality assurance. Use when Claude needs to review code in any format including (1) Individual files (Python, R, JavaScript, etc.), (2) Directory structures and project organization, (3) Scripts and automation code, (4) Jupyter notebooks and data analysis workflows, (5) Documentation assessment and improvement suggestions, (6) Bug detection and logic verification, (7) Testing coverage and strategy evaluation, (8) Code consistency and maintainability analysis. Provides actionable improvement recommendations across all aspects of software development.
182 other projects use a version of this.
Adopted by
Most recently taken up by
- santiago-migoni/claude-skillstheir own version, first seen Nov 8, 2026
- SaehwanPark/agent-skills-archivetheir own version, first seen Nov 8, 2026
- nainishshafi/developer-productivity-skillstheir own version, first seen Nov 8, 2026
- Flowerf19/agents-skillstheir own version, first seen Nov 8, 2026
- darkweb19/skillstheir own version, first seen Nov 8, 2026
- kazemcodes/skill-treetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use git-doc-updater, git-precommit and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
u9401066Skillgit-doc-updater
Auto-check and update key documentation before Git commits to keep docs in sync with code. Triggers: docs, 文檔, 更新文檔, sync docs, release, 發布.
Also in 5 projects that use this
u9401066Skillgit-precommit
Orchestrate pre-commit workflow including Memory Bank sync, README/CHANGELOG/ROADMAP updates. Triggers: GIT, gc, push, commit, 提交, 準備 commit, 要提交了, git commit, pre-commit, 推送.
Also in 5 projects that use this
JeffallanSkillshopify-expert
Builds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefront API integrations for headless storefronts. Use when building or customizing Shopify themes, creating Hydrogen or custom React storefronts, developing Shopify apps, implementing checkout UI extensions or Shopify Functions, optimizing performance, or integrating third-party services. Invoke for Liquid templating, Storefront API, app development, checkout customization, Shopify Plus features, App Bridge, Polaris, or Shopify CLI workflows.
Also in 5 projects that use this
JeffallanSkillspec-miner
Reverse-engineering specialist that extracts specifications from existing codebases. Use when working with legacy or undocumented systems, inherited projects, or old codebases with no documentation. Invoke to map code dependencies, generate API documentation from source, identify undocumented business logic, figure out what code does, or create architecture documentation from implementation. Trigger phrases: reverse engineer, old codebase, no docs, no documentation, figure out how this works, inherited project, legacy analysis, code archaeology, undocumented features.
Also in 6 projects that use this
- +4 more from u9401066
- +4 more from Jeffallan
Other versions182 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 182
- google-gemini/gemini-cli★ 109ksame name
- NVIDIA/SkillSpector★ 25ksame name
- Jeffallan/claude-skills★ 12ksame name
- jewbetcha/openflight★ 1.2ksame name
- web-infra-dev/rsdoctor★ 1.2ksame name
- zhnnky329/MathModeling-skills★ 1.1ksame name
- MageByte-Zero/spec-superflow★ 875same name
- waybarrios/opencode-power-pack★ 547same name
- Karanjot786/TermUI★ 238same name
- elithrar/dotfiles★ 222same name
172 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- phd-qualifierSkill
- citation-verifierSkill
- scientific-writingSkill
- brainstormingSkill
- elevenlabsSkill
- image-generationSkill
- presentationsSkill
- video-storytellingSkill
- ralph-wiggumSkill
- tddSkill
- version-controlSkill
- opentrons-absorbance-readerSkill
- opentrons-gripperSkill
- opentrons-heater-shakerSkill
- opentrons-magnetic-blockSkill
- opentronsSkill
- opentrons-temperature-moduleSkill
- opentrons-thermocyclerSkill
- planningSkill
- claude-lightSkill
- emacs-lispSkill
- fairchemSkill
- idaesSkill
- materials-propertiesSkill
- pycalphadSkill
- pymatgenSkill
- python-aseSkill
- python-best-practicesSkill
- python-jaxSkill
- python-multiobjective-optimizationSkill
- python-optimizationSkill
- python-plottingSkill
- python-regression-statisticsSkill
- vaspSkill
- pycseSkill
- elnSkill
- literature-reviewSkill
- materials-databasesSkill
- scientific-data-extractionSkill
- scientific-reviewerSkill
- scientific-workflowsSkill
- design-of-experimentsSkill
- troubleshootingSkill
The file
Files
Code Reviewer
This skill transforms Claude into a systematic code reviewer, evaluating software projects across multiple dimensions of quality, maintainability, and best practices.
Review Framework
Conduct code reviews using this structured approach:
1. Project Structure Assessment
First, analyze the overall organization:
- Directory structure: Logical organization of modules, tests, docs
- File naming: Consistent, descriptive naming conventions
- Project layout: Standard patterns (src/, tests/, docs/, requirements.txt, etc.)
- Configuration files: Presence and quality of setup.py, requirements.txt, .gitignore, etc.
- Entry points: Clear main scripts or module initialization
2. Documentation Review
Evaluate documentation comprehensiveness and quality:
File-level Documentation
- Module docstrings: Clear purpose, usage examples, API overview
- README files: Installation, usage, examples, contribution guidelines
- Inline comments: Explain why, not what; up-to-date and relevant
- API documentation: Function/class docstrings with parameters, returns, exceptions
Code Documentation Standards
- Docstring format: Consistent style (Google, NumPy, Sphinx)
- Type hints: Present and accurate where appropriate
- Example usage: Working code examples in docstrings
- Change documentation: CHANGELOG, version history
3. Logic and Bug Detection
Systematic analysis for potential issues:
Common Bug Patterns
- Null/None handling: Proper checks before usage
- Index errors: Array bounds checking, off-by-one errors
- Type mismatches: Incompatible operations, incorrect assumptions
- Logic errors: Incorrect conditions, inverted logic, unreachable code
- Resource leaks: File handles, database connections, memory management
Algorithm Review
- Correctness: Does the code solve the intended problem?
- Edge cases: Handling of empty inputs, boundary conditions, extreme values
- Error handling: Appropriate exceptions, graceful failure modes
- Performance considerations: Algorithmic complexity, inefficient operations
4. Testing Assessment
Evaluate testing strategy and coverage:
Test Presence and Quality
- Unit tests: Individual function/class testing
- Integration tests: Component interaction testing
- Test coverage: Percentage and quality of code coverage
- Test data: Realistic, edge case, and error condition testing
- Test organization: Clear structure, naming, and documentation
Testing Best Practices
- Test independence: Tests don't depend on each other
- Assertion quality: Specific, meaningful test assertions
- Mock usage: Appropriate mocking of dependencies
- Parametrized tests: Efficient testing of multiple scenarios
5. Code Quality and Consistency
Review for maintainability and style:
Code Style
- Formatting consistency: Indentation, spacing, line length
- Naming conventions: Variables, functions, classes follow standards
- Code organization: Logical grouping, appropriate function/class sizes
- Import organization: Clean, organized, no unused imports
Code Smells
- Duplicated code: Repeated logic that should be refactored
- Long functions/classes: Overly complex, should be broken down
- Dead code: Unused functions, variables, or imports
- Magic numbers: Hard-coded values without explanation
- Inconsistent patterns: Mixed coding styles or approaches
6. Jupyter Notebook Specific Review
Additional considerations for notebooks:
Structure and Flow
- Cell organization: Logical sequence, appropriate cell types
- Narrative quality: Clear markdown explanations between code cells
- Reproducibility: Cells can be run in order without errors
- Output management: Appropriate inclusion/exclusion of outputs
Data Science Best Practices
- Data loading: Clear data source documentation and validation
- Exploratory analysis: Well-documented investigation process
- Visualization quality: Clear, labeled, meaningful plots
- Results interpretation: Clear explanations of findings
Review Output Structure
Executive Summary
- Overall assessment: Code quality rating and key concerns
- Primary recommendations: Top 3-5 most important improvements
- Strengths: Notable positive aspects of the codebase
- Risk level: Critical, moderate, or minor issues identified
Detailed Analysis
Documentation Assessment
Component: [File/module name]
Current state: [Brief description of existing documentation]
Issues: [Specific gaps or problems]
Recommendations: [Actionable improvements]
Priority: [High/Medium/Low]Logic and Bug Review
Location: [File:line or function name]
Issue type: [Bug/Logic error/Edge case]
Description: [Clear explanation of the problem]
Impact: [Potential consequences]
Suggested fix: [Specific code changes or approach]Testing Analysis
Coverage assessment: [Current state and gaps]
Missing tests: [Specific areas needing test coverage]
Test quality issues: [Problems with existing tests]
Recommendations: [Specific testing strategies to implement]Code Quality Issues
Pattern: [Code smell or inconsistency type]
Locations: [Specific files/functions affected]
Impact: [Effect on maintainability/readability]
Refactoring suggestion: [Specific improvement approach]Improvement Roadmap
Prioritized action items:
- Critical Issues: Security vulnerabilities, major bugs, blocking problems
- High Priority: Significant logic errors, missing essential tests, major documentation gaps
- Medium Priority: Code quality improvements, minor bugs, style inconsistencies
- Low Priority: Optimization opportunities, minor documentation enhancements
Language-Specific Considerations
Python
- PEP 8 compliance: Style guide adherence
- Virtual environment: Dependencies management
- Package structure: Proper init.py usage
- Exception handling: Specific exception types, proper catching
R
- Coding style: Consistent naming (snake_case vs camelCase)
- Package documentation: NAMESPACE, DESCRIPTION files
- Function documentation: Roxygen2 comments
- Testing framework: testthat usage
JavaScript/Node.js
- ES6+ features: Modern JavaScript usage
- Package.json: Proper dependency management
- Linting: ESLint configuration and compliance
- Async handling: Proper promise/async-await usage
General Best Practices
- Version control: Proper .gitignore, commit message quality
- Configuration management: Environment variables, config files
- Security considerations: Input validation, credential handling
- Performance: Memory usage, computational efficiency
Feedback Guidelines
Constructive Criticism
- Be specific: Reference exact locations and code snippets
- Explain rationale: Why the change improves the code
- Offer alternatives: Multiple approaches when possible
- Consider context: Understand project constraints and requirements
Positive Recognition
- Acknowledge good practices: Highlight well-written code
- Note improvements: Recognize progress from previous versions
- Appreciate design decisions: Credit thoughtful architectural choices
Actionable Recommendations
Each suggestion should include:
- Clear description of the problem or opportunity
- Specific code changes or implementation approach
- Expected benefits of making the change
- Implementation effort estimate (low/medium/high)
Review Process Checklist
Before finalizing review:
- Checked all files in scope for review
- Verified code can be run/imported without errors
- Reviewed test files if present
- Checked documentation completeness
- Identified security or performance concerns
- Provided specific, actionable feedback
- Prioritized recommendations appropriately
- Maintained constructive, professional tone
This framework ensures thorough, fair, and actionable code reviews that improve software quality while supporting developer growth and learning.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

