Code Reviewer for Openclaw

An automated assistant designed to analyze code quality, identify security vulnerabilities, and provide actionable refactoring suggestions.

sky-lv
v1.0.4
Apr 21, 2026
0
493
1

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install skylv-code-reviewer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install skylv-code-reviewer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Code Reviewer?

Code Reviewer is a specialized assistant within the Openclaw Skills ecosystem designed to act as an extra pair of expert eyes for developers. It performs deep static analysis to identify common pitfalls, architectural weaknesses, and logic errors before they reach production. By integrating this skill, teams can maintain high standards of code hygiene and ensure that best practices are followed consistently across various programming languages.

Whether you are performing a routine check or a critical security audit, Code Reviewer provides a comprehensive report covering quality, safety, and efficiency. It serves as a bridge between writing code and shipping it, helping developers learn from their mistakes through detailed optimization advice and modern refactoring patterns.

Code Reviewer Use Cases

  • Performing deep security audits to identify SQL injection, XSS vulnerabilities, and hardcoded secrets.
  • Improving long-term maintainability by identifying complex functions that require refactoring or extraction.
  • Optimizing application performance by detecting O(n^2) loops and redundant calculations.
  • Ensuring consistent naming conventions and documentation standards across a distributed engineering team.
  • Rapidly onboarding new developers by providing automated feedback on their initial pull requests.

How Code Reviewer Works

  1. The user provides a snippet or a file path to the Openclaw Skills interface with a trigger command like 'review this code'.
  2. The assistant parses the code structure to evaluate naming conventions, complexity, and logic flow.
  3. A security scan is executed to check for known vulnerability patterns and unsafe dependency usage.
  4. Performance analysis identifies algorithmic inefficiencies and opportunities for caching.
  5. The skill generates a structured report categorized by Quality, Security, and Performance, offering specific line-by-line recommendations.

Code Reviewer Setup

To enable the Code Reviewer within your environment, ensure you have the Openclaw Skills CLI installed and the skill enabled in your configuration.

# Install the openclaw cli if not already present
npm install -g openclaw-cli

# Enable the code-reviewer skill
openclaw skills add code-reviewer

# Run a local review on a specific file
openclaw run code-reviewer --file ./src/index.ts

Code Reviewer Data Schema & Taxonomy

The Code Reviewer organizes its findings into a structured report format. This data can be exported or viewed directly in the terminal.

Category Items Inspected Metadata Tracked
Quality Structure, Naming, Comments Function Length, Complexity Score
Security SQLi, XSS, Hardcoded Keys Risk Level (High/Med/Low)
Performance Time/Space Complexity Line Numbers, Suggested Logic
Refactoring Function Extraction, DRY Improvement Type

Code Reviewer Advanced Features

  • Multi-language support covering JavaScript, TypeScript, Python, Go, Java, C++, and Rust.
  • Integration with CI/CD pipelines to block commits that contain high-risk security vulnerabilities.
  • Context-aware refactoring that suggests modern syntax (e.g., converting loops to Map operations).
  • Automated type annotation suggestions for dynamically typed languages to improve IDE intellisense.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*