resolve-pr-comments

Solid

This skill should be used when user asks to "address PR comments", "resolve PR feedback", "handle review comments", "fix PR issues", "respond to PR review", or explicitly invokes "resolve-pr-comments".

Code & Development 822 stars 70 forks Updated 2 days ago Apache-2.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
92
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Resolve PR Comments Analyze unresolved PR review comments, fix valid concerns, and draft responses for comments that do not require code changes. When explicitly invoked with extra text, treat that text as the PR number or URL. If no PR reference is provided, infer it from the current branch. ## Process 1. **Preferred execution** - If subagents are available, use `github-dev:pr-comment-resolver` and pass the PR reference. - Otherwise follow the manual steps below. 2. **Fetch unresolved comments** - If a PR number or URL is provided, use it directly. - Otherwise auto-detect the PR from the current branch with `gh pr view --json number,headRefName`. - Fetch inline comments with `gh api repos/{owner}/{repo}/pulls/{number}/comments`. - Fetch review-level comments with `gh pr view <number> --json reviews,comments`. - Filter to unresolved or pending threads. 3. **Resolve each comment** - If the comment is valid, fix the code and search the codebase for the same problem in other locations. - Fix all matching occurrences, not just the location mentioned in the comment. - If the comment does not require a code change, draft a concise reply. - If the comment is from a bot, reply with a direct factual sentence and no pleasantries. 4. **Reply style** - Start in lowercase. - Use simple language and short sentences. - Avoid end punctuation when possible. - Be concise and polite when replying to real people. 5. **Never auto-submit** ...

Details

Author
fcakyon
Repository
fcakyon/claude-codex-settings
Created
1 years ago
Last Updated
2 days ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category