From atm
Analyze GitHub PR comments and implement suggested changes.
npx claudepluginhub aaronmaturen/claude-plugin --plugin atm# Implement PR Feedback
Analyze GitHub PR comments and implement suggested changes.
**PR URL:** $ARGUMENTS
## Steps:
1. **Parse PR Information**
- Extract owner, repo, and PR number from the provided URL
- Format: `https://github.com/{owner}/{repo}/pull/{number}`
2. **Fetch PR Details and Comments**
- `gh pr view {number} --repo {owner}/{repo} --json title,body,state,files`
- `gh api repos/{owner}/{repo}/pulls/{number}/comments` - Review comments
- `gh api repos/{owner}/{repo}/issues/{number}/comments` - Issue comments
- `gh api repos/{owner}/{repo}/pulls/{number}/rev...Analyze GitHub PR comments and implement suggested changes.
PR URL: $ARGUMENTS
Parse PR Information
https://github.com/{owner}/{repo}/pull/{number}Fetch PR Details and Comments
gh pr view {number} --repo {owner}/{repo} --json title,body,state,filesgh api repos/{owner}/{repo}/pulls/{number}/comments - Review commentsgh api repos/{owner}/{repo}/issues/{number}/comments - Issue commentsgh api repos/{owner}/{repo}/pulls/{number}/reviews - PR reviewsgh is authenticated: gh auth statusAnalyze Feedback
Categorize Feedback
Implementation Plan
User Confirmation
Create Safety Backup (Optional)
git checkout -b {branch-name}-feedback-backupgit checkout {branch-name}Execute Changes
Prepare Summary for User
## Feedback Implementation Summary
✅ Implemented:
- [Item 1]: Fixed in commit abc123
- [Item 2]: Updated in commit def456
⏭️ Skipped (with reasoning):
- [Item 3]: Not applicable because...
All requested changes have been addressed.
Final Instructions for User
git pushCommand: atm-implement-pr-feedback https://github.com/acme/project/pull/123
Output:
- Fetching PR #123 feedback...
- Found 5 actionable comments
- Creating implementation plan...
- Implementing feedback...
Add --dry-run flag to preview changes without implementing:
Command: atm-implement-pr-feedback https://github.com/acme/project/pull/123 --dry-run
gh) to be installed and authenticated