gh-address-comments
Installation
SKILL.md
GitHub PR Comment Handler
Use this skill when the user wants to work through requested changes on a GitHub pull request. Treat thread-aware review data as a gh api graphql problem: the connector comment surface is flat and does not preserve full review-thread state, stable thread IDs, or inline locations.
Run all gh commands with elevated network access. If CLI auth is required, check gh auth status first and ask the user to authenticate with gh auth login if it fails.
Workflow
1. Resolve the PR
- If the user provides a repository and PR number or URL, use that directly.
- If the request is about the current branch PR, use local git context plus
gh pr view --json number,url,headRepositoryOwner,headRepositoryto resolve it. - Confirm the repository, PR number, and current head before making changes.