Fix PR Comments
Description
Fetch unresolved comments from this branch's pull request and address them systematically.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
Repository README
This is the README for Weaverse/.agents, shared by 7 entries
in this directory. It describes the repository, not this entry specifically.
description: Fetch and resolve unresolved PR comments
Fix PR Comments
Fetch unresolved comments from this branch's pull request and address them systematically.
Process
**Fetch PR Information**
# Get PR number for current branch gh pr view --json number,url,title,reviews,comments**List Unresolved Comments**
- Use
gh pr view --commentsto see all comments - Filter for unresolved/pending comments
- Identify line-specific code review comments
- Use
**Address Each Comment** For each unresolved comment:
- Read the relevant file and context
- Understand the reviewer's concern
- Implement the requested fix
- Add a reply comment confirming the fix
**Verify Changes**
- Run formatters and linters
- Ensure tests still pass
- Commit changes with reference to comment
**Update PR**
git push origin HEAD gh pr comment --body "Addressed review comments"
Output Format
For each comment addressed:
✓ Comment #X (file:line): [brief description]
- Issue: [what was requested]
- Fix: [what was changed]
- Files: [list of modified files]
Error Handling
- If no PR exists for current branch, inform user
- If gh CLI not installed, suggest installation
- If unable to fetch comments, show error and suggest manual check
Related Skills
使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git mcp-server-github
GitHub API integration for repos, issues, PRs.
Git