Agent skill

PR Feedback

by woocommerce in woocommerce/woocommerce-android

Address PR reviewer feedback by evaluating comments, proposing fixes, and executing after user approval.

GPL-2.0Auto-check: notesDevelopment

Install PR Feedback

skills CLI
$ npx skills add woocommerce/woocommerce-android --skill pr-feedback -a claude-code

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

GitHub CLI
$ gh skill install woocommerce/woocommerce-android pr-feedback --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/woocommerce/woocommerce-android.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pr-feedback .claude/skills/pr-feedback && 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
pr-feedback
GitHub stars
319
Token cost
~1.3k tokens
SKILL.md length
414 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
GPL-2.0

At a glance

Address PR reviewer feedback by evaluating comments, proposing fixes, and executing after user approval.

  • Works in 9 steps: Ask About Device Verification → Resolve PR and Ensure Local Branch → Fetch Review Comments → …
  • The user wants to handle review comments on an existing PR
  • SKILL.md covers Workflow, Reply Style and Edge Cases
  • Calls gh and git

What it does

PR Feedback is an agent skill from woocommerce/woocommerce-android. Address PR reviewer feedback by evaluating comments, proposing fixes, and executing after user approval. Use when the user wants to handle review comments on an existing PR, address PR feedback, fix PR comments, respond to reviewer suggestions, or process code review feedback. Triggers on "address PR feedback", "handle review comments", "fix PR comments", "respond to PR review", "process reviewer feedback", or when given a PR number/URL with intent to address its comments.

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 Pull requests. It works with WooCommerce. The repository describes itself as: WooCommerce Android app. The licence is GPL-2.0.

When your agent uses it

  • The user wants to handle review comments on an existing PR
  • Address PR feedback
  • Fix PR comments
  • Respond to reviewer suggestions

Example prompts

  • “address PR feedback”
  • “handle review comments”
  • “fix PR comments”
  • “/pr-feedback”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Grep, Glob, Edit, Write

Workflow steps

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

  1. Ask About Device Verification
  2. Resolve PR and Ensure Local Branch
  3. Fetch Review Comments
  4. Filter
  5. Read Code and Evaluate
  6. Present Plan
  7. Confirm
  8. Execute
  9. Push and Finish

What it can do on your machine

Read from SKILL.md and the folder at commit 0fb14b0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Grep
    • Glob
    • Edit
    • Write

    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

PR Feedback loads about 1.3k tokens when it runs. Until then it costs about 122 tokens; SKILL.md has 414 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~122
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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Grep, Glob, Edit, Write

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 woocommerce/woocommerce-android at commit 0fb14b0, republished under its GPL-2.0 licence (© woocommerce). 414 words, ~1,318 tokens.

Download SKILL.mdSave it as .claude/skills/pr-feedback/SKILL.md (or your agent's skills folder).
name
pr-feedback
description
Address PR reviewer feedback by evaluating comments, proposing fixes, and executing after user approval. Use when the user wants to handle review comments on an existing PR, address PR feedback, fix PR comments, respond to reviewer suggestions, or process code review feedback. Triggers on "address PR feedback", "handle review comments", "fix PR comments", "respond to PR review", "process reviewer feedback", or when given a PR number/URL with intent to address its comments.
allowed-tools
Bash, Read, Grep, Glob, Edit, Write
user-invocable
true

Address PR Feedback

Fetch reviewer comments from a PR, evaluate each, present a plan, and after approval make fixes (one commit per comment) and post replies.

Input: PR number, URL, or omit to auto-detect from the current branch.

Workflow

0. Ask About Device Verification

Ask: "Would you like to verify the app on device after applying fixes?" Store the answer for later.

1. Resolve PR and Ensure Local Branch
bash
# Get PR metadata (use number if provided, otherwise detect from branch)
gh pr view [NUMBER] --json number,title,author,headRefName,baseRefName,url
gh repo view --json owner,name

Check out the head branch and pull latest if not already on it.

2. Fetch Review Comments

Use GraphQL for inline comment threads (required for isResolved status):

bash
gh api graphql -f query='
  query($owner:String!, $repo:String!, $number:Int!) {
    repository(owner:$owner, name:$repo) {
      pullRequest(number:$number) {
        author { login }
        reviewThreads(first:100) {
          nodes {
            isResolved
            isOutdated
            path
            line
            comments(first:50) {
              nodes { id databaseId author { login } body url path line originalLine diffHunk createdAt }
            }
          }
        }
      }
    }
  }
' -F owner='OWNER' -F repo='REPO' -F number=NUMBER

Also fetch review-level body comments and general PR comments via REST:

bash
gh api 'repos/OWNER/REPO/pulls/NUMBER/reviews' --jq '.[] | select(.body != "" and .body != null)'
gh api 'repos/OWNER/REPO/issues/NUMBER/comments' --paginate
3. Filter

Skip these:

  • Resolved threads (isResolved == true)
  • Bots (login contains [bot] or matches wpmobilebot, codecov-commenter, dependabot, github-actions)
  • PR author's own comments
  • Empty bodies
  • Pure approvals (state APPROVED with only praise like "LGTM")

For threaded comments, evaluate the root comment. Use replies as context only.

If nothing remains, report "No actionable reviewer feedback found." and stop.

4. Read Code and Evaluate

For each comment:

  1. Read the file at path around the referenced line (use originalLine + diffHunk for outdated comments)
  2. Evaluate against project conventions (AGENTS.md) and code quality
  3. Assign an action:
    • FIX — feedback is valid; draft the code change
    • REPLY — disagree or no code change needed; draft a 1-2 sentence reply
    • SKIP — already addressed or not actionable
5. Present Plan
## PR Feedback Plan — #<number>: <title>

N comment(s) to address.

---

### 1 of N
**Reviewer:** @username | **File:** `path/File.kt:42`
**Link:** <url>
> Original comment text

**Action:** FIX — Description of proposed change

Repeat for each comment. Omit File: for general comments. End with:

**Summary:** Fixing X. Replying to Y. Skipping Z.
6. Confirm

Wait for user to say "go" or request changes:

  • "skip 2" / "change 3 to reply: text" / "change 1 to fix: description"
  • Re-present if modified
Show full SKILL.md (158 more words)Show less
7. Execute

For each FIX (one commit per comment):

  1. Make the change (prefer Edit over Write)
  2. git add <specific-file> — never git add -A
  3. git commit -m "<concise description>" (under 100 chars, no Co-Authored-By, no AI mentions)
  4. Reply to the comment:
    bash
    gh api --method POST 'repos/OWNER/REPO/pulls/NUMBER/comments/COMMENT_DB_ID/replies' \
      -f body='Fixed in <short-hash>'

For each REPLY:

bash
# Inline comments
gh api --method POST 'repos/OWNER/REPO/pulls/NUMBER/comments/COMMENT_DB_ID/replies' -f body='TEXT'
# General comments
gh api --method POST 'repos/OWNER/REPO/issues/NUMBER/comments' -f body='TEXT'

Process fixes in file order to minimize conflicts.

8. Push and Finish
bash
git push

If user opted for device verification in step 0, invoke the verify-on-device skill.

Print summary:

## Done

**Fixes:** X commits pushed to `branch-name`
- `hash` commit message

**Replies:** Y posted
**Skipped:** Z comments

Reply Style

  • Fixes: Fixed in abc1234 — nothing more
  • Disagreements: 1-2 direct sentences, no AI/automation mentions

Edge Cases

  • Outdated comments (line is null): use originalLine + diffHunk to locate current code; flag if significantly changed
  • Deleted files: suggest REPLY explaining the file was removed
  • Already-replied threads: SKIP if author replied and reviewer didn't follow up
  • General review comments: include as REPLY-only items
  • >15 comments: suggest batching
  • Conflicting comments on same lines: group by file, flag conflicts

© woocommerce, 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 .agents/skills/pr-feedback of woocommerce/woocommerce-android.

Open the folder on GitHubat commit 0fb14b0

Compare with similar skills

PR Feedback 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.

PR Feedback compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Feedback this skillwoocommerce/woocommerce-android319—~1.3kAutomated safety check: NotesGPL-2.0
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
WooCommerce Draft PR Creatorwoocommerce/woocommerce11k—~1.1kAutomated safety check: PassCustom licence
Create PRAutomattic/woocommerce-services112—~2.7kAutomated safety check: PassGPL-2.0
PRwoocommerce/woocommerce-ios358—~887Automated safety check: NotesGPL-2.0
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT

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
  • WooCommerce Draft PR Creator

    woocommerce/woocommerce

    Opens a concise draft pull request for the current branch, working out change type, base branch, title and body from the commits and diff.

    11k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Create PR

    Automattic/woocommerce-services

    Generate PR description using repository's PR template and current branch changes, copy to clipboard

    112 GitHub stars~2.7k tokensUpdated today
    DevelopmentAuto-check passed
  • PR

    woocommerce/woocommerce-ios

    Create a pull request following WooCommerce iOS conventions. An agent skill from woocommerce/woocommerce-ios.

    358 GitHub stars~887 tokensUpdated today
    DevelopmentAuto-check: notes
  • 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.

    296k 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

More from woocommerce/woocommerce-android

All 8 skills in this repo
  • PR

    woocommerce/woocommerce-android

    Create a pull request following project conventions. An agent skill from woocommerce/woocommerce-android.

    319 GitHub stars~1.3k tokensUpdated today
    Auto-check: notes
  • UI Review

    woocommerce/woocommerce-android

    Generate screenshot coverage for screen-level Compose previews from the current diff or a specific target, check required visual and data variations, and produce a compact visual report

    319 GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Review

    woocommerce/woocommerce-android

    Review code changes against project architecture, style, and conventions

    319 GitHub stars~600 tokensUpdated today
    Auto-check: notes
  • Verify On Device

    woocommerce/woocommerce-android

    Build, install, and visually verify the app on an Android emulator or device.

    319 GitHub stars~10k tokensUpdated today
    Auto-check: notes
  • Woo AI Smoke

    woocommerce/woocommerce-android

    Run the Android AI Assistant headless smoke regression harness without launching UI.

    319 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Pos Tests

    woocommerce/woocommerce-android

    POS unit testing patterns (WooPosCoroutineTestRule, runTest, advanceUntilIdle, mockito-kotlin, event bus mocking, analytics verification).

    319 GitHub stars~216 tokensUpdated today
    Auto-check: notes

Works with

Categories

Questions about PR Feedback

What does PR Feedback do?

Address PR reviewer feedback by evaluating comments, proposing fixes, and executing after user approval. PR Feedback is an agent skill from woocommerce/woocommerce-android. Address PR reviewer feedback by evaluating comments, proposing fixes, and executing after user approval.

When should I use PR Feedback?

PR Feedback fits situations like: the user wants to handle review comments on an existing PR; address PR feedback; fix PR comments; respond to reviewer suggestions.

How do I install PR Feedback in Claude Code?

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

How do I install PR Feedback in Codex?

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

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

What does PR Feedback need to run?

Going by SKILL.md and its folder, PR Feedback needs the command-line tools its instructions call (gh and git). Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Edit, Write.

Does PR Feedback 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 PR Feedback safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does PR Feedback use?

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

About 1.3k tokens (SKILL.md is roughly 5.3k 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 PR Feedback?

Skills that share tags, products or a category with PR Feedback: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), WooCommerce Draft PR Creator (woocommerce/woocommerce, 11k stars), Create PR (Automattic/woocommerce-services, 112 stars) and PR (woocommerce/woocommerce-ios, 358 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Feedback?

woocommerce (a GitHub organization) maintains it in woocommerce/woocommerce-android, which has 319 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.

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