agentleFS
rockdairockdai/agent-scripts/skills/pr-feedback/SKILL.md

pr-feedback

Skill0 starsChanged 7 months agoUnlicenseView on GitHub

Use when the dev (PR author) must process review feedback, including project aliases like "pr N", qa callbacks, human comments, bot findings, threaded review comments, Fixed/Won't fix replies, follow-up issues, or recheck requests.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-create and commit.

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.
  • MinFEdevSkill

    pr-create

    GitHub PR 생성 및 문서 자동 작성 스킬. 브랜치의 모든 커밋과 변경사항을 분석하여 체계적인 PR 문서를 생성하고 GitHub에 PR을 올림. 사용 시점: PR 올려줘, PR 생성해줘, PR 만들어줘 요청 시.

    Also in 5 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 14 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 14

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Treat the pull request as the only durable source of review feedback.

    line 10
  2. Distinctive:

    Read the consuming repository's agent instructions first.

    line 14
  3. Distinctive:

    Do not rely on another agent's chat transcript or tmux pane output.

    line 23
  4. Distinctive:

    Do not batch-dismiss findings because another reviewer said the same thing.

    line 56
  5. Distinctive:

    If it is correct and in scope, fix it.

    line 62
  6. Distinctive:

    Keep the change focused. Add or update tests for the behavior.

    line 64
  7. Distinctive:

    If it is incorrect or not appropriate for this PR, reply with a reason.

    line 66
  8. Distinctive:

    If it is real but out of scope, create a follow-up issue first.

    line 76
  9. Distinctive:

    If it is already fixed by current head, verify that in the code and tests before replying.

    line 80
  10. Distinctive:

    Use the review platform's threaded reply for inline review comments when possible.

    line 94
  11. Distinctive:

    Never announce "fixed", "done", or "complete" before code changes are committed and pushed to the PR branch.

    line 96
  12. Distinctive:

    After all replies and commits are visible on the PR, follow the consuming repository's notification rule.

    line 100
  13. Very specific:

    If the project uses tmux for agent notification, use the tmux-send skill and the project-local routing table.

    line 106
  14. Distinctive:

    Stop and report current state to the human when:

    line 110
  15. Distinctive:

    When stopping, summarize the PR decision, unresolved items if any, and the exact next action.

    line 117

“Common” is measured: kept by at least 6 in 10 of the 14 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 Feedback

Overview

Treat the pull request as the only durable source of review feedback. Fetch every review, inline comment, and conversation comment; judge each actionable item independently; then either fix it, decline it with a reason, or move out-of-scope work into a tracked issue.

Before You Start

Read the consuming repository's agent instructions first. In particular, find:

  • Required PR feedback format.
  • Required test and push rules.
  • How to identify already-addressed comments.
  • Whether out-of-scope feedback must become an issue.
  • How to notify the qa agent after replies or new commits.
  • The transport skill or script used for notification, if any.

Do not rely on another agent's chat transcript or tmux pane output. If the feedback is not in the PR, ask that it be written there before treating it as official review input.

Project-specific trigger aliases such as pr N are compatibility shims. The reusable concept is "process PR feedback"; do not require other projects to adopt the same alias names.

Fetch Feedback

Tool selection. Prefer the local gh CLI for all GitHub interactions; it is the lowest-friction, best-authenticated path on most workstations. Fall back to a GitHub MCP server or connector tool only when gh is missing, unauthenticated, or the required call has no gh equivalent. Do not start with a connector when gh would work.

For GitHub, collect all three surfaces:

gh api --paginate repos/OWNER/REPO/pulls/N/reviews
gh api --paginate repos/OWNER/REPO/pulls/N/comments
gh api --paginate repos/OWNER/REPO/issues/N/comments

Also fetch PR metadata and current head:

gh pr view N --json title,body,headRefName,headRefOid,baseRefName,reviewDecision,url

The required result is full PR metadata plus every review body, inline review comment, and top-level conversation comment.

Classify Items

Build a working list of every actionable item. Include comments from humans, review agents, and review bots. For each item, record:

  • Author and comment URL or ID.
  • File and line, when available.
  • Current status: unresolved, already fixed, invalid, duplicate, or out of scope.
  • The evidence you used to decide.

Do not batch-dismiss findings because another reviewer said the same thing. Confirm each one against the code and tests.

Decide and Act

For each actionable item:

  1. If it is correct and in scope, fix it.

    Keep the change focused. Add or update tests for the behavior. Run the relevant local tests. Commit and push before claiming the fix is done.

  2. If it is incorrect or not appropriate for this PR, reply with a reason.

    The first line must be:

    Won't fix

    Then explain the concrete evidence. Do not use vague phrases such as "not needed" without backing.

  3. If it is real but out of scope, create a follow-up issue first.

    Include enough context for a future agent to reproduce the concern, then reply to the review item with the issue link and why it is being split out.

  4. If it is already fixed by current head, verify that in the code and tests before replying.

    The first line must be:

    Fixed

    Include the commit SHA when a code change was pushed for that item.

Reply Rules

Reply to every actionable item. Do not silently ignore duplicates; say they are duplicates and link or reference the primary response.

Use the review platform's threaded reply for inline review comments when possible. Use a top-level PR comment only when the platform has no threaded reply surface for that item.

Never announce "fixed", "done", or "complete" before code changes are committed and pushed to the PR branch.

Recheck Notification

After all replies and commits are visible on the PR, follow the consuming repository's notification rule. Common patterns include:

  • Dispatching recheck N to the qa agent.
  • Requesting another review from a human or bot.
  • Leaving the PR ready for manual merge.

If the project uses tmux for agent notification, use the tmux-send skill and the project-local routing table. Do not hardcode hostnames or session names in this skill.

Stop Conditions

Stop and report current state to the human when:

  • The PR is approved and no actionable findings remain.
  • The remaining findings have all been answered with Won't fix.
  • The project-defined maximum review loop count is reached.
  • A new human instruction changes the task.

When stopping, summarize the PR decision, unresolved items if any, and the exact next action.

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.