AI Code Reviewer for Openclaw

An automated engineering assistant that performs deep security, performance, and architectural audits across multiple programming languages.

tktk-ai
v1.0.0
Apr 8, 2026
0
837
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install tk-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 tk-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 AI Code Reviewer?

AI Code Reviewer is a comprehensive diagnostic tool designed to elevate software quality through automated analysis. By leveraging Openclaw Skills, this agent meticulously scans source code for critical security vulnerabilities like SQL injection and XSS, while simultaneously identifying performance bottlenecks such as N+1 queries or memory leaks.

Beyond basic linting, the skill provides actionable refactoring suggestions and ensures adherence to SOLID principles and DRY patterns. It is specifically built to streamline the development lifecycle by generating PR-ready comments that can be directly integrated into team workflows on platforms like GitHub or GitLab.

AI Code Reviewer Use Cases

  • Automated security auditing for sensitive authentication and authorization logic.
  • Performance benchmarking and optimization for high-traffic backend services.
  • Standardizing code style and best practices across polyglot engineering teams.
  • Identifying documentation gaps and missing type hints in legacy codebases.
  • Generating structured Pull Request review comments to reduce manual peer-review overhead.

How AI Code Reviewer Works

  1. The user provides the source code, file path, or git diff along with specific context and review priorities.
  2. Openclaw Skills analyze the code against established security patterns and performance anti-patterns.
  3. The agent evaluates structural complexity, including cyclomatic complexity and nesting depth.
  4. Vulnerabilities and improvements are categorized by severity (Critical to Low) and type.
  5. A formatted report is generated, complete with before-and-after code blocks and PR-ready metadata.

AI Code Reviewer Setup

To integrate this skill into your workflow, ensure your environment is configured to point to your repository or code snippets. You can invoke the review process via your CLI:

# Example: Triggering a security-focused review using Openclaw Skills
openclaw run ai-code-reviewer --path ./src/api --priority security

Ensure you have the latest version (v1.0.0) of the skill installed in your local directory.

AI Code Reviewer Data Schema & Taxonomy

The skill produces a structured Code Review Report with the following metadata taxonomy:

Field Description
Overall Score A numerical rating (0-100) of code health
Severity Classification of issues (Critical, High, Medium, Low)
Category The domain of the finding (Security, Performance, Style, Bug)
Fix Blocks Markdown-formatted code blocks showing the vulnerable vs. corrected code
PR Metadata File path and line number mapping for automated commenting

AI Code Reviewer Advanced Features

  • Multi-language support including Rust, Go, TypeScript, and Python 3.8+.
  • Integration with security-auditor for full-stack infrastructure and code security checks.
  • Context-aware reviews that adjust based on specific traffic requirements or data processing needs.
  • Design pattern application for automated architectural refactoring suggestions.
  • Direct export to PR-ready comment formats for seamless developer collaboration.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*