Official agent skill

Review PR

by docker in docker/docs

Review one or more incoming Docker documentation pull requests as a maintainer.

OfficialApache-2.0Auto-check passedDevelopment

Install Review PR

skills CLI
$ npx skills add docker/docs --skill review-pr -a claude-code

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

GitHub CLI
$ gh skill install docker/docs review-pr --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/docker/docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-pr .claude/skills/review-pr && 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-pr
GitHub stars
4.7k
Token cost
~2k tokens
SKILL.md length
1,018 words
Files
2
Skills in repo
13
Repo updated
First seen
Licence
Apache-2.0

At a glance

Review one or more incoming Docker documentation pull requests as a maintainer.

  • Works in 7 steps: Gather the full context → Research independently → Assess editorial fit → …
  • Requests such as review PR 123
  • SKILL.md covers Preserve the write boundary, 1. Gather the full context, 2. Research independently and 3. Assess editorial fit, plus 5 more sections
  • Calls gh

What it does

Review PR is an agent skill from docker/docs, published by the product's own GitHub organization. Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.

Its SKILL.md is about 2k 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. It works with Docker. The repository describes itself as: Source repo for Docker's Documentation. The licence is Apache-2.0.

When your agent uses it

  • Requests such as review PR 123
  • Is this PR correct?
  • Does this information belong here?
  • Validate this PR

Example prompts

  • “review PR 123”
  • “is this PR correct?”
  • “does this information belong here?”
  • “/review-pr”

Requirements

  • Docker

Workflow steps

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

  1. Gather the full context
  2. Research independently
  3. Assess editorial fit
  4. Choose a decisive verdict
  5. Place feedback deliberately
  6. Present drafts and stop
  7. Post only confirmed feedback

What it can do on your machine

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

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

  • Network

    No URLs in SKILL.md. Its commands use gh, 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 PR loads about 2k tokens when it runs. Until then it costs about 123 tokens; SKILL.md has 1,018 words of instructions outside code blocks.

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

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 docker/docs at commit 65aa5cd, republished under its Apache-2.0 licence (© docker). 1,018 words, ~2,028 tokens.

Download SKILL.mdSave it as .claude/skills/review-pr/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
review-pr
description
Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.

Review PR

Review incoming contributions for factual correctness and whether they make the documentation better as a whole. Treat a technically true addition as insufficient when it is misplaced, overemphasized, redundant, or unhelpful to the page's intended reader.

Preserve the write boundary

Perform the review in two phases:

  1. Research the PR, decide a verdict, and present the exact proposed comment or review text.
  2. Wait for explicit user confirmation, then post only the confirmed text.

Before confirmation, do not post comments, submit a GitHub review, approve or request changes, resolve threads, push commits, edit labels, or otherwise mutate GitHub. A request to review or draft feedback is not confirmation to post it. Ask Post these comments? and stop. Treat revisions to a draft as unconfirmed until the user explicitly asks to post them.

1. Gather the full context

For each PR, inspect its metadata, body, commits, changed files, checks, conversation, reviews, and linked issues. Always fetch inline comments separately because gh pr view --json reviews omits them.

bash
gh pr view <PR> --repo docker/docs \
  --json number,title,url,state,author,body,baseRefName,headRefName,headRefOid,commits,files,comments,reviews,reviewDecision,statusCheckRollup
gh api repos/docker/docs/pulls/<PR>/comments \
  --jq '[.[] | {id, author: .user.login, body, path, line, side, commit_id}]'
gh pr diff <PR> --repo docker/docs

Read linked issues and relevant discussion. An issue is evidence that a reader was confused, but it does not establish the reporter's diagnosis or justify a new highlighted note by itself. Green CI establishes only that automated checks passed, not that the content is correct.

Fetch the PR head when local inspection is useful. Compare it with the canonical upstream base rather than assuming the local branch is fresh. Read each changed file in full, not only its diff.

2. Research independently

Verify every material claim against authoritative sources such as product source code, upstream documentation, specifications, release notes, or safe local reproduction. Do not accept the PR description, issue diagnosis, or existing review feedback as fact.

Search the documentation for related explanations and canonical pages. Read STYLE.md, COMPONENTS.md, and applicable repository instructions. Check whether a changed file is generated or maintained upstream and identify the correct upstream repository instead of proposing a local edit.

