jpskill.com
💬 コミュニケーション コミュニティ

gh-issue-fix-flow

GitHub issue番号に基づいて、ghコマンドで内容を確認し、ローカルで修正、ビルドとテストを実行、コミットメッセージでissueをクローズし、変更をGitHubにプッシュする一連の作業を自動化するSkill。

📜 元の英語説明(参考)

End-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, implement a fix, run XcodeBuildMCP builds/tests, commit with a closing message, and push.

🇯🇵 日本人クリエイター向け解説

一言でいうと

GitHub issue番号に基づいて、ghコマンドで内容を確認し、ローカルで修正、ビルドとテストを実行、コミットメッセージでissueをクローズし、変更をGitHubにプッシュする一連の作業を自動化するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o gh-issue-fix-flow.zip https://jpskill.com/download/18673.zip && unzip -o gh-issue-fix-flow.zip && rm gh-issue-fix-flow.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/18673.zip -OutFile "$d\gh-issue-fix-flow.zip"; Expand-Archive "$d\gh-issue-fix-flow.zip" -DestinationPath $d -Force; ri "$d\gh-issue-fix-flow.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して gh-issue-fix-flow.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → gh-issue-fix-flow フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Gh Issue Fix Flow

概要

gh、ローカルでの編集、XcodeBuildMCP、および git を使用して、インテークから修正、検証、プッシュまでを行い、GitHub issue を解決します。

ワークフロー

1) インテークと issue のコンテキスト

  1. gh issue view <id> --repo <owner/repo> --comments を使用して、issue の完全なコンテキストを取得します。
  2. リポジトリが不明確な場合は、gh repo view --json nameWithOwner を実行して確認します。
  3. 再現手順、期待される動作、およびメンテナからのメモを記録します。

2) コードパスの特定

  1. rg -n を使用して、可能性の高いファイルとエントリポイントを特定します。
  2. sed -n または rg -n のコンテキストを使用して、関連するコードパスを読みます。
  3. リポジトリ固有の規則(AGENTS/CLAUDE の指示)に従います。

3) 修正の実装

  1. 最小限のファイルセットを編集します。
  2. 変更は既存のアーキテクチャとスタイルに沿ったものにします。
  3. 動作が変更される場合、およびテストカバレッジが実用的な場合は、テストを追加します。

4) ビルドとテスト

  1. 必要なビルド/テストには XcodeBuildMCP を使用します。
    • デフォルトを一度設定します: mcp__XcodeBuildMCP__session-set-defaults
    • ビルド: mcp__XcodeBuildMCP__build_macos または mcp__XcodeBuildMCP__build_sim
    • テスト: ターゲットを絞ったスキーム(例: mcp__XcodeBuildMCP__test_sim)を推奨します。
  2. macOS テストがデプロイメントターゲットの不一致で失敗する場合は、同等の iOS シミュレータテストを実行します。
  3. 警告または失敗を報告します。隠蔽しないでください。

5) コミットとプッシュ

  1. git status --short で無関係な変更がないか確認します。
  2. 修正のみをステージングします(無関係なファイルは除外します)。
  3. 終了メッセージとともにコミットします: Fix … (closes #<issue>)
  4. git push でプッシュします。

6) 報告

  1. 何がどこで変更されたかを要約します。
  2. テスト結果(失敗を含む)を提供します。
  3. フォローアップまたはブロックされた項目をメモします。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Gh Issue Fix Flow

Overview

Resolve a GitHub issue from intake through fix, validation, and push using gh, local edits, XcodeBuildMCP, and git.

Workflow

1) Intake and issue context

  1. Use gh issue view <id> --repo <owner/repo> --comments to get the full issue context.
  2. If the repo is unclear, run gh repo view --json nameWithOwner to confirm.
  3. Capture reproduction steps, expected behavior, and any maintainer notes.

2) Locate the code path

  1. Use rg -n to locate likely files and entry points.
  2. Read the relevant code paths with sed -n or rg -n context.
  3. Follow repo-specific conventions (AGENTS/CLAUDE instructions).

3) Implement the fix

  1. Edit the minimal set of files.
  2. Keep changes aligned with existing architecture and style.
  3. Add tests when behavior changes and test coverage is practical.

4) Build and test

  1. Use XcodeBuildMCP for required builds/tests:
    • Set defaults once: mcp__XcodeBuildMCP__session-set-defaults.
    • Build: mcp__XcodeBuildMCP__build_macos or mcp__XcodeBuildMCP__build_sim.
    • Tests: prefer targeted schemes (e.g., mcp__XcodeBuildMCP__test_sim).
  2. If macOS tests fail due to deployment target mismatches, run the equivalent iOS simulator tests.
  3. Report warnings or failures; do not hide them.

5) Commit and push

  1. Check for unrelated changes with git status --short.
  2. Stage only the fix (exclude unrelated files).
  3. Commit with a closing message: Fix … (closes #<issue>).
  4. Push with git push.

6) Report back

  1. Summarize what changed and where.
  2. Provide test results (including failures).
  3. Note any follow-ups or blocked items.