agentleFS
Hey-DigaHey-Diga/dotclaude/skills/review-pr-comments/SKILL.md

review-pr-comments

Skill17 starsChanged 9 months agoMITView on GitHub

Review and apply Claude's PR feedback interactively. Use after receiving a Claude Code review on a PR to triage and implement feedback.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. fritzprix/libr-agent★ 11same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository12 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    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. Very specific:

    Do you agree with this feedback?

    line 42
  2. Distinctive:

    Write a summary comment in the PR that includes:

    line 62
  3. Distinctive:

    Consider the PR's context (feature branch, hotfix, etc.)

    line 113
  4. Distinctive:

    Create action plan for accepted changes

    line 121
  5. Distinctive:

    Write summary comment in PR documenting all decisions

    line 123
  6. Distinctive:

    Update PR based on decisions

    line 124

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

GitHub PR Workflow for PR #$ARGUMENT$

Primary Task

Retrieve the latest Claude review comment from the specified pull request and initiate an interactive conversation to help me decide which feedback items to apply.

Step-by-Step Instructions

1. Get PR Review Information

  • Fetch the latest Claude review comment from the specified PR
  • Parse and organize the feedback items clearly
  • Identify the scope and nature of each suggestion

2. Get last changes and move to branch

  • Go to main branch and fetch the latest changes.
git checkout main
git pull --rebase
  • Checkout to the pull request branch.
git checkout PULL_REQUEST_BRANCH_NAME

3. Present Feedback Summary

Display the review feedback in a structured format:

  • Critical Issues: Security, bugs, or breaking changes
  • Code Quality: Performance, maintainability, best practices
  • Style/Convention: Formatting, naming, documentation
  • Suggestions: Nice-to-have improvements or alternatives

4. Interactive Discussion Framework

For each feedback item, ask me:

  • Do you agree with this feedback? (Yes/No/Partially)
  • What's your reasoning for applying or not applying it?
  • Are there any constraints or context I should consider?
  • Would you like me to help implement this change?

5. Decision Tracking

Keep track of:

  • ✅ Feedback to implement
  • ❌ Feedback to skip (with reasoning)
  • ⚠️ Feedback that needs clarification
  • 🔄 Feedback requiring further discussion

6. Implementation Planning

For accepted feedback:

  • Prioritize changes by impact and effort
  • Identify dependencies between changes
  • Suggest implementation order
  • Offer to help with code modifications

7. Document Decisions in PR

Write a summary comment in the PR that includes:

  • Overview of review feedback received
  • Decision rationale for each feedback item
  • List of changes that will be implemented
  • List of feedback items declined (with reasons)
  • Timeline or next steps for implementation

GitHub CLI Commands Reference

Viewing PR Reviews

# List all reviews for a PR
gh pr review list $ARGUMENT$

# View specific review details
gh pr view $ARGUMENT$ --comments

# Get PR review comments in JSON format
gh api repos/:owner/:repo/pulls/[PR_NUMBER]/reviews

Commenting on PRs

# Add a general comment to PR
gh pr comment $ARGUMENT$ --body "Your comment text"

# Add a comment from a file
gh pr comment $ARGUMENT$ --body-file comment.md

# Reply to a specific review thread
gh api repos/:owner/:repo/pulls/[PR_NUMBER]/reviews/[REVIEW_ID]/replies \
  --method POST \
  --field body="Reply text"

Getting PR Information

# View PR details
gh pr view $ARGUMENT$

# Get PR status and checks
gh pr status

# List all PRs
gh pr list

# Get PR diff
gh pr diff $ARGUMENT$

Additional Considerations

  • Consider the PR's context (feature branch, hotfix, etc.)
  • Respect team conventions and existing patterns
  • Balance code quality with practical constraints

Expected Workflow

  1. Fetch and analyze the Claude review
  2. Present organized feedback summary
  3. Discuss each item interactively
  4. Create action plan for accepted changes
  5. Offer implementation assistance
  6. Write summary comment in PR documenting all decisions
  7. Update PR based on decisions

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.