Code Review Skill for Openclaw

A systematic AI agent skill designed to automate code quality checks, security audits, and CI/CD integration for professional development workflows.

terrycarter1985
v1.1.0
May 12, 2026
0
821
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install code-review-terry

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 code-review-terry 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 Review Skill?

The Code Review Skill is a specialized toolset for AI agents within the Openclaw Skills ecosystem, enabling them to perform deep technical analysis of source code. It goes beyond simple linting by evaluating code readability, architectural patterns, and maintenance debt according to established best practices.

By integrating directly with Git and the GitHub CLI, this skill allows an AI agent to act as a tireless peer reviewer. It helps teams maintain high standards by identifying logic flaws, security vulnerabilities (OWASP Top 10), and performance bottlenecks like N+1 queries before they reach production.

Code Review Skill Use Cases

  • Reviewing pull requests to ensure compliance with project-specific guidelines.
  • Identifying security vulnerabilities and hardcoded credentials in new commits.
  • Analyzing CI/CD failure logs to provide actionable fix suggestions for developers.
  • Evaluating technical debt and maintainability before major refactoring sessions.
  • Enforcing consistent coding styles and DRY principles across a distributed team.

How Code Review Skill Works

  1. The skill initiates by checking the CI/CD status via GitHub CLI to identify existing build or test failures.
  2. It determines the review scope by fetching file diffs or targeting specific directories identified in the PR.
  3. The agent analyzes project context, distinguishing between prototype, MVP, and production-grade requirements.
  4. It conducts a systematic review across six dimensions: Quality, Error Handling, Security, Testing, Performance, and Maintainability.
  5. Structured feedback is generated, categorizing findings into Critical Issues, Warnings, Good Practices, and Suggestions.

Code Review Skill Setup

To use this skill within Openclaw Skills, ensure you have the GitHub CLI installed and authenticated:

# Install GitHub CLI (macOS example)
brew install gh

# Authenticate with your GitHub account
gh auth login

# Verify your environment can see the PR status
gh pr status

Code Review Skill Data Schema & Taxonomy

The skill organizes review data and findings using a structured taxonomy to ensure clarity in communication:

Data Point Description Format
CI/CD Status Summary of failed/passed checks and log snippets. Markdown List
Issue Criticality Classification of bugs (Critical, Warning, Suggestion). Tagged List
Code Diffs Direct references to line numbers and file paths. Git Diff
Feedback Actionable improvement plans and 'Why' explanations. Markdown Section

Code Review Skill Advanced Features

  • Multi-platform CI/CD support including GitHub Actions and CircleCI integration.
  • Context-aware thresholding that adapts review strictness based on the project lifecycle phase.
  • Automated 'fix-and-push' workflows for internal PRs where the agent resolves its own identified linting or test failures.
  • Detailed security scanning aligned with OWASP standards and best practices.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*