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.zipInstalls 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.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
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.pywhich 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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| gh-address-comments (this skill) | 0 | 6mo | Review | Intermediate |
| search-code | 2 | 4mo | Review | Intermediate |
| code-review | 0 | 6mo | No flags | Intermediate |
| pr | 0 | 4mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
search-code
JamieMason
Search for code patterns in Syncpack. Use when finding symbols, implementations, or understanding how code is used. Covers ast-grep for Rust and grep/rg for other cases.
code-review
jonatron55
Instructions for reviewing changes and ensuring quality before completion. Use when asking for a review or before committing changes.
pr
iopsystems
Prepare outstanding commits on a feature branch for a pull request to upstream
pr
zmerlynn
Push a branch and open a PR with pre-flight checks
deepwiki-rs
sopaco
AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.
rust-tests-guidelines
RediSearch
Guidelines for writing Rust tests.