本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)7.1k · #13526

gh-address-comments

できること

このスキルにより、AIは現在のブランチに対応する開いたプルリクエストを見つけ、そのレビューコメントを一覧にし、選んだものを修正します。GitHubでコードレビューのフィードバックへの対応を手伝ってほしい開発者向けです。

使う場面

  • ✓開いているプルリクエストにレビュアーがコメントを残したとき。
  • ✓選んだレビューのフィードバックをAIに修正してもらいたいとき。
  • ✓GitHubのプルリクエストで、コメントへの返信や変更が必要なとき。

スキルのリンク

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/gh-address-comments/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/gh-address-comments/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“開いているプルリクエストのレビューコメントを見て、どれを直すか選べるように一覧にしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIはGitHubへのサインインを確認し、コメントとレビューのスレッドを取得して、短い要約とともに番号を付けます。そのうえで、あなたが選んだものに修正を加えます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

PR Comment Handler

Guide to find the open PR for the current branch and address its comments with gh CLI.

Prerequisites: Ensure gh is authenticated before running commands. Check authentication status with gh auth status. If not authenticated, instruct the user to run gh auth login to authenticate with GitHub.

1) Inspect comments needing attention

  • Run scripts/fetch_comments.py which will print out all the comments and review threads on the PR

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

3) If user chooses comments

  • Apply fixes for the selected comments

Notes:

  • If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with gh auth login, then retry.
よくある質問

GitHubにサインインしていない場合はどうなりますか?

まずGitHubのコマンドラインツールでサインインするよう求められます。

どのコメントを直すかは、AIが決めますか?

いいえ。AIはコメントを一覧にし、対応してほしい番号を尋ねます。

CIのビルドが失敗した場合にも使えますか?

いいえ。ビルドの失敗は別のスキルが扱います。

詳細

作者による元の説明

Address review and issue comments on the open GitHub PR for the current branch using gh CLI. Use when user says "address PR comments", "fix review feedback", "respond to PR review", or "handle PR comments". Verifies gh auth first and prompts to authenticate if not logged in. Do NOT use for creating PRs, CI debugging (use gh-fix-ci), or general Git operations.

repo: tech-leads-club/agent-skills

人気

GitHubのスター
7.1k
ランキング
#13526
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル