Agent skill

Code Review

by prapaa-ai in prapaa-ai/agav

Review code changes for bugs, security issues, and improvements

Apache-2.0Auto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add prapaa-ai/agav --skill code-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install prapaa-ai/agav code-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/prapaa-ai/agav.git skills-src && mkdir -p .claude/skills && cp -r skills-src/source/skills/bundled/code-review .claude/skills/code-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review
GitHub stars
147
Token cost
~384 tokens
SKILL.md length
173 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Review code changes for bugs, security issues, and improvements

  • Works in 7 steps: Run git diff (or git diff --cached for… → Read each changed file in full to… → Analyze every change for the following… → …
  • Tasks that involve Code review
  • Calls git

What it does

Code Review is an agent skill from prapaa-ai/agav. Review code changes for bugs, security issues, and improvements

Its SKILL.md is about 380 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code review. It works with Git. The repository describes itself as: Terminal-native AI coding assistant for real repositories. Inspect code, edit files, run tests, and verify changes from the CLI. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/code-review”

Requirements

  • Pre-approved tools (allowed-tools): read_file, grep_search, find_files, list_directory, run_command

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Run git diff (or git diff --cached for staged changes) to obtain the changeset. If specific files are provided, scope the review to those…
  2. Read each changed file in full to understand surrounding context, not just the diff hunks.
  3. Analyze every change for the following categories
  4. For each finding, report
  5. Group findings by file. Present critical issues first, then warnings, then suggestions.
  6. If no issues are found, confirm the changes look correct and explain why.
  7. Keep feedback actionable. Avoid vague commentary; always suggest a concrete fix.

What it can do on your machine

Read from SKILL.md and the folder at commit 9e9582a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • read_file
    • grep_search
    • find_files
    • list_directory
    • run_command

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Review loads about 384 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 173 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~384

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from prapaa-ai/agav at commit 9e9582a, republished under its Apache-2.0 licence (© prapaa-ai). 173 words, ~384 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder).
name
code-review
description
Review code changes for bugs, security issues, and improvements
allowed-tools
read_file, grep_search, find_files, list_directory, run_command
version
1.0.0
invocation
both
tags
review, quality, bugs

Code Review

Review the current git diff or specified files for defects and improvements.

Instructions

  1. Run git diff (or git diff --cached for staged changes) to obtain the changeset. If specific files are provided, scope the review to those files.
  2. Read each changed file in full to understand surrounding context, not just the diff hunks.
  3. Analyze every change for the following categories:
    • Bugs: Logic errors, off-by-one mistakes, null/undefined access, race conditions, missing error handling.
    • Security: Injection vulnerabilities, hardcoded secrets, unsafe deserialization, missing auth checks.
    • Performance: Unnecessary allocations, O(n^2) patterns, missing caching opportunities, redundant I/O.
    • Style: Naming inconsistencies, dead code, overly complex expressions, missing type annotations.
  4. For each finding, report:
    • File path and line number
    • Severity: critical, warning, or suggestion
    • A concise description of the issue
    • A recommended fix or improvement
  5. Group findings by file. Present critical issues first, then warnings, then suggestions.
  6. If no issues are found, confirm the changes look correct and explain why.
  7. Keep feedback actionable. Avoid vague commentary; always suggest a concrete fix.

© prapaa-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in source/skills/bundled/code-review of prapaa-ai/agav.

Open the folder on GitHubat commit 9e9582a

Compare with similar skills

Code Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review this skillprapaa-ai/agav147—~384Automated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything85k1 repos~1.4kAutomated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
Open Code Review Delegatealibaba/open-code-review44k—~2kAutomated safety check: PassApache-2.0
PR Review State Fetchprisma/orm48k—~767Automated safety check: PassApache-2.0

Similar skills

  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    85k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    44k GitHub stars~3.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Open Code Review Delegate

    alibaba/open-code-review

    Has the host agent do the code review itself while the ocr CLI handles file selection and rule lookup, covering workspace changes, branch ranges or single commits.

    44k GitHub stars~2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Official

    Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.

    48k GitHub stars~767 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Knowledge Graph PR Review

    tirth8205/code-review-graph

    Reviews a pull request or branch diff with a code knowledge graph and produces a structured review that includes blast-radius analysis.

    32k GitHub stars~452 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from prapaa-ai/agav

All 12 skills in this repo
  • Skill Creator

    prapaa-ai/agav

    Guide for authoring a new agav skill (SKILL.md). An agent skill from prapaa-ai/agav.

    147 GitHub stars~792 tokensUpdated today
    Auto-check passed
  • Git Commit

    prapaa-ai/agav

    Generate a commit message from staged changes. An agent skill from prapaa-ai/agav.

    147 GitHub stars~358 tokensUpdated today
    Auto-check passed
  • Data Clean

    prapaa-ai/agav

    Clean up and analyze CSV/Excel data for non-analysts. An agent skill from prapaa-ai/agav.

    147 GitHub stars~479 tokensUpdated today
    Auto-check passed
  • File Organizer

    prapaa-ai/agav

    Clean up a messy folder with a dry-run plan before moving anything

    147 GitHub stars~460 tokensUpdated today
    Auto-check passed
  • XLSX

    prapaa-ai/agav

    Create, read, and edit Excel .xlsx spreadsheets and CSV files

    147 GitHub stars~486 tokensUpdated today
    Auto-check passed
  • Deep Research

    prapaa-ai/agav

    Multi-source research on a topic with citations. An agent skill from prapaa-ai/agav.

    147 GitHub stars~396 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Code Review

What does Code Review do?

Review code changes for bugs, security issues, and improvements. Code Review is an agent skill from prapaa-ai/agav.

When should I use Code Review?

Code Review fits situations like: tasks that involve Code review.

How do I install Code Review in Claude Code?

Run `npx skills add prapaa-ai/agav --skill code-review -a claude-code`. Or copy the skill folder (source/skills/bundled/code-review in prapaa-ai/agav) into .claude/skills/code-review in your project. Claude Code loads it when a task matches its description.

How do I install Code Review in Codex?

Run `npx skills add prapaa-ai/agav --skill code-review -a codex`. Or copy the skill folder (source/skills/bundled/code-review in prapaa-ai/agav) into .agents/skills/code-review in your project. Codex loads it when a task matches its description.

Can I use Code Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add prapaa-ai/agav --skill code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review, .gemini/skills/code-review, .github/skills/code-review and .opencode/skills/code-review in your project.

What does Code Review need to run?

Going by SKILL.md and its folder, Code Review needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: read_file, grep_search, find_files, list_directory, run_command.

Does Code Review access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Code Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Review use?

Code Review is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review use?

About 384 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Review?

Skills that share tags, products or a category with Code Review: Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 85k stars), Open Code Review CLI (alibaba/open-code-review, 44k stars) and Open Code Review Delegate (alibaba/open-code-review, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

prapaa-ai (a GitHub organization) maintains it in prapaa-ai/agav, which has 147 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: prapaa-ai/agav on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.