github

GitHub操作の統合スキル。issue作成、PR作成、レビュースレッド操作を提供。使用ケース:(1)issue作成、(2)PR作成(事前チェック統合)、(3)レビューコメント取得、(4)スレッド返信、(5)スレッド解決

⭐5stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026

When & Why to Use This Skill

This Claude skill provides a comprehensive integration for GitHub operations, enabling seamless management of software development workflows directly through the AI. It automates essential tasks such as issue tracking, pull request (PR) creation with integrated quality checks, and real-time interaction with code review threads to enhance developer productivity and collaboration.

Use Cases

  • Issue Management: Streamline project tracking by creating and documenting GitHub issues for bugs or new features directly from the chat interface.
  • Automated PR Creation: Generate pull requests that automatically run pre-check scripts (fmt/lint/test) to ensure code quality before submission.
  • Review Thread Orchestration: Retrieve a list of unresolved comments and detailed thread histories to stay on top of peer feedback without manual searching.
  • Collaborative Communication: Reply to specific review comments with proper mentions and resolve discussion threads once feedback has been addressed to maintain a clean PR status.
namegithub
description|
使用ケース(1)issue作成、(2)PR作成(事前チェック統合)、

GitHub操作スキル

操作タイプの選択

  1. Issue作成 → Issue操作
  2. PR作成 → PR操作
  3. レビュースレッド操作 → Thread操作

Issue操作

issue作成

gh issue createコマンドを使用:

gh issue create --title "タイトル" --body "本文"

推奨: document-specialistエージェントで説明文を生成してから使用

PR操作

PR作成

事前チェック(fmt/lint/test)を実行してからPRを作成:

./.claude/skills/github/scripts/pr-create.sh <タイトル> <本文>

注意事項:

  • mainブランチからは実行不可
  • PRタイトルにissue番号を含めない
  • 本文には fixed #<issue番号> を含める

Thread操作

スレッド一覧取得

PRの未解決レビューコメントを取得:

./.claude/skills/github/scripts/thread-list.sh <PR番号>

出力形式 (NDJSON):

{"thread_id": "...", "author": "...", "comment": "..."}

スレッド詳細取得

レビュースレッドの詳細情報を取得:

./.claude/skills/github/scripts/thread-details.sh <スレッドID> [スレッドID...]

出力情報:

  • スレッドID、解決状態、ファイルパス、行番号
  • 各コメント(作成者、本文、作成日時)を時系列順で表示

スレッド返信

レビュースレッドに返信を投稿:

echo "コメント内容" | ./.claude/skills/github/scripts/thread-reply.sh <スレッドID>

注意: 返信先の対象者には @ユーザー名 形式でメンションを付与すること

スレッド解決

レビュースレッドを解決済みに変更:

./.claude/skills/github/scripts/thread-resolve.sh <スレッドID>

関連スキル

  • plan-issue: issue対応タスク作成
  • plan-pr: PRレビュー対応タスク作成
  • review: 自己レビュー実施