davila7 avatar

Address Github Comments

This handles the tedious back-and-forth of addressing PR comments by walking you through them systematically using the gh CLI. It fetches comments, has you categorize what needs fixing, waits for your confirmation on priorities, then helps you apply changes and respond to threads. The workflow is sensible: it won't just blast through fixes without context, and it checks gh auth status upfront so you don't waste time. Best for those marathon PRs with dozens of review comments where you need to triage what to tackle first. The mandatory confirmation step before applying fixes is smart, though if you're already comfortable with gh pr view this mainly adds structure rather than new capabilities.

skills.sh installs
205
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill address-github-comments --agent claude-code

Installs into .claude/skills of the current project.

Files

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 status

If not logged in, run gh auth login.

Workflow

1. Inspect Comments

Fetch the comments for the current branch's PR.

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.

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.

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Git & Pull Requests, Code Review & Quality, CLI & Terminal
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1dimillian avatargh-issue-fix-flowdimillian/skillsEnd-to-end GitHub issue fix workflow using gh, local code changes, builds/tests, and git push. Use when asked to take an issue number, inspect the issue via gh,194skills.sh installs
2rohitg00 avatarsmart-commitrohitg00/pro-workflowRun quality gates, review staged changes for issues, and create a well-crafted conventional commit. Use when saying "commit", "git commit", "save my changes", o190skills.sh installs
3mblode avatarreview-prmblode/agent-skillsReviews the current local diff or branch at the end of a coding session for high-confidence bugs and repository instruction-file compliance. Use when asked to r185skills.sh installs
4warpdotdev avatarcreate-pull-requestwarpdotdev/oz-skillsCreate a GitHub pull request following project conventions. Use when the user asks to create a PR, submit changes for review, or open a pull request. Handles co177skills.sh installs
5grandcamel avatargitlab-mrgrandcamel/gitlab-assistant-skillsGitLab merge request operations. ALWAYS use this skill when user wants to: (1) list merge requests, (2) view MR details, (3) create new MRs, (4) approve/merge M165skills.sh installs
6trancong12102 avatarcouncil-reviewtrancong12102/agentskillsMulti-perspective code review that synthesizes findings from multiple reviewers into a unified report. Use when the user asks to review code changes, audit a di145skills.sh installs