Agent skill

Code Review

by josstei in josstei/maestro-orchestrate

Standalone code review methodology for structured, severity-classified code assessment

Apache-2.0Auto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add josstei/maestro-orchestrate --skill code-review -a claude-code

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

GitHub CLI
$ gh skill install josstei/maestro-orchestrate 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/josstei/maestro-orchestrate.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/shared/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
465
Token cost
~1.7k tokens
SKILL.md length
772 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

Standalone code review methodology for structured, severity-classified code assessment

  • Works in 4 steps: User-specified paths: If the user… → Staged changes: If git diff --staged… → Last commit diff: If no staged changes… → …
  • Tasks that involve Code review
  • SKILL.md covers Scope Detection Protocol, Review Orchestration, Severity Classification and Output Format, plus 3 more sections
  • Calls git

What it does

Code Review is an agent skill from josstei/maestro-orchestrate. Standalone code review methodology for structured, severity-classified code assessment

Its SKILL.md is about 1.7k 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: Multi-agent orchestration platform for Gemini CLI, Claude Code, Codex, and Qwen Code — 39 specialists, parallel subagents, persistent sessions, and built-in code review…. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/code-review”

Workflow steps

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

  1. User-specified paths: If the user provides file paths or glob patterns, expand glob patterns using the glob tool to resolve them to…
  2. Staged changes: If git diff --staged produces output, review staged changes
  3. Last commit diff: If no staged changes exist, review the last commit via git diff HEAD~1
  4. Fallback: If none of the above yield content, ask the user to specify scope

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    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 1.7k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 772 words of instructions outside code blocks.

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

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 josstei/maestro-orchestrate at commit 4f5d434, republished under its Apache-2.0 licence (© josstei). 772 words, ~1,693 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder).
name
code-review
description
Standalone code review methodology for structured, severity-classified code assessment

Code Review Skill

Activate this skill when performing standalone code reviews via the runtime-specific Maestro review entrypoint or during orchestration quality gates (post-phase checks and final completion gate). This skill provides the methodology for scoping, executing, and reporting code reviews.

Scope Detection Protocol

Determine review scope using the following priority order:

  1. User-specified paths: If the user provides file paths or glob patterns, expand glob patterns using the glob tool to resolve them to concrete file paths before delegating to the code-reviewer agent
  2. Staged changes: If git diff --staged produces output, review staged changes
  3. Last commit diff: If no staged changes exist, review the last commit via git diff HEAD~1
  4. Fallback: If none of the above yield content, ask the user to specify scope

Always confirm the detected scope with the user before proceeding.

If scope is provided as file paths and a git diff is empty for some paths (for example, new unstaged files), include those files' current contents directly in review context so they are still reviewed.

Review Orchestration

Delegation Flow
  1. Detect review scope using the protocol above
  2. Gather the full diff content for the detected scope, and include current file contents when diff content is unavailable for scoped files
  3. Delegate to the code-reviewer agent with:
    • The full diff content
    • File paths involved
    • Any user-provided focus areas or concerns
  4. Process the agent's Task Report
  5. Present findings to the user in the structured output format below
Context Enrichment

When delegating to the code-reviewer agent, include:

  • The diff content (not just file names)
  • Surrounding context for modified sections (10 lines before/after when available)
  • Project language and framework information (detected from package.json, Cargo.toml, go.mod, etc.)

Severity Classification

Critical

Issues that could cause security vulnerabilities, data loss, or system crashes:

  • SQL/NoSQL injection vectors
  • Authentication/authorization bypasses
  • Unvalidated user input at system boundaries
  • Resource leaks (unclosed connections, file handles)
  • Race conditions with data corruption potential
Major

Issues that cause bugs, design flaws, or significant maintainability problems:

  • Logic errors in business rules
  • Missing error handling on external calls
  • SOLID principle violations that impact extensibility
  • Incorrect API contracts or type mismatches
  • Missing null/undefined checks on external data
Minor

Issues related to style, naming, or minor convention violations:

  • Naming inconsistencies
  • Code style deviations from project conventions
  • Suboptimal but correct implementations
  • Missing type annotations where inference is insufficient
Suggestion

Optional improvements that enhance readability or maintainability:

  • Alternative patterns that improve clarity
  • Performance optimizations with marginal impact
  • Structural improvements for future extensibility

Output Format

Present findings in a structured table followed by a summary:

## Code Review Results

**Scope**: [description of what was reviewed]
**Files Reviewed**: [count]
**Total Findings**: [count by severity]

### Findings

| # | Severity | File | Line | Description | Suggested Fix |
|---|----------|------|------|-------------|---------------|
| 1 | Critical | path/to/file.ts | 42 | [description] | [fix] |
| 2 | Major | path/to/file.ts | 87 | [description] | [fix] |

### Summary

[1-2 paragraph summary of overall code quality, patterns observed, and priority actions]

Verification Rule

Every finding must:

  • Reference a specific file and line number
  • Be verified against the actual code (not assumed from patterns)
  • Include a concrete suggested fix or action
  • Be classified with a severity that matches the classification criteria above

