Agent skill

Improve Review PR

by warpdotdev-demos in warpdotdev-demos/cloud-factory-demo

Daily outer loop that reviews human reactions to automated review-pr comments, synthesizes durable organizational knowledge, and opens a PR to update the review-pr skill when the feedback is worth…

MITAuto-check passedDevelopment

Install Improve Review PR

skills CLI
$ npx skills add warpdotdev-demos/cloud-factory-demo --skill improve-review-pr -a claude-code

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

GitHub CLI
$ gh skill install warpdotdev-demos/cloud-factory-demo improve-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/warpdotdev-demos/cloud-factory-demo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/improve-review-pr .claude/skills/improve-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
improve-review-pr
GitHub stars
334
Token cost
~1.7k tokens
SKILL.md length
830 words
Files
2 (incl. scripts)
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Daily outer loop that reviews human reactions to automated review-pr comments, synthesizes durable organizational knowledge, and opens a PR to update the review-pr skill when the feedback is worth…

  • Works in 7 steps: Collect the day's review-agent… → Score each feedback item → Synthesize durable organizational… → …
  • Improving code-review quality from human feedback
  • SKILL.md covers Goal, Inputs, Workflow and Guardrails
  • Runs Python scripts from its folder; calls python3

What it does

Improve Review PR is an agent skill from warpdotdev-demos/cloud-factory-demo. Daily outer loop that reviews human reactions to automated review-pr comments, synthesizes durable organizational knowledge, and opens a PR to update the review-pr skill when the feedback is worth remembering. Use when improving code-review quality from human feedback, running a scheduled review-skill retrospective, or incorporating maintainer corrections into review guidance.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/collect_review_feedback.py`).

It sits in Development, covering Pull requests. The licence is MIT.

When your agent uses it

  • Improving code-review quality from human feedback
  • Running a scheduled review-skill retrospective
  • Incorporating maintainer corrections into review guidance

Example prompts

  • “/improve-review-pr”

Requirements

  • Python 3

Workflow steps

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

  1. Collect the day's review-agent interactions
  2. Score each feedback item
  3. Synthesize durable organizational knowledge
  4. Decide whether to update the skill
  5. Apply skill updates carefully
  6. Open a skill-improvement PR when there are changes
  7. Report the result

What it can do on your machine

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

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    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

Improve Review PR loads about 1.7k tokens when it runs. Until then it costs about 99 tokens; SKILL.md has 830 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
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); the scripts in this folder are not scanned.

SKILL.md

The full file from warpdotdev-demos/cloud-factory-demo at commit ab21d0c, republished under its MIT licence (© warpdotdev-demos). 830 words, ~1,749 tokens.

Download SKILL.mdSave it as .claude/skills/improve-review-pr/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
improve-review-pr
description
Daily outer loop that reviews human reactions to automated review-pr comments, synthesizes durable organizational knowledge, and opens a PR to update the review-pr skill when the feedback is worth remembering. Use when improving code-review quality from human feedback, running a scheduled review-skill retrospective, or incorporating maintainer corrections into review guidance.

Improve Review PR

Run a once-per-day outer loop over the automated code-review stage.

The inner loop is already running: review-pr comments on pull requests throughout the day. This skill is the outer loop: read how humans reacted to those comments, extract durable organizational knowledge, and update the review skill so the next inner-loop runs get better.

Goal

Improve future automated reviews by learning from human validation and correction of previous review-pr comments.

Do not re-review product code. Do not restate one-off PR opinions. Only capture knowledge that should change how the review agent behaves on future PRs.

Inputs

  • The current checkout of the repository that owns .agents/skills/review-pr/SKILL.md
  • GitHub API access via authenticated gh
  • Optional lookback window, default last 24 hours
  • Optional feedback_corpus.json produced by:
    sh
    python3 .agents/skills/improve-review-pr/scripts/collect_review_feedback.py \
      --repo OWNER/REPO \
      --since-hours 24 \
      --output feedback_corpus.json

If feedback_corpus.json is missing, run the collector yourself before analyzing.

Workflow

1. Collect the day's review-agent interactions

Run or read feedback_corpus.json.

The corpus should include, for the lookback window:

  • Pull requests that received an automated review from the review agent
  • The review agent's top-level review bodies and inline comments
  • Human replies to those comments
  • Human reactions (for example +1, eyes, confused, thumbs down) when available
  • Whether the human accepted a suggestion, dismissed it, edited around it, or explicitly disagreed
  • Whether the PR author or another reviewer later fixed the same issue, ignored it, or called it wrong

Identify the review agent by login when possible (github-actions[bot], a bot account, or a configured login). Prefer comments that originated from the review-pr publish path.

2. Score each feedback item

For each human interaction, classify the outcome:

  • validated — human agreed, accepted the suggestion, or fixed the issue as recommended
  • corrected — human said the finding was wrong, incomplete, too noisy, or the wrong severity
  • refined — human mostly agreed but adjusted the guidance, scope, or preferred pattern
  • ambiguous — not enough signal to learn from

Ignore pure acknowledgements with no substantive judgment.

3. Synthesize durable organizational knowledge

Look across the day's validated/corrected/refined items for patterns worth remembering. Good candidates:

  • Repo conventions the review agent repeatedly misses
  • False-positive classes that should be demoted or avoided
  • Severity calibration mistakes
  • Preferred alternatives to common suggestions
  • Missing checks that humans keep adding manually
  • Guidance about when not to comment

Reject learnings that are:

  • One-off to a single PR or file
  • Already covered well by review-pr or a local companion skill
  • Product-feature preferences unrelated to review quality
  • Temporary project constraints unlikely to recur
  • Changes that would break the review-pr output schema, severity labels, safety rules, evidence rules, suggestion-block constraints, or annotated-diff line contract

Prefer a small number of high-confidence learnings over many weak ones.

4. Decide whether to update the skill

Choose exactly one outcome:

  • no_changes — no durable learning worth encoding
  • update_review_pr — update core .agents/skills/review-pr/SKILL.md
  • update_review_pr_local — update or create .agents/skills/review-pr-local/SKILL.md for repository-specific guidance
  • both — core and local updates are both warranted

Use review-pr-local for repository-specific conventions. Keep portable review behavior in core review-pr.

If no durable learning exists, stop after writing the synthesis report. Do not open an empty PR.

Show full SKILL.md (337 more words)Show less
5. Apply skill updates carefully

When updating a skill:

  1. Read the current skill file completely.
  2. Make the smallest cohesive edit that captures the learning.
  3. Prefer adding or tightening guidance over rewriting large sections.
  4. Keep the existing structure, severity labels, JSON contract, and safety rules intact.
  5. Write guidance as durable rules or examples, not as a diary of today's PRs.
  6. If creating review-pr-local, make it a companion that specializes overridable review guidance only. Explicitly state that it must not change the core output schema or contracts.

Validate that the resulting skill still clearly instructs the agent to:

  • write only review.json
  • avoid posting to GitHub directly
  • keep suggestion blocks valid
  • validate hypothesized fixes before recommending them when practical
6. Open a skill-improvement PR when there are changes

If you updated any skill file:

  1. Create a branch such as improve/review-pr-YYYY-MM-DD
  2. Commit only the skill updates and any tiny supporting docs needed to explain them
  3. Include Co-Authored-By: Oz <oz-agent@warp.dev> in the commit message
  4. Push and open a PR against the repository default branch
  5. In the PR body, include:
    • Summary of the human-feedback patterns observed
    • Exact learnings encoded
    • Why each learning is durable
    • Links to representative source PRs/comments
    • Explicit non-goals / rejected candidates
    • Note that this PR only updates review guidance, not product code

Do not merge the PR. Leave it for human review.

7. Report the result

Return a concise report with:

markdown
## Improve review-pr result
- **Window:** last N hours
- **PRs inspected:** count
- **Feedback items:** count validated / corrected / refined / ambiguous
- **Decision:** no_changes | update_review_pr | update_review_pr_local | both
- **Learnings encoded:** bullet list, or "none"
- **Skill PR:** URL or "not opened"
- **Next step:** one concrete action for humans

If a skill PR was opened, the report must include its URL.

Guardrails

  • Do not update product code, tests, or unrelated skills.
  • Do not change the review-pr JSON schema, severity labels, safety rules, evidence rules, suggestion-block constraints, or annotated-diff line contract.
  • Do not open a PR for weak, one-off, or already-encoded feedback.
  • Do not invent human feedback that is not present in the corpus.
  • Do not expose secrets, tokens, private environment variables, or internal reasoning dumps.
  • Prefer local companion guidance for repo-specific conventions; keep core review-pr portable.
  • Keep the skill update small enough for a human to review quickly.

© warpdotdev-demos, 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 (scripts) in .agents/skills/improve-review-pr of warpdotdev-demos/cloud-factory-demo.

  • SKILL.md
  • scripts/collect_review_feedback.py

Open the folder on GitHubat commit ab21d0c

Compare with similar skills

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

Improve Review PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Improve Review PR this skillwarpdotdev-demos/cloud-factory-demo334—~1.7kAutomated 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 today
    DevelopmentAuto-check passed

More from warpdotdev-demos/cloud-factory-demo

  • Review PR

    warpdotdev-demos/cloud-factory-demo

    Review a PR from local annotated-diff artifacts and write validated review.json for the workflow to publish.

    334 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Triage

    warpdotdev-demos/cloud-factory-demo

    Triage an incoming GitHub, Jira, Linear, or other issue-tracker issue against the current codebase and related open issues, then return a structured decision with exactly one…

    334 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Verify Behavior

    warpdotdev-demos/cloud-factory-demo

    Verify or reproduce visible product behavior by delegating to Oz's dedicated computer-use capability, requiring a native Oz video artifact for meaningful UI flows and durable Oz run/artifact links.

    334 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Oz Cloud Factory Demo

    warpdotdev-demos/cloud-factory-demo

    Sets up a beginner-friendly Oz cloud software factory that automatically triages new GitHub issues, specs issues labeled ready-to-spec, implements issues labeled ready-to-implement, reviews PRs, and…

    334 GitHub stars~6.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Implementation

    warpdotdev-demos/cloud-factory-demo

    Implement a fix or feature from a GitHub, Jira, Linear, or other issue-tracker issue by fetching issue context, inspecting the current codebase, making code changes, validating them, verifying…

    334 GitHub stars~3.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Spec

    warpdotdev-demos/cloud-factory-demo

    Coordinate spec-driven development for a GitHub, Jira, Linear, or other issue-tracker issue marked ready-to-spec by using write-product-spec and write-tech-spec, creating PRODUCT.md and TECH.md…

    334 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Improve Review PR

What does Improve Review PR do?

Daily outer loop that reviews human reactions to automated review-pr comments, synthesizes durable organizational knowledge, and opens a PR to update the review-pr skill when the feedback is worth…. Improve Review PR is an agent skill from warpdotdev-demos/cloud-factory-demo. Daily outer loop that reviews human reactions to automated review-pr comments, synthesizes durable organizational knowledge, and opens a PR to update the review-pr skill when the feedback is worth remembering.

When should I use Improve Review PR?

Improve Review PR fits situations like: improving code-review quality from human feedback; running a scheduled review-skill retrospective; incorporating maintainer corrections into review guidance.

How do I install Improve Review PR in Claude Code?

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

How do I install Improve Review PR in Codex?

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

Can I use Improve 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 warpdotdev-demos/cloud-factory-demo --skill improve-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/improve-review-pr, .gemini/skills/improve-review-pr, .github/skills/improve-review-pr and .opencode/skills/improve-review-pr in your project.

What does Improve Review PR need to run?

Going by SKILL.md and its folder, Improve Review PR needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Improve Review PR 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 Improve 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Improve Review PR use?

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

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

Skills that share tags, products or a category with Improve Review PR: 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 Improve Review PR?

warpdotdev-demos (a GitHub organization) maintains it in warpdotdev-demos/cloud-factory-demo, which has 334 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on August 12, 2026.

Source: warpdotdev-demos/cloud-factory-demo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.