Distinguish among:

  • a wrong fact
  • a correct fact expressed inaccurately
  • a correct fact placed on the wrong page
  • content already explained elsewhere
  • a real discovery problem better addressed with a short signpost and link
  • a request that needs no documentation change.

If an external claim or replacement URL cannot be verified, report that limitation instead of guessing.

3. Assess editorial fit

Apply these questions to each addition:

  • Does it change a reader's decision or next action on this page?
  • Is this the canonical page for the concept?
  • Is the fact general, or specific to this page, feature, or component?
  • Is the information already documented elsewhere?
  • Would a concise local signpost to canonical coverage solve the discovery problem better than duplicating the explanation?
  • Is the visual and textual weight proportional to the information's value?
  • Does it preserve the page's scope, flow, and character?

Prefer one coherent explanation in the canonical location. Add local context only when it helps the reader complete the task at hand. Avoid stray notes, callouts, and exhaustive edge cases whose prominence exceeds their value.

4. Choose a decisive verdict

Lead with one of these outcomes:

  • Approve: correct, useful, well placed, and ready to merge.
  • Approve with optional polish: ready to merge; suggestions are genuinely non-blocking.
  • Focused rewrite: the underlying need is valid, but wording, scope, placement, or structure should change before merge.
  • Close / no docs change: incorrect, redundant, out of scope, or not a documentation problem.

Explain the verdict with evidence. When wording is the issue, provide exact replacement text rather than a vague request to improve it.

Show full SKILL.md (434 more words)Show less

5. Place feedback deliberately

Use an inline comment when the finding is anchored to a narrow changed line or range and acting on it is local. Examples include an inaccurate sentence, an ambiguous option description, a broken link, or a precise wording replacement.

Use a PR-wide comment for scope, information architecture, overall approach, multiple intertwined edits, or a proposed replacement section. Do not attach holistic feedback to an arbitrary line.

Use both when appropriate: put the overall direction in the PR-wide comment and line-specific corrections inline. Do not repeat the same point in both. Consolidate related feedback so the author receives the fewest comments that remain clear and actionable.

For every proposed inline comment, resolve and display the current changed file path and right-side diff line. If the target line is not part of the current diff or cannot be identified reliably, use a PR-wide comment that quotes the target text instead. Never guess a line number.

End comments posted on the user's behalf with an accurate agent-disclosure footer, such as Generated by Codex.

6. Present drafts and stop

Before any GitHub write, show the review in this form, omitting empty sections:

markdown
## Verdict

Focused rewrite

## Findings

- <finding and evidence>

## Proposed inline comments

1. `path/to/file.md:42`
   > Exact comment text

## Proposed PR-wide comment

> Exact comment text

Post these comments?

For multiple PRs, give each PR its own verdict and comment set. Make the confirmation scope unambiguous. Do not interpret approval of one PR's drafts as approval to post comments on the others.

7. Post only confirmed feedback

Immediately before posting, re-fetch the PR head SHA and diff. If either the head or an inline target changed, stop and show the updated draft or placement for confirmation.

Post confirmed inline comments as a single comment-only review when practical. Use the current head SHA and right-side diff lines:

bash
gh api repos/docker/docs/pulls/<PR>/reviews --method POST --input <payload>

The JSON payload contains commit_id, event: "COMMENT", and a comments array whose entries contain path, line, side: "RIGHT", and body. Submitting a review with APPROVE or REQUEST_CHANGES requires separate, explicit user authorization; a verdict alone does not grant it.

Post confirmed holistic feedback separately:

bash
gh pr comment <PR> --repo docker/docs --body-file <file>

Use a safely created temporary file or API input so Markdown, backticks, and shell substitutions are preserved literally. Post exactly the confirmed text. Verify the resulting review/comments and report their URLs and placements. If GitHub rejects an inline location, do not silently fall back to a PR-wide comment; report the failure and prepare a revised placement for confirmation.

Definition of done

  • Verify technical claims with authoritative evidence.
  • Evaluate usefulness, placement, duplication, and proportionality.
  • Give a decisive verdict and exact actionable wording.
  • Choose inline and PR-wide placement based on the feedback's scope.
  • Show every exact draft and target before any GitHub mutation.
  • Post only after explicit confirmation and verify what was posted.

© docker, 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

SKILL.md and 1 other file in .agents/skills/review-pr of docker/docs.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 65aa5cd

