Code Review Expert

v1.0.0

Multi-agent code review system using Manager-Worker pattern. Provides comprehensive code analysis from syntax, logic, security, and performance perspectives.

0· 202·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for banxian87/code-review-expert.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Code Review Expert" (banxian87/code-review-expert) from ClawHub.
Skill page: https://clawhub.ai/banxian87/code-review-expert
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install code-review-expert

ClawHub CLI

Package manager switcher

npx clawhub@latest install code-review-expert
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the implementation: manager-worker pattern, specialized workers for syntax/logic/security/performance, and example usage. No unexpected binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md and code instruct the agent to embed the user's source code into prompts sent to the configured LLM. That is coherent for an LLM-based reviewer, but means the reviewed code will be transmitted to whatever LLM implementation is used (the code expects a provided llm object or a platform LLM). If the code being reviewed is sensitive, this is a privacy/data-leakage consideration.
Install Mechanism
No install spec; package is instruction-plus-local code only. package.json has no external dependencies and there are no downloads or extract steps. Low install risk.
Credentials
The skill requires no environment variables, credentials, or config paths. It relies on a provided LLM interface (this.llm) which is typical; credential management for an external model provider would be handled by the host platform, not this skill.
Persistence & Privilege
Skill is not always-enabled, does not modify other skills or system config, and does not request persistent elevated privileges. Autonomous invocation is allowed (platform default) but not combined with other concerning flags.
Assessment
This package appears to do what it says: it builds prompts and aggregates LLM-generated reviews from multiple worker roles. Before installing, consider: (1) any code you submit to the reviewer will be sent to the configured LLM — do not send sensitive or proprietary code unless you trust the model provider and environment; (2) the skill does not bundle or require model API keys — the host agent supplies the LLM interface, so review how your platform handles model credentials and logging; (3) review and test the parsing logic (report extraction) on representative outputs because heuristic parsing can mis-classify or miss issues. If those data-handling considerations are acceptable, the skill is coherent and low-risk.

Like a lobster shell, security has layers — review code before you run it.

latestvk97f5qb6f09tg3jegcjvccrkdh842kfp
202downloads
0stars
1versions
Updated 3w ago
v1.0.0
MIT-0

Code Review Expert

AI-powered code review system that uses multiple specialized agents to analyze your code from different perspectives.


Features

🔍 Multi-Dimensional Analysis

  • Syntax Checker: ESLint standards, code formatting, naming conventions
  • Logic Reviewer: Bug detection, edge cases, error handling
  • Security Scanner: SQL injection, XSS, sensitive data exposure
  • Performance Analyzer: Time complexity, optimization opportunities

📊 Detailed Reports

  • Issue severity ratings (Critical/High/Medium/Low)
  • Line-by-line feedback
  • Concrete fix suggestions
  • Code examples for improvements

🎯 Language Support

  • JavaScript/TypeScript (primary)
  • Python (basic)
  • More languages coming soon

Usage

Basic Review

const reviewer = new CodeReviewExpert();

const code = `
function getUser(userId) {
  const users = db.query('SELECT * FROM users');
  const user = users.find(u => u.id === userId);
  return user.name;
}
`;

const report = await reviewer.review(code);
console.log(report);

Advanced Options

const reviewer = new CodeReviewExpert({
  languages: ['javascript', 'typescript'],
  strictMode: true,  // More rigorous checks
  autoFix: false,    // Auto-generate fixes
  verbose: true
});

const report = await reviewer.review(code, {
  focus: ['security', 'performance'],  // Specific areas
  maxIssues: 10  // Limit issues
});

Example Output

## Code Review Report

### Overview
- File: user-service.js
- Issues Found: 5
- Critical: 1, High: 2, Medium: 1, Low: 1

### 🔴 Critical Issues

1. **SQL Injection Risk** (Line 2)
   ```javascript
   // Problem
   const query = `SELECT * FROM users WHERE id = ${userId}`;
   
   // Fix
   const query = 'SELECT * FROM users WHERE id = ?';
   db.execute(query, [userId]);

🟠 High Priority

  1. Null Pointer Risk (Line 3)
    • user might be undefined
    • Add null check before accessing properties

Overall Score: 6/10


---

## Architecture

Manager Agent (Coordinator) ↓ ├─ Syntax Worker (ESLint rules) ├─ Logic Worker (Bug detection) ├─ Security Worker (Vulnerability scan) └─ Performance Worker (Optimization) ↓ Report Aggregator → Final Report


---

## Installation

```bash
clawhub install code-review-expert

API Reference

review(code, options)

Review code and return report.

Parameters:

  • code (string): Source code to review
  • options (object): Review options
    • focus: Array of areas to focus on
    • maxIssues: Maximum issues to return
    • includeSuggestions: Include fix suggestions

Returns: Promise<ReviewReport>

ReviewReport

{
  score: number;           // 0-10
  issues: Issue[];
  summary: string;
  suggestions: string[];
}

License

MIT


Author

AI-Agent


Version

1.0.0


Created

2026-04-02

Comments

Loading comments...