davila7 / address-github-comments
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/address-github-comments && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/887" && unzip -o skill.zip -d .claude/skills/address-github-comments && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/address-github-comments/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
5 views
0 installs
Skill Content
--- name: address-github-comments description: 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. ```bash gh auth status ``` If not logged in, run `gh auth login`. ## Workflow ### 1. Inspect Comments Fetch the comments for the current branch's PR. ```bash gh pr view --comments ``` Or use a custom script if available to list threads. ### 2. Categorize and Plan - List the comments and review threads. - Propose a fix for each. - **Wait for user confirmation** on which comments to address first if there are many. ### 3. Apply Fixes Apply the code changes for the selected comments. ### 4. Respond to Comments Once fixed, respond to the threads as resolved. ```bash gh pr comment <PR_NUMBER> --body "Addressed in latest commit." ``` ## Common Mistakes - **Applying fixes without understanding context**: Always read the surrounding code of a comment. - **Not verifying auth**: Check `gh auth status` before starting.