examples-code-reviewer

AI-powered code review tool that analyzes code for bugs, style issues, and improvements

25 stars

Best use case

examples-code-reviewer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

AI-powered code review tool that analyzes code for bugs, style issues, and improvements

Teams using examples-code-reviewer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/examples-code-reviewer/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/aiskillstore/marketplace/enactprotocol/examples-code-reviewer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/examples-code-reviewer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How examples-code-reviewer Compares

Feature / Agentexamples-code-reviewerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

AI-powered code review tool that analyzes code for bugs, style issues, and improvements

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Code Reviewer

An AI-powered code review tool that analyzes source code for potential issues.

## Instructions

You are a senior software engineer performing a code review. Analyze the provided code and identify:

1. **Bugs**: Logic errors, null pointer risks, off-by-one errors, race conditions
2. **Style Issues**: Naming conventions, code organization, readability
3. **Performance**: Inefficient algorithms, unnecessary allocations, N+1 queries
4. **Security**: Injection vulnerabilities, hardcoded secrets, unsafe operations

## Review Process

1. First, identify the programming language if not specified
2. Read through the code to understand its purpose
3. Analyze based on the requested focus area (or all areas if "all")
4. For each issue found:
   - Determine severity (error, warning, or info)
   - Identify the line number if possible
   - Explain the problem clearly
   - Suggest a fix or improvement
5. Provide a summary and overall quality score (0-100)

## Output Format

Return a JSON object matching the outputSchema with:
- `issues`: Array of identified problems
- `summary`: Brief overview of the code quality
- `score`: Numeric score from 0 (terrible) to 100 (excellent)

## Example

For input:
```javascript
function getUser(id) {
  var user = users.find(u => u.id = id);
  return user.name;
}
```

Expected output:
```json
{
  "issues": [
    {
      "severity": "error",
      "line": 2,
      "message": "Assignment operator (=) used instead of comparison (===) in find callback",
      "suggestion": "Change 'u.id = id' to 'u.id === id'"
    },
    {
      "severity": "error", 
      "line": 3,
      "message": "Accessing .name on potentially undefined user (find returns undefined if not found)",
      "suggestion": "Add null check: 'return user?.name' or handle the undefined case"
    },
    {
      "severity": "warning",
      "line": 2,
      "message": "Using 'var' instead of 'const' or 'let'",
      "suggestion": "Use 'const user = ...' since user is not reassigned"
    }
  ],
  "summary": "The function has critical bugs: incorrect comparison operator and missing null safety. Also uses outdated var declaration.",
  "score": 35
}
```

Related Skills

iam-policy-reviewer

25
from ComeOnOliver/skillshub

Iam Policy Reviewer - Auto-activating skill for Security Advanced. Triggers on: iam policy reviewer, iam policy reviewer Part of the Security Advanced skill category.

gcp-examples-expert

25
from ComeOnOliver/skillshub

Generate production-ready Google Cloud code examples from official repositories including ADK samples, Genkit templates, Vertex AI notebooks, and Gemini patterns. Use when asked to "show ADK example" or "provide GCP starter kit". Trigger with relevant phrases based on skill purpose.

defold-examples-fetch

25
from ComeOnOliver/skillshub

Fetches Defold code examples by topic. Use when looking for practical implementation patterns, sample code, or how to do something specific in Defold.

web-design-reviewer

25
from ComeOnOliver/skillshub

This skill enables visual inspection of websites running locally or remotely to identify and fix design issues. Triggers on requests like "review website design", "check the UI", "fix the layout", "find design problems". Detects issues with responsive design, accessibility, visual consistency, and layout breakage, then performs fixes at the source code level.

skill-reviewer

25
from ComeOnOliver/skillshub

Reviews and improves Claude Code skills against official best practices. Supports three modes - self-review (validate your own skills), external review (evaluate others' skills), and auto-PR (fork, improve, submit). Use when checking skill quality, reviewing skill repositories, or contributing improvements to open-source skills.

api-design-reviewer

25
from ComeOnOliver/skillshub

API Design Reviewer

doc-consistency-reviewer

25
from ComeOnOliver/skillshub

文档一致性审核官,检查代码实现与文档说明的一致性。当用户请求审查文档与代码的一致性、检查 README/docs 是否过时、验证 API 文档准确性时使用此技能。适用于:(1) 审查 README 与实现一致性 (2) 检查 docs/ 目录文档是否过时 (3) 验证 API/配置文档准确性 (4) 生成文档一致性报告。触发词包括:文档审查、doc review、文档一致性、documentation consistency、检查文档过时、verify docs。

clean-code-reviewer

25
from ComeOnOliver/skillshub

Analyze code quality based on "Clean Code" principles. Identify naming, function size, duplication, over-engineering, and magic number issues with severity ratings and refactoring suggestions. Use when the user requests code review, quality check, refactoring advice, Clean Code analysis, code smell detection, or mentions terms like 代码体检, 代码质量, 重构检查.

quality-reviewer

25
from ComeOnOliver/skillshub

Deep code review with web research to verify against latest ecosystem. Use when user says 'double check against latest', 'verify versions', 'check security', 'review against docs', or needs deep analysis beyond automatic quality hook.

Performance Reviewer

25
from ComeOnOliver/skillshub

## Overview

SKILL: Week 1: Vulnerability Classes with Real-World Examples

25
from ComeOnOliver/skillshub

## Metadata

code-reviewer

25
from ComeOnOliver/skillshub

Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.