Review pr comments

From Hey-Diga/dotclaude · View interactive version

Review pr comments is an AI agent skill from the GitHub repository Hey-Diga/dotclaude. Review and apply Claude's PR feedback interactively. Use after receiving a Claude Code review on a PR to triage and implement feedback.

How to use this skill

Skill file

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

2. Get last changes and move to branch

git checkout main
git pull --rebase
git checkout PULL_REQUEST_BRANCH_NAME

3. Present Feedback Summary

Display the review feedback in a structured format:

4. Interactive Discussion Framework

For each feedback item, ask me:

5. Decision Tracking

Keep track of:

6. Implementation Planning

For accepted feedback:

7. Document Decisions in PR

Write a summary comment in the PR that includes:

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

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
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.