Do NOT report:

  • Speculative issues based on assumptions about runtime behavior
  • Style preferences not established by the project's conventions
  • Issues in code outside the review scope
Show full SKILL.md (283 more words)Show less

Review Scope Calibration

Calibrate the depth and focus of review based on the type of change being reviewed:

Calibration Rules
  • New files: Full review across all dimensions — architecture fit, pattern compliance, security, naming conventions, error handling, testability, dependency direction
  • Modified files (behavior change): Focus on the diff — correctness of new behavior, regression risk, contract compliance with existing interfaces, edge case handling in new code paths
  • Modified files (refactoring): Focus on behavior preservation — verify same inputs produce same outputs, no unintended side effects introduced, no behavior changes disguised as refactoring
  • Deleted files: Dependency verification — confirm no remaining code imports from, references, or depends on the deleted files. Check for orphaned tests that tested the deleted code.
  • Configuration changes: Environment impact assessment — does this change affect production? Staging? Local development? All environments? Are there secrets or credentials involved?
Application

When reviewing a diff that contains multiple change types (new files + modifications + deletions), apply the appropriate calibration to each file independently. Do not apply "new file" depth to a file that only had a minor modification.

Finding Deduplication Protocol

When reviewing multiple files, identify and consolidate findings that share the same root cause.

Deduplication Rules
  • If the same pattern violation appears in 3+ files, report it once as a systemic finding with the list of all affected locations — not as N separate findings
  • A systemic finding includes: the pattern being violated, why it matters, the full list of affected file:line locations, and a single remediation recommendation that addresses all instances
  • Unique findings (appearing in only 1-2 files) are reported individually as normal
Deduplication Format
### Systemic Finding: [Pattern Violation Name]
- **Severity**: [Critical | Major | Minor | Suggestion]
- **Description**: [What the pattern violation is and why it matters]
- **Affected Locations**:
  - `path/to/file1.ext:line` — [brief context]
  - `path/to/file2.ext:line` — [brief context]
  - `path/to/file3.ext:line` — [brief context]
- **Remediation**: [Single recommendation that addresses all instances]

This produces cleaner, more actionable review output by surfacing systemic issues as patterns rather than repeating the same finding across multiple files.

© josstei, 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 src/skills/shared/code-review of josstei/maestro-orchestrate.

Open the folder on GitHubat commit 4f5d434

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 skilljosstei/maestro-orchestrate465—~1.7kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
Hunk Diff Session Controlmodem-dev/hunk9.5k1 repos~3.4kAutomated safety check: PassMIT
Open Code Review Delegatealibaba/open-code-review44k—~2kAutomated 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.

    86k 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 3 days ago
    DevelopmentAuto-check passed
  • Interacts with live Hunk diff review sessions via CLI. Inspects review focus, navigates files, hunks, and exact lines, reloads session contents, adds inline…

    9.5k GitHub starsUsed in 1 repo~3.4k tokens
    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 3 days ago
    DevelopmentAuto-check passed
  • Code Review

    flutter/flutter

    Performs a comprehensive, multi-step code review of pull requests or local code changes, using iterative refinement (generation, critique, synthesis) to ensure high-quality, actionable feedback.

    179k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from josstei/maestro-orchestrate

All 17 skills in this repo
  • Execution

    josstei/maestro-orchestrate

    Phase execution methodology for orchestration workflows with error handling and completion protocols

    465 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • Implementation Planning

    josstei/maestro-orchestrate

    Generates detailed implementation plans from finalized designs

    465 GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Session Management

    josstei/maestro-orchestrate

    Manages orchestration session state, tracking, and resumption

    465 GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Validation

    josstei/maestro-orchestrate

    Cross-cutting validation methodology for verifying phase outputs and project integrity

    465 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Delegation

    josstei/maestro-orchestrate

    Agent delegation best practices for constructing effective subagent prompts with proper scoping

    465 GitHub stars~5.2k tokensUpdated yesterday
    Auto-check passed
  • A11y Audit

    josstei/maestro-orchestrate

    Run a Maestro-style accessibility audit for WCAG compliance, ARIA usage, keyboard navigation, and screen reader compatibility

    465 GitHub stars~245 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Code Review

What does Code Review do?

Standalone code review methodology for structured, severity-classified code assessment. Code Review is an agent skill from josstei/maestro-orchestrate.

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 josstei/maestro-orchestrate --skill code-review -a claude-code`. Or copy the skill folder (src/skills/shared/code-review in josstei/maestro-orchestrate) 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 josstei/maestro-orchestrate --skill code-review -a codex`. Or copy the skill folder (src/skills/shared/code-review in josstei/maestro-orchestrate) 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 josstei/maestro-orchestrate --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).

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 1.7k tokens (SKILL.md is roughly 6.8k 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, 86k stars), Open Code Review CLI (alibaba/open-code-review, 44k stars) and Hunk Diff Session Control (modem-dev/hunk, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

josstei (a GitHub user) maintains it in josstei/maestro-orchestrate, which has 465 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.

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