fix-prlisted
Install: claude install-skill Stormix/transcripts-mcp
# Fix PR Comments
Review all open comments on the current branch's pull request, rank them by relevance, prompt for confirmation where ambiguous, then apply fixes.
## Instructions
### 1. Gather Branch and PR Context
```bash
echo "=== BRANCH ===" && git rev-parse --abbrev-ref HEAD && echo "=== PR INFO ===" && gh pr view --json number,title,url,state,headRefName,baseRefName && echo "=== PR COMMENTS ===" && gh pr view --json comments --jq '.comments[] | {author: .author.login, body: .body, createdAt: .createdAt}' && echo "=== PR REVIEW COMMENTS ===" && gh pr view --json reviews --jq '.reviews[] | {author: .author.login, body: .body, state: .state, submittedAt: .submittedAt}' && echo "=== PR DIFF COMMENTS ===" && gh api "repos/{owner}/{repo}/pulls/$(gh pr view --json number --jq '.number')/comments" --jq '.[] | {author: .user.login, body: .body, path: .path, line: .line, diff_hunk: .diff_hunk, created_at: .created_at}'
```
### 2. Rank Comments by Relevance
Analyze all gathered comments and categorize them:
**Priority tiers:**
- **P1 - Must fix**: Bug reports, broken functionality, security issues, failing tests, incorrect logic
- **P2 - Should fix**: Code style violations against project conventions, missing error handling, performance concerns, unclear naming
- **P3 - Consider**: Nitpicks, optional suggestions, cosmetic preferences, subjective style opinions
**Display a ranked list** grouped by priority:
```
P1 (Must Fix):
[1] <file>:<line> — <author>: "<comment body