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本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
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
$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. 下の青いボタンを押して
gh-issue-fix-flow.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
gh-issue-fix-flowフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Gh Issue Fix Flow
概要
gh、ローカルでの編集、XcodeBuildMCP、および git を使用して、インテークから修正、検証、プッシュまでを行い、GitHub issue を解決します。
ワークフロー
1) インテークと issue のコンテキスト
gh issue view <id> --repo <owner/repo> --commentsを使用して、issue の完全なコンテキストを取得します。- リポジトリが不明確な場合は、
gh repo view --json nameWithOwnerを実行して確認します。 - 再現手順、期待される動作、およびメンテナからのメモを記録します。
2) コードパスの特定
rg -nを使用して、可能性の高いファイルとエントリポイントを特定します。sed -nまたはrg -nのコンテキストを使用して、関連するコードパスを読みます。- リポジトリ固有の規則(AGENTS/CLAUDE の指示)に従います。
3) 修正の実装
- 最小限のファイルセットを編集します。
- 変更は既存のアーキテクチャとスタイルに沿ったものにします。
- 動作が変更される場合、およびテストカバレッジが実用的な場合は、テストを追加します。
4) ビルドとテスト
- 必要なビルド/テストには XcodeBuildMCP を使用します。
- デフォルトを一度設定します:
mcp__XcodeBuildMCP__session-set-defaults。 - ビルド:
mcp__XcodeBuildMCP__build_macosまたはmcp__XcodeBuildMCP__build_sim。 - テスト: ターゲットを絞ったスキーム(例:
mcp__XcodeBuildMCP__test_sim)を推奨します。
- デフォルトを一度設定します:
- macOS テストがデプロイメントターゲットの不一致で失敗する場合は、同等の iOS シミュレータテストを実行します。
- 警告または失敗を報告します。隠蔽しないでください。
5) コミットとプッシュ
git status --shortで無関係な変更がないか確認します。- 修正のみをステージングします(無関係なファイルは除外します)。
- 終了メッセージとともにコミットします:
Fix … (closes #<issue>)。 git pushでプッシュします。
6) 報告
- 何がどこで変更されたかを要約します。
- テスト結果(失敗を含む)を提供します。
- フォローアップまたはブロックされた項目をメモします。
📜 原文 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
- Use
gh issue view <id> --repo <owner/repo> --commentsto get the full issue context. - If the repo is unclear, run
gh repo view --json nameWithOwnerto confirm. - Capture reproduction steps, expected behavior, and any maintainer notes.
2) Locate the code path
- Use
rg -nto locate likely files and entry points. - Read the relevant code paths with
sed -norrg -ncontext. - Follow repo-specific conventions (AGENTS/CLAUDE instructions).
3) Implement the fix
- Edit the minimal set of files.
- Keep changes aligned with existing architecture and style.
- Add tests when behavior changes and test coverage is practical.
4) Build and test
- Use XcodeBuildMCP for required builds/tests:
- Set defaults once:
mcp__XcodeBuildMCP__session-set-defaults. - Build:
mcp__XcodeBuildMCP__build_macosormcp__XcodeBuildMCP__build_sim. - Tests: prefer targeted schemes (e.g.,
mcp__XcodeBuildMCP__test_sim).
- Set defaults once:
- If macOS tests fail due to deployment target mismatches, run the equivalent iOS simulator tests.
- Report warnings or failures; do not hide them.
5) Commit and push
- Check for unrelated changes with
git status --short. - Stage only the fix (exclude unrelated files).
- Commit with a closing message:
Fix … (closes #<issue>). - Push with
git push.
6) Report back
- Summarize what changed and where.
- Provide test results (including failures).
- Note any follow-ups or blocked items.