Code Review Skill for Openclaw

A professional-grade code analysis skill that automates pull request reviews, security audits, and performance optimization checks within your development workflow.

terrycarter1985
v1.1.0
May 12, 2026
0
631
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install cr-automated

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 cr-automated 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 robust tool designed to streamline the technical review process by integrating directly with your version control system. It provides systematic evaluations based on established guidelines to ensure code quality, detect security vulnerabilities, and identify performance bottlenecks before code is merged. By leveraging this Openclaw Skills capability, developers can maintain high standards of maintainability and adherence to best practices across any project.

This skill acts as an automated peer reviewer that not only identifies issues but also provides actionable feedback and constructive communication. It bridges the gap between raw code changes and production-ready software by analyzing the context of the project—whether it is a prototype, an MVP, or a production environment—and adjusting its review criteria accordingly.

Code Review Skill Use Cases

  • Automated review of GitHub Pull Requests to ensure team standards.
  • Pre-refactoring assessment to identify technical debt and structural risks.
  • Systematic security audits to catch vulnerabilities and hardcoded credentials.
  • Quality gate checks to verify that new code follows DRY principles and has proper error handling.
  • CI/CD failure analysis to pinpoint why a build or test suite failed in the pipeline.

How Code Review Skill Works

  1. The skill begins by checking the CI/CD status of the current branch or PR using the GitHub CLI to ensure the baseline build is healthy.
  2. It confirms the review scope by analyzing git diffs and identifying exactly which files have been modified.
  3. The agent gathers project context, including existing documentation and test coverage, to inform the depth of the review.
  4. It conducts a multi-layered analysis covering code quality, security (OWASP Top 10), performance (N+1 issues), and maintainability.
  5. Finally, it generates a structured feedback report categorized by severity: Critical Issues, Warnings, Good Practices, and Suggestions.

Code Review Skill Setup

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

# Install GitHub CLI on macOS
brew install gh

# Authenticate with your GitHub account
gh auth login

# Verify your environment can see PR status
gh pr status

Code Review Skill Data Schema & Taxonomy

The skill organizes its findings using a structured taxonomy to ensure clarity in communication. The feedback is typically formatted as follows:

Section Description
CI/CD Status Summary of build/test failures and required fixes.
Critical Issues Red-flag items that must be resolved before merging.
Warnings Recommended improvements for better stability.
Good Practices Highlights of well-implemented code to reinforce standards.
Suggestions Optional refining ideas for better performance or style.

Code Review Skill Advanced Features

  • Direct integration with GitHub Actions and CircleCI to fetch and analyze failed job logs.
  • Context-aware reviews that differentiate between high-stakes production code and rapid prototyping.
  • Multi-agent compatibility for collaborative reviews where different specialized agents can handle security vs. performance.
  • Automated commit generation for resolving common Linter or Formatter violations identified during the review.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*