Review and respond to GitHub PR comments. Use when analyzing PR feedback, determining which comments to address, classifying review comments by priority, or implementing fixes for code review feedback.
Resources
1Install
npx skillscat add linuxlewis/agent-skills/pr-responder Install via the SkillsCat registry.
SKILL.md
PR Responder
Analyze and respond to GitHub PR review comments efficiently.
Workflow
- Find PR - Get the PR for the current branch
- Fetch Comments - Get all review comments
- Classify - Categorize by actionability
- Present - Show recommendations to user
- Implement - Apply approved changes
- Summarize - Report what was done
Quick Start
# Get PR for current branch
gh pr view --json number,title,url,state
# Get review comments
gh api repos/{owner}/{repo}/pulls/{pr_number}/commentsComment Classification
High Priority (Must Fix)
- Bug reports or potential issues
- Security concerns
- Performance problems
- Missing error handling
- Type safety issues
- Breaking changes
Medium Priority (Should Fix)
- Code style violations
- Naming improvements
- Refactoring suggestions
- Documentation gaps
- Test coverage requests
Low Priority (Optional)
- Praise or acknowledgments ("LGTM", "Nice!")
- Questions needing verbal response only
- Already resolved conversations
- Suggestions marked as optional/nitpick
Implementation Guidelines
- Read surrounding context - Understand the code before changing
- Match existing style - Don't introduce inconsistencies
- Minimal changes - Fix only what's requested
- Verify imports - Add any needed imports
- Consider tests - Note if tests need updating
See references/github-api.md for complete API reference.