Code Reviewer
npx machina-cli add skill inollp7855/claude-skills-collection-2026/code-reviewer --openclawname: code-reviewer description: Automated code review with best practices for multiple languages. Use when you need thorough code analysis, bug detection, or style checking. version: 2.1.0 author: Claude Skills Team type: python tags: [development, code-quality, review, cpp, python, javascript] allowed-tools: Read, Grep, Glob, Run
Code Reviewer Skill
This skill performs comprehensive code review using a hybrid approach:
- C++ engine for fast pattern matching and AST analysis (when available)
- Python scripts for language-specific rules and formatting
Installation Requirements
The skill requires the compiled C++ analyzer. Download from releases or build from source:
# Build C++ engine (requires CMake, C++17 compiler)
cd src/cpp/engine
mkdir build && cd build
cmake ..
make
cp cpp_analyzer ../../../skills/code-reviewer/bin/
Source
git clone https://github.com/inollp7855/claude-skills-collection-2026/blob/main/skills/code-reviewer/SKILL.mdView on GitHub Overview
Code Reviewer provides automated, thorough code analysis across multiple languages. It combines a fast C++ engine for pattern matching and AST analysis with Python-based language-specific rules to detect bugs and enforce style.
How This Skill Works
The C++ engine performs fast pattern matching and AST analysis when available, while Python scripts apply language-specific rules and formatting checks. The skill generates a consolidated report by integrating findings from both engines, using allowed tools (Read, Grep, Glob, Run) to inspect code and collect issues.
When to Use It
- Need thorough code analysis and bug detection across languages (C++, Python, JavaScript).
- Enforce coding standards and style checks in a project.
- Require fast initial analysis with the C++ engine plus deeper Python checks.
- Prepare code reviews before merging or releasing code.
- Integrate into CI to catch defects and ensure language-specific rules are followed.
Quick Start
- Step 1: Build the C++ analyzer (requires CMake and a C++17 compiler) and copy cpp_analyzer to the skill's bin directory.
- Step 2: Install/activate the code-reviewer skill and point it at your repository to review.
- Step 3: Run the review with the Run tool and examine the consolidated report for fixes.
Best Practices
- Build and verify the compiled C++ analyzer before running reviews.
- Run the reviewer against the target repository path using Read/Grep/Glob and capture outputs.
- Combine C++ engine results with Python rule checks for language-specific issues.
- Configure per-language rules and formatting standards to match project guidelines.
- Prioritize high-severity findings and iterate fixes before final review.
Example Use Cases
- Large multi-language project (C++, Python, JavaScript) ensuring consistency and bug detection.
- Open-source library enforcing cross-language coding standards.
- Security-sensitive codebase requiring thorough static analysis.
- CI pipeline that fails builds on critical issues detected by the reviewer.
- Legacy code modernization using AST-based detection to guide refactors.