GI Code Review for Openclaw

A professional-grade code review agent designed to enforce team standards for security, performance, and maintainability across modern tech stacks.

laimiaohua
v1.0.0
Mar 16, 2026
0
1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install gi-code-review

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 gi-code-review 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 GI Code Review?

GI Code Review is a specialized tool within the Openclaw Skills ecosystem tailored for developers working with Vue3, FastAPI, and Python. It functions as an automated peer reviewer that meticulously analyzes code changes to ensure they meet high-quality engineering standards. By integrating this skill, teams can automate the detection of logical errors, security vulnerabilities, and technical debt before code is merged.

This skill goes beyond simple linting by evaluating architectural alignment, such as the proper separation of concerns between routers, services, and DAOs. It ensures that every Pull Request is scrutinized for asynchronous logic correctness, SQL injection risks, and performance bottlenecks like N+1 queries, providing a robust safety net for fast-moving development teams.

GI Code Review Use Cases

  • Automated auditing of Pull Requests and code diffs for logical consistency.
  • Real-time security scanning to prevent XSS, SQL injection, and hardcoded credentials.
  • Enforcing architectural standards and naming conventions in Vue3 and FastAPI projects.
  • Optimizing database performance by identifying missing pagination or inefficient queries.
  • Assisting developers during local development when they request a quick check on code quality.

How GI Code Review Works

  1. The Openclaw Skills agent triggers the review process when a user submits a code snippet or requests a Pull Request analysis.
  2. The skill parses the code to identify the technology stack (e.g., Python/FastAPI or Vue3).
  3. It runs a multi-dimensional checklist covering Correctness, Security, Maintainability, Performance, and Testing.
  4. The agent evaluates the code against specific project conventions, such as the use of AsyncSqlSessionTemplate for database operations.
  5. A structured feedback report is generated, categorizing issues into Must Fix, Suggested Improvement, or Optional Optimization.

GI Code Review Setup

To integrate this skill into your workflow, ensure your Openclaw environment is active and run the following configuration:

# Install the GI Code Review skill
openclaw install gi-code-review

# Verify the installation within your local project
openclaw skills list

Ensure your project follows the supported directory structure (e.g., app/dao, app/service) for optimal architectural analysis.

GI Code Review Data Schema & Taxonomy

GI Code Review organizes its analysis based on a strict taxonomy of code health. The following table describes the feedback metadata:

Severity Indicator Description
Critical 🔴 Must Fix Issues affecting correctness, security, or severe performance.
Warning 🟡 Suggestion Enhancements for readability, maintainability, and best practices.
Info 🟢 Optional Minor optimizations or 'nice-to-have' cleanups.

Technical standards are mapped to specific modules like tkms.exception.api for error handling and tkms.get_env for configuration.

GI Code Review Advanced Features

  • Multi-layer architectural validation (Router/Service/DAO/Model).
  • Specialized support for Vue3 + Ant Design frontend components.
  • Deep analysis of asynchronous Python logic (async/await pairing).
  • Automated detection of N+1 query patterns in database logic.
  • Support for custom team standard injection via Openclaw Skills configuration.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*