Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

fix-issues

verified

Automatically read GitHub pull request review comments and apply fixes to address feedback. Use this skill when the user asks to review and fix PR comments, address PR feedback, or resolve review suggestions. Triggers include phrases like "fix PR comments", "address PR feedback", "review PR #123 and fix comments", or "resolve review feedback". Handles code quality issues, bug fixes, logic improvements, and all types of review suggestions.

View on GitHub

Marketplace

stilero-tools

stilero/claude-plugins

Plugin

pr-comment-fixer

Repository

stilero/claude-plugins

plugins/pr-comment-fixer/skills/fix-issues/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/stilero/claude-plugins/blob/main/plugins/pr-comment-fixer/skills/fix-issues/SKILL.md -a claude-code --skill fix-issues

Installation paths:

Claude
.claude/skills/fix-issues/
Powered by add-skill CLI

Instructions

# PR Comment Fixer

Automatically processes GitHub pull request review comments and applies code fixes to address reviewer feedback.

## Workflow

Follow this workflow when the user requests PR comment fixes:

### 1. Extract PR Information

Parse the PR number from the user's request. Accept formats like:
- "PR #1234"
- "pull request 1234"
- "#1234"
- Just the number "1234"

### 2. Fetch PR Details

Use GitHub CLI to get PR information:

```bash
gh pr view <PR_NUMBER> --json number,title,headRefName,repository
```

Extract:
- `headRefName`: The PR branch name
- `repository`: Owner and repo name

### 3. Ensure Repository Access

Check if running locally or remotely:

```bash
git rev-parse --git-dir 2>/dev/null
```

If this fails (not in a git repository):
- Clone the repository: `gh repo clone <OWNER>/<REPO>`
- Change to repository directory

If successful (already in repository):
- Verify it's the correct repository
- Continue with existing local clone

### 4. Checkout PR Branch

Switch to the PR branch:

```bash
git fetch origin
git checkout <BRANCH_NAME>
git pull origin <BRANCH_NAME>
```

### 5. Fetch All PR Comments

Retrieve review comments using GitHub CLI:

```bash
gh pr view <PR_NUMBER> --json reviews,comments --jq '.reviews[].comments[], .comments[]'
```

Parse the JSON output to extract:
- Comment body/text
- File path (if applicable)
- Line number or diff position
- Author
- Whether it's resolved or pending

### 6. Evaluate Comment Relevance

For each comment, determine if it's actionable:

**Actionable comments** (should be fixed):
- Requests for code changes (naming, formatting, refactoring)
- Bug reports or logic errors
- Suggestions for improvements
- Security or performance concerns
- Missing error handling
- Code quality issues

**Non-actionable comments** (skip):
- General discussion or questions already answered
- Comments marked as resolved
- Informational comments with no change request
- Compliments or approvals

When in doubt, err on the side o

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
4022 chars