ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

code-reviewer

Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/alirezarezvani/code-reviewer-2
Or

What This Skill Does

The code-reviewer skill is a robust, automated framework integrated into OpenClaw designed to streamline the software development lifecycle. By utilizing three core sub-tools—the PR Analyzer, the Code Quality Checker, and the Review Report Generator—it acts as an expert pair programmer. It evaluates code repositories across multiple languages, including TypeScript, JavaScript, Python, Go, Swift, and Kotlin. The tool automates the tedious aspects of code reviews by identifying security vulnerabilities, enforcing clean code architecture (SOLID principles), and quantifying technical debt through cyclomatic complexity and code smell detection. It transforms raw diff data into actionable, high-level reports that prioritize review efforts based on critical risk assessments.

Installation

To integrate this skill into your environment, run the following command within your terminal or OpenClaw interface:

clawhub install openclaw/skills/skills/alirezarezvani/code-reviewer-2

Ensure your environment has the necessary Python runtime dependencies configured to support the execution scripts included in the repository.

Use Cases

  • Automated Pull Request Reviews: Use this skill during continuous integration pipelines to perform an immediate, objective sanity check on incoming code before human reviewers spend time on it.
  • Technical Debt Assessment: Run the Code Quality Checker against legacy codebases to identify 'God classes' and overly complex functions that require refactoring.
  • Security Auditing: Rapidly scan for hardcoded credentials, API keys, and common injection patterns that might be accidentally introduced in a feature branch.
  • Onboarding and Mentorship: Generate comprehensive review reports to provide junior developers with immediate, constructive feedback on their coding standards.

Example Prompts

  1. "@code-reviewer, analyze the current branch against main and give me a risk assessment for the latest pull request."
  2. "Perform a code quality audit on the /src/services directory. Identify any SOLID violations or functions that exceed the 50-line threshold."
  3. "Generate a summary review report for the current repository and save it as a markdown file for the team to review."

Tips & Limitations

  • Threshold Tuning: While the tool comes with default thresholds (e.g., >50 lines for functions), remember that these are heuristics. High complexity scores do not always mean the code is 'bad,' but rather that it warrants manual inspection.
  • Context Awareness: The PR Analyzer works best when comparing two distinct git branches. Always ensure your git history is updated before running the analyzer.
  • False Positives: Static analysis tools may occasionally flag complex logic that is intentional. Use the tool to augment human intuition rather than replacing it entirely.
  • Language Constraints: Ensure the code being scanned is one of the supported languages; attempting to scan unsupported languages may yield partial or inaccurate results.

Metadata

Stars4473
Views3
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-alirezarezvani-code-reviewer-2": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#code-review#static-analysis#developer-tools#typescript#automation
Safety Score: 4/5

Flags: file-read, code-execution

Related Skills

agile-product-owner

Agile product ownership for backlog management and sprint execution. Covers user story writing, acceptance criteria, sprint planning, and velocity tracking. Use for writing user stories, creating acceptance criteria, planning sprints, estimating story points, breaking down epics, or prioritizing backlog.

alirezarezvani 4473

intl-expansion

International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.

alirezarezvani 4473

mdr-745-specialist

EU MDR 2017/745 compliance specialist for medical device classification, technical documentation, clinical evidence, and post-market surveillance. Covers Annex VIII classification rules, Annex II/III technical files, Annex XIV clinical evaluation, and EUDAMED integration.

alirezarezvani 4473

marketing-strategy-pmm

Product marketing skill for positioning, GTM strategy, competitive intelligence, and product launches. Use when the user asks about product positioning, go-to-market planning, competitive analysis, target audience definition, ICP definition, market research, launch plans, or sales enablement. Covers April Dunford positioning, ICP definition, competitive battlecards, launch playbooks, and international market entry. Produces deliverables including positioning statements, battlecard documents, launch plans, and go-to-market strategies.

alirezarezvani 4473

paid-ads

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.

alirezarezvani 4473