Compare with similar skills

Review PR 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 PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review PR this skilldocker/docs4.7k—~2kAutomated safety check: PassApache-2.0
CI Act Runchewiebug/GCViewer4.6k—~2.4kAutomated safety check: NotesCustom licence
Pull Requestwerf/werf4.7k—~2.9kAutomated safety check: PassApache-2.0
Code ReviewAzure/Azurite2.3k—~734Automated safety check: PassMIT
Review PRmicrosoft/vscode-containers141—~900Automated safety check: PassCustom licence
ReleasePipelex/pipelex939—~4.8kAutomated safety check: NotesCustom licence

Similar skills

  • CI Act Run

    chewiebug/GCViewer

    Run the full build-and-deploy.yaml workflow locally via act + Docker.

    4.6k GitHub stars~2.4k tokensUpdated 3 mo ago
    DevelopmentAuto-check: notes
  • Pull Request

    werf/werf

    Generates Pull Request titles and descriptions according to werf conventions.

    4.7k GitHub stars~2.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Code Review

    Azure/Azurite

    Official

    Review Azurite pull requests with service-aware checks for Blob, Queue, and Table behavior, API compatibility, tests, and release notes.

    2.3k GitHub stars~734 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Review PR

    microsoft/vscode-containers

    Official

    Review a specific vscode-containers pull request on demand from the CLI (or any interactive agent), the way a Container Tools maintainer would.

    141 GitHub stars~900 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Release

    Pipelex/pipelex

    Cut a release of pipelex, which ships the pipelex and pipelex-api packages and the pipelex/pipelex-api Docker image under one version: the gates, the migration-ledger cross-check, the CHANGELOG.md…

    939 GitHub stars~4.8k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Trailsnap Commit

    LC044/TrailSnap

    TrailSnap 仓库提交、推送、需求平台与 PR 工作流规则。Use when preparing commits, pushing branches, managing the corresponding platform requirement, creating or merging pull requests, or monitoring PR CI in this…

    767 GitHub stars~557 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from docker/docs

All 13 skills in this repo
  • Official

    Audit a documentation site for agent-friendliness: discovery, markdown delivery, crawlability, semantic structure, machine-readable surfaces, and content legibility.

    4.7k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Official

    Handle Hugo docs information-architecture moves: discover old vs new URLs, add front matter aliases (Phase 1), update in-repo links (Phase 2), interactive List 2 resolution and fragment validation…

    4.7k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Write

    docker/docs

    Official

    Write or edit reader-facing technical prose for immediate comprehension.

    4.7k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Create Lab Guide

    docker/docs

    Official

    Clone a dockersamples Labspace repo, extract learning objectives and module structure from labspace.yaml, and produce a Hugo guide page under content/guides/ with correct frontmatter…

    4.7k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Curate Whats New

    docker/docs

    Official

    Curate noteworthy Docker launches from documentation pull requests merged during a requested period.

    4.7k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Fix Issue

    docker/docs

    Official

    Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR.

    4.7k GitHub stars~595 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Review PR

What does Review PR do?

Review one or more incoming Docker documentation pull requests as a maintainer. Review PR is an agent skill from docker/docs, published by the product's own GitHub organization. Review one or more incoming Docker documentation pull requests as a maintainer.

When should I use Review PR?

Review PR fits situations like: requests such as review PR 123; is this PR correct?; does this information belong here?; validate this PR.

How do I install Review PR in Claude Code?

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

How do I install Review PR in Codex?

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

Can I use Review PR 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 docker/docs --skill review-pr -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-pr, .gemini/skills/review-pr, .github/skills/review-pr and .opencode/skills/review-pr in your project.

What does Review PR need to run?

Going by SKILL.md and its folder, Review PR needs the command-line tools its instructions call (gh). Our summary lists: Docker.

Does Review PR access the network?

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

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

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

About 2k tokens (SKILL.md is roughly 8.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 Review PR?

Skills that share tags, products or a category with Review PR: CI Act Run (chewiebug/GCViewer, 4.6k stars), Pull Request (werf/werf, 4.7k stars), Code Review (Azure/Azurite, 2.3k stars) and Review PR (microsoft/vscode-containers, 141 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review PR?

docker (a GitHub organization, an official publisher) maintains it in docker/docs, which has 4,666 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 7, 2026.

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