Agent skill

Review

by wp-media in wp-media/wp-rocket

Run a lead code review on the current branch or a given PR. An agent skill from wp-media/wp-rocket.

GPL-2.0Auto-check passedDevelopment

Install Review

skills CLI
$ npx skills add wp-media/wp-rocket --skill review -a claude-code

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

GitHub CLI
$ gh skill install wp-media/wp-rocket 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/wp-media/wp-rocket.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/review .claude/skills/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
review
GitHub stars
767
Token cost
~682 tokens
SKILL.md length
342 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
GPL-2.0

At a glance

Run a lead code review on the current branch or a given PR. An agent skill from wp-media/wp-rocket.

  • Works in 5 steps: Config → Resolve the PR → Locate the spec → …
  • Development work in your project
  • SKILL.md covers Step 1 — Config, Step 2 — Resolve the PR, Step 3 — Locate the spec and Step 4 — Invoke the…, plus 1 more section
  • Calls gh and git

What it does

Review is an agent skill from wp-media/wp-rocket. Run a lead code review on the current branch or a given PR. Standalone entry point for the lead-reviewer agent.

Its SKILL.md is about 680 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. It works with WordPress. The repository describes itself as: Performance optimization plugin for WordPress. The licence is GPL-2.0.

When your agent uses it

  • Development work in your project

Example prompts

  • “/review”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Config
  2. Resolve the PR
  3. Locate the spec
  4. Invoke the lead-reviewer agent
  5. Offer to post

What it can do on your machine

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

    • gh
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use gh and 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

Review loads about 682 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 342 words of instructions outside code blocks.

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

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 wp-media/wp-rocket at commit aa6a655, republished under its GPL-2.0 licence (© wp-media). 342 words, ~682 tokens.

