address-github-comments
Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
name:address-github-commentsdescription:Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
Address GitHub Comments
Overview
Efficiently address PR review comments or issue feedback using the GitHub CLI (gh). This skill ensures all feedback is addressed systematically.
Prerequisites
Ensure gh is authenticated.
gh auth statusIf not logged in, run gh auth login.
Workflow
1. Inspect Comments
Fetch the comments for the current branch's PR.
gh pr view --commentsOr use a custom script if available to list threads.
2. Categorize and Plan
3. Apply Fixes
Apply the code changes for the selected comments.
4. Respond to Comments
Once fixed, respond to the threads as resolved.
gh pr comment <PR_NUMBER> --body "Addressed in latest commit."Common Mistakes
gh auth status before starting.