Agent skill

Autoreview

by swyxio in swyxio/skills

Perform a structured final code review of a local diff, commit, branch, or pull request.

MITAuto-check passedDevelopment

Install Autoreview

skills CLI
$ npx skills add swyxio/skills --skill autoreview -a claude-code

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

GitHub CLI
$ gh skill install swyxio/skills autoreview --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/swyxio/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/autoreview .claude/skills/autoreview && 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
autoreview
GitHub stars
175
Token cost
~548 tokens
SKILL.md length
257 words
Files
2
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Perform a structured final code review of a local diff, commit, branch, or pull request.

  • Works in 6 steps: correctness and violated invariants; → security, privacy, authorization, and… → error handling, retries, concurrency,… → …
  • Explicitly asks for autoreview
  • SKILL.md covers Select the real change, Review priorities, Verify findings and Report
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Autoreview is an agent skill from swyxio/skills. Perform a structured final code review of a local diff, commit, branch, or pull request. Use only when the user explicitly asks for autoreview, a second review, or a final review before commit, merge, or release, or when repository instructions require one. Do not trigger automatically for ordinary non-trivial edits.

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Pull requests. The repository describes itself as: Agent skills for Claude Code and other AI agents. The licence is MIT.

When your agent uses it

  • Explicitly asks for autoreview
  • A second review
  • A final review before commit
  • Repository instructions require one

Example prompts

  • “/autoreview”

Workflow steps

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

  1. correctness and violated invariants;
  2. security, privacy, authorization, and unsafe data handling;
  3. error handling, retries, concurrency, cleanup, and partial failure;
  4. compatibility with persisted state and public contracts;
  5. missing or misleading tests;
  6. unnecessary complexity introduced by the change.

What it can do on your machine

Read from SKILL.md and the folder at commit 038ef34. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Autoreview loads about 548 tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 257 words of instructions outside code blocks.

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

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 swyxio/skills at commit 038ef34, republished under its MIT licence (© swyxio). 257 words, ~548 tokens.

Download SKILL.mdSave it as .claude/skills/autoreview/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
autoreview
description
Perform a structured final code review of a local diff, commit, branch, or pull request. Use only when the user explicitly asks for autoreview, a second review, or a final review before commit, merge, or release, or when repository instructions require one. Do not trigger automatically for ordinary non-trivial edits.

Auto Review

Review the completed change as a closeout check. Use the review capability available in the current environment; do not make completion depend on a particular helper, model, service, or installation.

Select the real change

  • For dirty work, review the staged, unstaged, and relevant untracked diff.
  • For a commit, review that commit and its immediate context.
  • For branch or pull-request work, compare against the actual base branch.
  • Do not push, rewrite history, or manufacture a diff merely to make review possible.

Review priorities

Inspect the changed code and adjacent ownership boundaries for:

  1. correctness and violated invariants;
  2. security, privacy, authorization, and unsafe data handling;
  3. error handling, retries, concurrency, cleanup, and partial failure;
  4. compatibility with persisted state and public contracts;
  5. missing or misleading tests;
  6. unnecessary complexity introduced by the change.

Prefer concrete defects with a reproducible path. Reject speculative edge cases, style-only churn, unrelated rewrites, and fixes that cost more complexity than the risk warrants.

Verify findings

  • Treat every finding as advisory until confirmed against the real code path.
  • Read adjacent code, types, tests, and authoritative dependency documentation when needed.
  • Fix accepted findings at the narrowest correct ownership boundary.
  • Rerun affected tests after review-driven edits.
  • Re-review only the changed result when a fix could have introduced another defect.

Stop when no confirmed actionable findings remain. Do not seek extra reviewers or repeat a clean review solely for more reassuring wording.

Report

Include:

  • the target reviewed;
  • findings accepted and rejected, with brief reasons;
  • fixes made and tests run;
  • remaining risks or verification gaps.

© swyxio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in autoreview of swyxio/skills.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 038ef34

Compare with similar skills

Autoreview 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.

Autoreview compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Autoreview this skillswyxio/skills175—~548Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • 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
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Record PR Demo

    payloadcms/payload

    A skill your agent uses when a Payload pull request needs a concise visual walkthrough for reviewers.

    45k GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from swyxio/skills

All 89 skills in this repo
  • Programmatic Agents

    swyxio/skills

    Run a selected coding-agent CLI programmatically, with latency, error, usage, cost, and trace logging.

    175 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Design, implement, audit, or refresh protected username and handle namespaces for public products.

    175 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed
  • New Mac Setup

    swyxio/skills

    Fully automated new Mac setup for fullstack web developers and AI engineers.

    175 GitHub stars~4.3k tokensUpdated 5 days ago
    Auto-check passed
  • Youtube API

    swyxio/skills

    Manage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info…

    175 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Batch YouTube Studio upload workflow for videos sourced from Airtable, Google Drive, Loom, YouTube, or local files.

    175 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check: warnings
  • Reconstruct and visually analyze paired agent, game, or policy trajectories to determine whether changed actions produced their intended effects.

    175 GitHub stars~1.8k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Autoreview

What does Autoreview do?

Perform a structured final code review of a local diff, commit, branch, or pull request. Autoreview is an agent skill from swyxio/skills. Perform a structured final code review of a local diff, commit, branch, or pull request.

When should I use Autoreview?

Autoreview fits situations like: explicitly asks for autoreview; A second review; A final review before commit; repository instructions require one.

How do I install Autoreview in Claude Code?

Run `npx skills add swyxio/skills --skill autoreview -a claude-code`. Or copy the skill folder (autoreview in swyxio/skills) into .claude/skills/autoreview in your project. Claude Code loads it when a task matches its description.

How do I install Autoreview in Codex?

Run `npx skills add swyxio/skills --skill autoreview -a codex`. Or copy the skill folder (autoreview in swyxio/skills) into .agents/skills/autoreview in your project. Codex loads it when a task matches its description.

Can I use Autoreview 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 swyxio/skills --skill autoreview -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autoreview, .gemini/skills/autoreview, .github/skills/autoreview and .opencode/skills/autoreview in your project.

What does Autoreview need to run?

SKILL.md names no scripts, command-line tools or credentials: Autoreview is instructions for the agent only.

Does Autoreview 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 Autoreview 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 Autoreview use?

Autoreview 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 Autoreview use?

About 548 tokens (SKILL.md is roughly 2.2k 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 Autoreview?

Skills that share tags, products or a category with Autoreview: Finishing a Development Branch (obra/superpowers, 297k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Autoreview?

swyxio (a GitHub user) maintains it in swyxio/skills, which has 175 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 5, 2026.

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