GH

gh-address-comments

Automates responding to and resolving GitHub PR comments for Rust/Axum projects.

Install

mkdir -p .claude/skills/gh-address-comments-twlongzai && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13667" && unzip -o skill.zip -d .claude/skills/gh-address-comments-twlongzai && rm skill.zip

Installs to .claude/skills/gh-address-comments-twlongzai

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.
168 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Fetch comments and review threads from a GitHub PR
  • Identify comments related to Axum, Cargo, SQLx, or GitHub Actions
  • Summarize required fixes for comments
  • Apply fixes for selected comments
  • Update GitHub Actions workflows if needed

How it works

This skill fetches GitHub PR comments, identifies relevant feedback for specific technologies, and guides the application of fixes. It uses the gh CLI for interaction.

Inputs & outputs

You give it
an open GitHub PR for the current branch
You get back
applied fixes to code and updated GitHub Actions workflows, with a summary of addressed comments

When to use gh-address-comments

  • Resolve PR review comments
  • Apply fixes to Axum handlers
  • Update CI/CD workflows after review

About this skill

PR Comment Handler (Axum/Cargo/SQLx/GitHub Actions)

Guide to find the open PR for the current branch and address its comments with gh CLI. This variant is tailored for Axum, Cargo, SQLx, and GitHub Actions workflows. Run all gh commands with elevated network access.

Prereq: ensure gh is authenticated (for example, run gh auth login once), then run gh auth status with escalated permissions (include workflow/repo scopes) so gh commands succeed. If sandboxing blocks gh auth status, rerun it with sandbox_permissions=require_escalated.

When drafting responses, use the reply template at .codex/skills/gh-address-comments/templates/pr_reply.md for consistency.

1) Inspect comments needing attention

  • Run scripts/fetch_comments.py which will print out all the comments and review threads on the PR
  • Identify comments related to:
    • Axum handlers, routing, extractors, middleware, or error handling
    • Cargo features, workspace setup, or dependency versions
    • SQLx queries, migrations, and compile-time checking
    • GitHub Actions workflows, caches, or CI steps

2) Ask the user for clarification

  • Number all the review threads and comments and provide a short summary of what would be required to apply a fix for it
  • Ask the user which numbered comments should be addressed
  • Call out when a fix might require running cargo test, cargo sqlx prepare, or updating CI

3) If user chooses comments

  • Apply fixes for the selected comments
  • Keep changes aligned with Axum idioms and SQLx best practices
  • If CI changes are needed, update GitHub Actions workflows accordingly

Notes:

  • If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with gh auth login, then retry.

When not to use it

  • The task is not related to addressing GitHub PR comments
  • The task does not involve Axum, Cargo, SQLx, or GitHub Actions workflows

Prerequisites

gh CLI authenticated with workflow/repo scopes

Limitations

  • The skill requires `gh` CLI authentication
  • The skill is tailored for Axum, Cargo, SQLx, and GitHub Actions workflows
  • The skill requires elevated network access for `gh` commands

How it compares

This skill simplify the process of addressing GitHub PR comments by focusing on specific technology stacks and providing a structured workflow, unlike manual comment resolution.

Compared to similar skills

gh-address-comments side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
gh-address-comments (this skill)06moReviewIntermediate
search-code24moReviewIntermediate
code-review06moNo flagsIntermediate
pr04moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry