agentleFS
strands-agentsstrands-agents/harness-sdk/.agents/skills/pr-feedback/SKILL.md

pr-feedback

Skill8.7k starsChanged 2 months agoApache-2.0View on GitHub

Fetches PR review feedback and inline comments, categorizes them, and presents options to the user. Use when the user asks to get, read, address, or fix review comments on a pull request.

9 other projects use a version of this.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 5 mentionsJul 2026: 3 mentionsAug 2026: 8 mentionsSep 2026: 23 mentionsOct 2026: 12 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the strands-agents/harness-sdk repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about strands-agents/harness-sdk

The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 51

Talked about on GitHub and Bluesky (51 times).

On GitHub · 47

42 more on GitHub

Used with

Projects with it also use pr-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AWSSkill

    pr-review

    AWS CDK CLI general PR reviewer. Use when reviewing any pull request to aws/aws-cdk-cli — the CLI (packages/aws-cdk), toolkit-lib, cloud-assembly-schema, cdk-assets, cloudformation-diff, integ-runner, or the projen/monorepo config. Precision-first: flags only concrete defects the PR introduces, across compatibility, architecture, error handling, testing, correctness, and PR scope.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If that fails (detached HEAD, no tracking branch), ask the user for the PR number or URL.

    line 20
  2. Distinctive:

    Use the bundled script to fetch reviews, inline comments, and issue-level comments in one shot:

    line 24
  3. Very specific:

    Use --repo when the PR is in a different repo than the current directory.

    line 31
  4. Distinctive:

    Read all the feedback, use your judgment to group related items, and present a numbered list of things to address.

    line 40
  5. Distinctive:

    Use upvotes, downvotes, and the PR author's own replies to determine priority:

    line 42
  6. Distinctive:

    When presenting the list, annotate items you recommend fixing (based on the signals above) so the user can quickly confirm "all …

    line 51
  7. Distinctive:

    Always auto-detect the PR number before asking the user.

    line 59
  8. Distinctive:

    Never fix anything before presenting the list and getting user confirmation.

    line 60
  9. Distinctive:

    If the output is too large to parse in one shot, focus on non-outdated comments first.

    line 61

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PR Review Feedback

Fetch PR review feedback and inline comments, categorize them, and present options to fix.

Process

1. Determine the PR Number

Auto-detect from the current branch:

gh pr view --json number -q .number

If that fails (detached HEAD, no tracking branch), ask the user for the PR number or URL.

2. Fetch All Feedback

Use the bundled script to fetch reviews, inline comments, and issue-level comments in one shot:

bash .agents/skills/pr-feedback/fetch-pr-feedback.sh <number> [--repo owner/repo]
  • Omit <number> to auto-detect from the current branch.
  • Use --repo when the PR is in a different repo than the current directory.

The script returns JSON with three arrays:

  • reviews — top-level review summaries (non-empty bodies only)
  • inline_comments — unresolved thread comments with upvotes/downvotes arrays (usernames who reacted), outdated flag, and diffHunk on the first comment in each thread
  • comments — issue-level comments

3. Summarize and Present to the User

Read all the feedback, use your judgment to group related items, and present a numbered list of things to address. Keep each item to one line. Put the most impactful items first.

Use upvotes, downvotes, and the PR author's own replies to determine priority:

  • Upvoted by the PR author: This signals agreement — recommend fixing it.
  • Author replied agreeing (e.g. "good point", "I'll fix", "makes sense"): Same as an upvote — recommend fixing it.
  • Upvoted by other reviewers (not the author): Signals community agreement the issue matters — lean toward recommending.
  • No signal from the author: Present as a suggestion but don't assume it should be fixed.
  • Author replied disagreeing or explaining: Present for context but mark as "discussed — likely skip".
  • Outdated comments: Group separately at the end — these may have been addressed by subsequent pushes.

When presenting the list, annotate items you recommend fixing (based on the signals above) so the user can quickly confirm "all recommended" or cherry-pick.

4. Fix What the User Selects

Address only the confirmed items. After fixing, briefly note what changed — one line per item.

Rules

  • Always auto-detect the PR number before asking the user.
  • Never fix anything before presenting the list and getting user confirmation.
  • If the output is too large to parse in one shot, focus on non-outdated comments first.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.