Agent skill

Code Review

by extra-org in extra-org/extra

Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity.

MITAuto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add extra-org/extra --skill code-review -a claude-code

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

GitHub CLI
$ gh skill install extra-org/extra 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/extra-org/extra.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/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
113
Token cost
~1.3k tokens
SKILL.md length
587 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity.

  • Works in 10 steps: Understand intent. Read the task/PR… → Architecture & separation of concerns.… → Lifecycle/state. Verify runtime/startup… → …
  • Tasks that involve Code review
  • SKILL.md covers Purpose, When to Use This Skill, Files to Read First and Core Principles, plus 4 more sections
  • Calls make

What it does

Code Review is an agent skill from extra-org/extra. Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity. Outputs a structured review.

Its SKILL.md is about 1.3k 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. The repository describes itself as: Turn your product into an AI-powered assistant. The licence is MIT.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/code-review”

Workflow steps

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

  1. Understand intent. Read the task/PR description and confirm the change is
  2. Architecture & separation of concerns. Confirm code lives in the correct
  3. Lifecycle/state. Verify runtime/startup state is separated from
  4. Public interface. Check that public functions/classes have clear, typed,
  5. Errors. Confirm errors are typed/actionable and name what went wrong
  6. Security. Confirm permission/tool-policy enforcement happens at the
  7. Testability & tests. Confirm the code is testable (DI, no hidden
  8. Simplicity & abstractions. Flag premature abstractions, clever code, and
  9. Backward compatibility. If a public contract (YAML schema, plugin
  10. Write the structured report (below).

What it can do on your machine

Read from SKILL.md and the folder at commit 023b0a0. 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:

    • make

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

  • Network

    No URLs in SKILL.md.

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

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

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 extra-org/extra at commit 023b0a0, republished under its MIT licence (© extra-org). 587 words, ~1,266 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder).
name
code-review
description
Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity. Outputs a structured review.
generated
true
source
.ai/skills/code-review.md
<!--
This file is generated by tools/skills.
Do not edit this file directly.
Edit .ai/skills/code-review.md and run `make generate-ai`.
-->

Skill: Code Review

Purpose

Perform senior-level code review on changes in this repository: judge architecture and design first, then correctness, security, testability, and simplicity. The goal is to protect the project's boundaries and quality, not to nitpick syntax.

When to Use This Skill

  • Reviewing a pull request, diff, or another agent's proposed change.
  • Self-reviewing your own change before declaring a task complete.
  • Evaluating whether a change is safe to merge or must be sent back.

Files to Read First

  • AGENTS.md (especially §3 non-negotiable architecture rules).
  • docs/ARCHITECTURE.md and the relevant layer docs (RUNTIME_LIFECYCLE.md, YAML_SPEC.md, PROMPT_RENDERING.md, SIDECAR_CONTEXT_AUTH.md, MCP_AND_TOOLS.md).
  • docs/adr/ for any contract the change touches.
  • .ai/skills/architecture-review.md if the change affects architecture.
  • The task file in tasks/ the change claims to implement.

Core Principles

  • Review architecture before syntax. A clean diff in the wrong layer is still wrong.
  • Boundaries are non-negotiable. Validation, compilation, runtime, prompt rendering, plugin context/access, and tools stay separated.
  • Security is enforced outside prompts. Prompt wording is never a boundary.
  • Simplicity wins. Reject unnecessary abstraction; prefer the smallest design that works.
  • Behavior must be tested, and tests must assert behavior, not internals.

Process

  1. Understand intent. Read the task/PR description and confirm the change is in scope for that task. Out-of-scope churn is a finding.
  2. Architecture & separation of concerns. Confirm code lives in the correct src/agentplatform/<layer> package and does not cross boundaries (e.g. the runtime reading raw YAML, or client/business logic leaking into the runtime).
  3. Lifecycle/state. Verify runtime/startup state is separated from per-request state: nothing request-scoped on RuntimeEngine or the compiled graph; per-request data lives on ExecutionContext.
  4. Public interface. Check that public functions/classes have clear, typed, minimal signatures and stable contracts; private details are not leaked.
  5. Errors. Confirm errors are typed/actionable and name what went wrong (e.g. which YAML key, which missing prompt variable), not bare exceptions.
  6. Security. Confirm permission/tool-policy enforcement happens at the tool/data layer; injected params can't be overridden; no secrets hardcoded; secrets redacted in traces/logs.
  7. Testability & tests. Confirm the code is testable (DI, no hidden globals) and that tests cover behavior and edge/negative cases, not private implementation details.
  8. Simplicity & abstractions. Flag premature abstractions, clever code, and layers collapsed "for convenience".
  9. Backward compatibility. If a public contract (YAML schema, plugin contract, API shape) changed, require an ADR and check for breakage.
  10. Write the structured report (below).
Show full SKILL.md (200 more words)Show less

Checklist Before Finishing

  • Change is in the correct layer and respects boundaries.
  • No request state on RuntimeEngine/compiled graph.
  • Runtime does not execute raw YAML; validation precedes compilation.
  • Public interfaces are clean, typed, and minimal.
  • Errors are actionable and typed.
  • Security enforced outside prompts; no hardcoded secrets; secrets redacted.
  • Code is testable; tests cover behavior and negatives.
  • No unnecessary abstraction; code is as simple as possible.
  • Contract changes have an ADR; backward compatibility considered.
  • make check passes (or you state why it can't run).

Common Mistakes to Avoid

  • Reviewing formatting/style while missing a layer or boundary violation.
  • Approving request state stored on a long-lived object.
  • Accepting prompt text as a security control.
  • Letting tests assert private internals (brittle) instead of behavior.
  • Waving through "small" contract changes without an ADR.
  • Approving speculative abstractions that aren't needed yet.

Expected Final Report

Produce the review in exactly this structure:

  1. Summary — what the change does and overall impression.
  2. Blocking issues — must fix before merge.
  3. Non-blocking issues — should fix, not gating.
  4. Architecture concerns — boundary/layer/lifecycle observations.
  5. Security concerns — enforcement, secrets, redaction.
  6. Testing gaps — missing/weak tests, missing negatives.
  7. Suggested improvements — optional polish.
  8. Final recommendation — Approve / Approve with changes / Request changes.

© extra-org, MIT. 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 .claude/skills/code-review of extra-org/extra.

Open the folder on GitHubat commit 023b0a0

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 skillextra-org/extra113—~1.3kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Backend Code Reviewlangflow-ai/langflow156k—~3.5kAutomated safety check: NotesMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • 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
  • Backend Code Review

    langflow-ai/langflow

    Review backend code for quality, security, maintainability, and best practices based on established checklist rules.

    156k GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • 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
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Backend Code Review

    langgenius/dify

    Reviews backend code under api/ for concrete, reproducible defects, routes to rule packs for architecture, schema, repositories and SQLAlchemy, and ranks findings from P0 to P3.

    158k GitHub stars~676 tokensUpdated today
    DevelopmentAuto-check passed

More from extra-org/extra

All 14 skills in this repo
  • Testing

    extra-org/extra

    How to write and run fast, deterministic, behavior-focused pytest tests that never touch real external systems.

    113 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Architecture Review

    extra-org/extra

    Guard the project's architecture invariants. An agent skill from extra-org/extra.

    113 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Documentation

    extra-org/extra

    Keep the repository's documentation accurate, honest, and synchronized with the code.

    113 GitHub stars~848 tokensUpdated 1 mo ago
    Auto-check passed
  • The standard for writing Python here — small, typed, explicit, testable modules with side effects pushed to the edges.

    113 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Skill Authoring

    extra-org/extra

    How to create or restructure a skill so the .ai/skills/ system stays consistent, operational, and trustworthy.

    113 GitHub stars~1k tokensUpdated 1 mo ago
    Auto-check passed
  • Git Workflow

    extra-org/extra

    Work safely with Git — keep changes scoped and reviewable, never overwrite the user's work, and produce clear history.

    113 GitHub stars~781 tokensUpdated 1 mo ago
    Auto-check: notes

Categories

Questions about Code Review

What does Code Review do?

Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity. Code Review is an agent skill from extra-org/extra. Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity.

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 extra-org/extra --skill code-review -a claude-code`. Or copy the skill folder (.claude/skills/code-review in extra-org/extra) 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 extra-org/extra --skill code-review -a codex`. Or copy the skill folder (.claude/skills/code-review in extra-org/extra) 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 extra-org/extra --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 (make).

Does Code Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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 MIT 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.3k tokens (SKILL.md is roughly 5.1k 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: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Backend Code Review (langflow-ai/langflow, 156k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

extra-org (a GitHub organization) maintains it in extra-org/extra, which has 113 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 7, 2026.

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