Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
Add this skill
npx mdskills install sickn33/address-github-commentsClear workflow for addressing PR comments but lacks actionable trigger conditions and specific error handling
1---2name: address-github-comments3description: Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.4---56# Address GitHub Comments78## Overview910Efficiently address PR review comments or issue feedback using the GitHub CLI (`gh`). This skill ensures all feedback is addressed systematically.1112## Prerequisites1314Ensure `gh` is authenticated.1516```bash17gh auth status18```1920If not logged in, run `gh auth login`.2122## Workflow2324### 1. Inspect Comments2526Fetch the comments for the current branch's PR.2728```bash29gh pr view --comments30```3132Or use a custom script if available to list threads.3334### 2. Categorize and Plan3536- List the comments and review threads.37- Propose a fix for each.38- **Wait for user confirmation** on which comments to address first if there are many.3940### 3. Apply Fixes4142Apply the code changes for the selected comments.4344### 4. Respond to Comments4546Once fixed, respond to the threads as resolved.4748```bash49gh pr comment <PR_NUMBER> --body "Addressed in latest commit."50```5152## Common Mistakes5354- **Applying fixes without understanding context**: Always read the surrounding code of a comment.55- **Not verifying auth**: Check `gh auth status` before starting.56
Full transparency — inspect the skill content before installing.