Download SKILL.mdSave it as .claude/skills/review/SKILL.md (or your agent's skills folder).
name
review
description
Run a lead code review on the current branch or a given PR. Standalone entry point for the lead-reviewer agent.
argument-hint
PR-number-or-URL

Review

Standalone code review for any PR. Runs the full lead-reviewer analysis against the spec and project standards. Posting inline comments and the summary to GitHub is your choice — you are prompted at the end.

Step 1 — Config

This skill targets wp-media/wp-rocket. Specs live at .TemporaryItems/Issues/wp-rocket/issues/<N>-spec.md.

Step 2 — Resolve the PR

If $ARGUMENTS is provided, use it as the PR number or URL.

Otherwise resolve from the current branch:

bash
gh pr list --head "$(git branch --show-current)" --json number,url -q '.[0] | "\(.number) \(.url)"'

If no PR is found, tell the user and stop.

Get the base branch from the PR:

bash
gh pr view <PR_NUMBER> --json baseRefName,body -q '{base: .baseRefName, body: .body}'

Extract the linked issue number from the PR body (Fixes #N, Closes #N, or a GitHub issue URL).

Step 3 — Locate the spec

If a linked issue number was found, check for a spec at: .TemporaryItems/Issues/wp-rocket/issues/<N>-spec.md

If it exists, pass its path to the agent. If it does not exist, inform the user: "No grooming spec found — the review will check against project standards only (spec compliance section will be skipped)."

Step 4 — Invoke the lead-reviewer agent

Invoke the lead-reviewer sub-agent with:

  • Issue number (if known) and spec path (if found, else omit)
  • Base branch from Step 2
  • PR number
  • CURRENT_MODEL: "standalone"
  • session_learnings: read Section 13 of AGENTS.md if it exists, else pass empty string
  • Repo: wp-media/wp-rocket

STANDALONE MODE — two differences from the normal pipeline run:

  1. Skip Step 5 (inline PR comments) and Step 5b (summary PR comment). Instead, output the full review report — findings table, blockers, nice-to-haves — as formatted Markdown in your response, in a section titled ## Review Report.
  2. Skip the StructuredOutput JSON return. Return a short human-readable verdict summary instead: overall verdict, blocker count, and any open questions.

Step 5 — Offer to post

After the agent responds, display its ## Review Report and ask:

Post this review to PR #<PR_NUMBER>? Reply yes to post inline comments + summary, no to finish here.

If yes — the agent posts inline comments (Step 5) and the summary comment (Step 5b) using the normal dedup flow. The <!-- ai-pipeline:lead-review --> marker ensures a later pipeline re-run updates in place rather than duplicating.

If no — confirm the review is complete and finish.

© wp-media, GPL-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 .claude/skills/review of wp-media/wp-rocket.

Open the folder on GitHubat commit aa6a655

Compare with similar skills

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.

Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review this skillwp-media/wp-rocket767—~682Automated safety check: PassGPL-2.0
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Wp Interactivity APIAutomattic/agent-skills2112 repos~1.5kAutomated safety check: PassNone
WooCommerce Dev Cyclewoocommerce/woocommerce11k3 repos~431Automated safety check: PassCustom licence
Debug Php Wasm Main ModuleWordPress/wordpress-playground2k—~3.1kAutomated safety check: PassGPL-2.0
Blueprintbonny/WordPress-Simple-History3171 repos~4kAutomated safety check: PassNone

Similar skills

  • 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
  • Wp Interactivity API

    Automattic/agent-skills

    A skill your agent uses when building or debugging WordPress Interactivity API features (data-wp- directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration…

    211 GitHub starsUsed in 2 repos~1.5k tokens
    DevelopmentAuto-check passed
  • WooCommerce Dev Cycle

    woocommerce/woocommerce

    Workflow for WooCommerce development: run PHP and JavaScript tests, lint and fix code style on the current branch, and follow guides for i18n and markdown.

    11k GitHub starsUsed in 3 repos~431 tokens
    DevelopmentAuto-check passed
  • Debug Php Wasm Main Module

    WordPress/wordpress-playground

    Debug PHP.wasm main module crashes including Asyncify errors (unreachable, memory access out of bounds), JSPI errors (SuspendError, trying to suspend JS frames), WASM memory growth bugs, and runtime…

    2k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Blueprint

    bonny/WordPress-Simple-History

    A skill your agent uses when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources…

    317 GitHub starsUsed in 1 repo~4k tokens
    DevelopmentAuto-check passed
  • Code Style

    Automattic/wordpress-activitypub

    PHP coding standards and WordPress patterns for ActivityPub plugin.

    582 GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed

More from wp-media/wp-rocket

All 15 skills in this repo
  • Knowledge Graph

    wp-media/wp-rocket

    Read and refresh wp-rocket's pre-built dependency graph at .claude/graph/dependency-graph.json.

    767 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Wordpress Compliance

    wp-media/wp-rocket

    A skill your agent uses when modifying templates, admin UI, output, hooks, plugin metadata, sanitization, escaping, or any code that must remain compliant with WordPress.org and repository PHPCS…

    767 GitHub stars~809 tokensUpdated today
    Auto-check passed
  • Wp Rocket Architecture

    wp-media/wp-rocket

    A skill your agent uses when changing service structure, Subscribers, ServiceProviders, Container wiring, bootstrapping, Context classes, or any code that may affect the core caching engine in WP…

    767 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Challenge

    wp-media/wp-rocket

    Adversarially review a grooming spec before implementation starts.

    767 GitHub stars~674 tokensUpdated today
    Auto-check passed
  • Compliance

    wp-media/wp-rocket

    Check a change against WordPress.org plugin rules and PHPCS standards.

    767 GitHub stars~551 tokensUpdated today
    Auto-check passed
  • Docs

    wp-media/wp-rocket

    Update developer-facing documentation to reflect code changes on the current branch.

    767 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Review

What does Review do?

Run a lead code review on the current branch or a given PR. An agent skill from wp-media/wp-rocket. Review is an agent skill from wp-media/wp-rocket. Run a lead code review on the current branch or a given PR.

When should I use Review?

Review fits situations like: development work in your project.

How do I install Review in Claude Code?

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

How do I install Review in Codex?

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

Can I use 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 wp-media/wp-rocket --skill 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/review, .gemini/skills/review, .github/skills/review and .opencode/skills/review in your project.

What does Review need to run?

Going by SKILL.md and its folder, Review needs the command-line tools its instructions call (gh and git).

Does Review access the network?

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

Is 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 Review use?

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

How many tokens does Review use?

About 682 tokens (SKILL.md is roughly 2.7k 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 Review?

Skills that share tags, products or a category with Review: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Wp Interactivity API (Automattic/agent-skills, 211 stars), WooCommerce Dev Cycle (woocommerce/woocommerce, 11k stars) and Debug Php Wasm Main Module (WordPress/wordpress-playground, 2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review?

wp-media (a GitHub organization) maintains it in wp-media/wp-rocket, which has 767 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 9, 2026.

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