.agents/skills/github-pr-comments/SKILL.md
Analyze and manage GitHub pull request comments with automated categorization, severity assessment, and intelligent response handling. Use when working with PR comments to understand feedback patterns, prioritize issues, or automatically address reviewer concerns. Leverages GitHub MCP Server, GitHub CLI (gh), or GitHub REST API in order of precedence.
npx skillsauth add prulloac/git-blame-vsc github-pr-commentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables systematic analysis and management of GitHub pull request comments. It categorizes comments by type (Security, Code Changes, Documentation, Clarifications, Bugs & Code Smells, Other), assigns severity levels (Critical, High, Medium, Info), and helps automate responses and fixes based on user preferences.
Follow these steps when handling PR comment analysis and management:
Use available tools in order of precedence:
gh): Use gh pr view <pr-number> --json comments or gh api repos/{owner}/{repo}/pulls/{pr-number}/commentscurl with GitHub API endpointsRetrieve all comments including:
For each comment, determine:
Category (one of six types):
Severity (one of four levels):
Refer to references/examples.md for detailed categorization guidelines and sample comments.
Show the user a comprehensive summary using one or more formats:
Format Option A - Severity Distribution:
| Category | Critical | High | Medium | Info | Total |
|-----------------------|----------|------|--------|------|-------|
| Security | 1 | 2 | 1 | 0 | 4 |
| Code Changes | 0 | 1 | 3 | 2 | 6 |
| Documentation | 0 | 1 | 2 | 1 | 4 |
| Clarifications | 0 | 0 | 2 | 5 | 7 |
| Bugs & Code Smells | 1 | 3 | 2 | 0 | 6 |
| Other | 0 | 0 | 0 | 3 | 3 |
Format Option B - Grouped by Severity: List comments grouped by severity level (Critical → High → Medium → Info), showing category and brief description for each.
Format Option C - Action Required: Summarize what must be fixed, what should be fixed, and what's optional.
Choose the format(s) that best fit the number and distribution of comments.
Present clear options for handling comments:
How would you like to proceed with these comments?
1. 🤖 Auto-fix: Which comments should I attempt to fix automatically?
2. ✋ Won't Fix: Which comments should be marked as "won't fix"?
3. 👤 Manual: Which comments will you handle manually?
You can specify by:
- Comment numbers: "Auto-fix comments 1, 3, 5"
- Categories: "Auto-fix all Security and Bugs"
- Severity: "Auto-fix all Critical and High"
- Combinations: "Auto-fix all Critical Security and Bugs"
Wait for user response before proceeding to implementation.
For each comment marked for auto-fix:
Before making changes:
Implement the fix:
After successful fix:
If unable to auto-fix:
For "won't fix" comments:
After processing all auto-fix comments, show the user:
Summary Report
═══════════════════════════════════════════════════════════════
✅ Auto-fixed (X comments):
• [List of successfully fixed comments with commit hashes]
⚠️ Unable to auto-fix (Y comments):
• [List with reasons]
✋ Marked as won't fix (Z comments):
• [List with posted explanations]
👤 Left for manual handling (W comments):
• [List of comments user will handle]
Tool Selection:
gh CLI if MCP unavailableCategorization Guidelines:
Auto-Fix Limitations:
GitHub Posting:
@usernameexamples.md: Comprehensive examples including:
Read this file to understand how to categorize comments and format outputs effectively.
tools
Guide for creating Visual Studio Code extensions/plugins. Use when users want to build VS Code extensions, add functionality to VS Code, create language support, add themes, build webviews, implement debuggers, or any VS Code plugin development task. Helps navigate VS Code Extension API documentation and provides guidance on extension capabilities, project setup, and best practices.
development
Validate agent system prompts (such as agents.md) for being objective-driven, clear, readable, free of duplicated intentions, without missing or broken links, and ensuring required sections like general agentic guidelines, code review, and code generation are present. Use when validating or reviewing agent prompt files.
testing
Validate agent skills for correctness, readability, workflow clarity, and isolation, ensuring they can be installed independently without dependencies on other skills.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.