Analyze GitHub PR comments and implement suggested changes.
Analyzes GitHub PR comments and implements suggested changes locally. Use this to automatically apply feedback from code reviews, with a dry-run mode to preview changes before committing.
/plugin marketplace add aaronmaturen/claude-plugin/plugin install atm@aaronmaturen-pluginsAnalyze 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