address-github-comments

Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.

Author

Install

Hot:45

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-address-github-comments&locale=en&source=copy

Address GitHub Comments

Skill Overview


Use the GitHub CLI (gh) to efficiently handle Pull Request review comments and Issue feedback, ensuring every remark receives a systematic response.

Applicable Scenarios

  • Handling PR code review comments

  • When your Pull Request receives multiple comments from reviewers, you can use the gh CLI to bulk fetch all review threads, analyze them one by one, and after applying fixes reply collectively.

  • Managing Issue discussion feedback

  • In Issue discussions where you need to respond to multiple suggestions or questions, you can quickly view the comment list via the gh CLI, plan a reply strategy, and process systematically.

  • Maintaining PRs for open-source projects

  • As a project maintainer handling a large number of incoming PRs, using this skill ensures every review comment is tracked and resolved, avoiding missed feedback.

    Core Features

  • Comment inspection and retrieval

  • Use gh pr view --comments to quickly retrieve all comments and review threads for the PR on the current branch, and support custom scripts to further filter and categorize comment types.

  • Categorize and plan fixes

  • After listing all comments, create a fix plan for each one; when there are many comments, support priority sorting and process them in order after user confirmation.

  • Apply fixes and reply

  • After completing code changes, use gh pr comment to send replies to the corresponding threads, notifying reviewers that the issues are resolved; supports batch handling of multiple comments.

    Frequently Asked Questions

    How to bulk-handle GitHub PR comments?


    First use gh pr view --comments to get all comments, then list them classified by review thread. For each comment, read the relevant code context to understand the issue, propose a fix plan, apply the code changes, and then use gh pr comment <PR_NUMBER> --body to reply collectively.

    How to ensure PR review comments are not missed?


    Using the gh CLI comment listing feature can fully display all review threads, including resolved and unresolved comments. It is recommended to export the complete comment list before processing, tick off handling status item by item, ensuring each comment has a corresponding fix and reply.

    What to do if gh auth status indicates not logged in?


    Run gh auth login to authenticate with GitHub. The system will prompt you to choose a login method (GitHub.com or GitHub Enterprise), then follow the instructions to complete browser authorization or token authentication. After success, gh auth status will show the login status.