jpskill.com
🎬 動画AI コミュニティ

blitz

複数のGitHub issueを同時並行で進めるため、git worktreeと複数のClaudeエージェントを活用し、issueの選別から並行作業の割り振り、最終的なマージまで一連の作業を効率的に進めるSkill。

📜 元の英語説明(参考)

This skill should be used when parallelizing multi-issue sprints using git worktrees and parallel Claude agents. Use when tackling multiple GitHub issues simultaneously, when the user mentions "blitz", "parallel sprint", "worktree workflow", or when handling 3+ independent issues that could be worked on concurrently. Orchestrates the full workflow from issue triage through parallel agent delegation to sequential merge.

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

一言でいうと

複数のGitHub issueを同時並行で進めるため、git worktreeと複数のClaudeエージェントを活用し、issueの選別から並行作業の割り振り、最終的なマージまで一連の作業を効率的に進めるSkill。

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

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して blitz.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → blitz フォルダができる
  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
同梱ファイル
3

📖 Skill本文(日本語訳)

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

Blitz: 並列ワークツリー + エージェントワークフロー

独立した Claude エージェントを隔離された git ワークツリーで実行することにより、複数課題のスプリントを並列化します。各エージェントは PR を作成し、100% の課題網羅率で 10/10 の自己レビューを行い、競合を避けるために PR は順番にマージされます。🐲 を群れで扱う。

⚠️ 必須: エージェントごとの 100% の課題網羅率

すべてのエージェントは、PR がマージされる前に、割り当てられた課題の要件を 100% 実装する必要があります。

  • 各エージェントは、完全な課題要件を受け取ります (GitHub issue から抽出)
  • レビューは、すべての要件が実装されていることを検証する必要があります
  • 網羅率 < 100% = エージェントは作業を完了するために差し戻されます
  • 課題からのすべての要件が対処されるまで、PR はマージされません

前提条件

必要なツール:

  • gh CLI (認証済み)
  • ワークツリーをサポートする Git (2.5+)
  • エージェント生成機能付き Claude Code (Task ツール)

必要なスキル:

  • 4-step-program - fix-review-iterate-present ループを通じてエージェントをガイドします
  • code-reviewer - 10/10 の品質ゲートへの自己レビュー
  • delphi - トリアージの決定のための並列オラクル (オプション、曖昧なトリアージの場合)

ワークフローフェーズ

フェーズ 1: 課題トリアージ

どの課題に取り組むかについての曖昧な決定については、delphi スキルを使用します。

Invoke Delphi: "これらのオープンな課題を監査します。それぞれについて、以下を推奨します: close (完了)、fix (対応可能)、または defer (ブロック)。"

Delphi の結果の解釈:

  • 全員一致 → 推奨事項に基づいて行動します
  • 2/3 の合意 → 多数派に傾き、少数派の意見を調査します
  • 完全な意見の相違 → より多くのコンテキストが必要です。手動で調査します

完了した課題はすぐにクローズします:

gh issue close 1 2 3 --comment "Delphi 監査により完了"

明確な課題リストについては、Delphi をスキップして、フェーズ 2 に直接進みます。

フェーズ 2: ワークツリーのセットアップ

修正可能な課題ごとに、main から 1 つのワークツリーを作成します。

git worktree add .worktrees/<slug> -b fix/<slug> main

ブランチ命名: fix/<descriptive-slug> または feat/<descriptive-slug>

4 つの課題のセットアップ例:

git worktree add .worktrees/test-isolation -b fix/test-isolation main
git worktree add .worktrees/config-theater -b fix/config-theater main
git worktree add .worktrees/wire-salience -b fix/wire-salience main
git worktree add .worktrees/testing-quality -b fix/testing-quality main

ワークツリーを使用する理由:

  • エージェントごとの完全なファイルシステム分離
  • stash/checkout の競合なし
  • エージェントは真に並行して作業します
  • それぞれが独立した node_modules、ビルド成果物を持っています

フェーズ 3: 並列エージェントへの委譲

構造化されたプロンプトを使用して、Task ツールを使用してエージェントを生成します。各エージェントには以下が必要です。

  1. 作業ディレクトリ (ワークツリーへの絶対パス)
  2. 課題コンテキスト (番号、説明、受け入れ基準)
  3. 課題からのすべての要件の完全なリスト (gh issue view を介して抽出)
  4. 4-step-program スキルを使用するための明示的な指示

重要: 委譲する前に、各課題からすべての要件を抽出します:

gh issue view <number>

すべての要件、受け入れ基準、およびエッジケースをエージェントプロンプトにリストします。

エージェントプロンプトテンプレート:

Working directory: /absolute/path/to/.worktrees/<slug>
Issue: #<number> - <title>

**ALL REQUIREMENTS FROM ISSUE (100% must be implemented):**
1. [課題からの要件 1]
2. [課題からの要件 2]
3. [課題からの要件 3]
... (それらすべてをリストします)

Use the 4-step-program skill to:
1. 上記のすべての要件を実装します (100% の網羅率が必要です)
2. テストを実行し、合格を確認します
3. `gh pr create` で PR を作成します - **本文に `Closes #<issue-number>` を含める必要があります**
4. code-reviewer スキルを使用して自己レビューを行います (100% の網羅率を検証します)
5. `gh api` で GitHub にレビューを POST します

**PR には以下を含める必要があります:**
- マージ時に課題を自動的にクローズするための `Closes #<issue-number>`
- PR 本文の「関連課題」セクション
- `gh pr view --json closingIssuesReferences` で検証します

課題の要件の 100% が実装され、課題が適切にリンクされた 10/10 のレビュー スコアを達成するまで戻らないでください。

重要: エージェントはレビューを印刷するだけでなく、GitHub に POST する必要があります。

gh api repos/OWNER/REPO/pulls/NUMBER/reviews \
  -f body="..." -f event="COMMENT"

単一のメッセージで複数の Task ツールの呼び出しを使用して、エージェントを並行して起動します

フェーズ 4: レビューイテレーションループ

各 PR のレビュー状況を監視します。

gh pr view <NUMBER> --json reviews --jq '.reviews[-1].body'

各 PR について、2 つのゲートを通過する必要があります:

ゲート 1: 100% の課題網羅率

  • 元の課題からのすべての要件が実装されていることを確認します
  • 要件が欠落している場合 → 欠落している要件でエージェントを再開します

ゲート 2: 10/10 のレビュー品質

  • レビューに提案がない
  • すべての検証コマンドが合格する

網羅率 < 100% の場合: 特定の欠落している要件でエージェントを再開します。

PR #<NUMBER> coverage: 80% (4 of 5 requirements).
Missing requirement: [課題からの要件 5 - 具体的なテキスト]
この要件を実装して、再レビューしてください。

スコア < 10/10 の場合 (ただし網羅率 100%): 特定のフィードバックでエージェントを再開します。

PR #<NUMBER> has 100% coverage but scored 8/10. Issues:
- <具体的な問題 1>
- <具体的な問題 2>

これらの問題を修正して、再レビューしてください。

10/10 + 100% 網羅率の基準:

  • 元の課題からのすべての要件が実装されている
  • すべての機能が動作している
  • テストに合格する
  • 明らかなバグやセキュリティ上の問題がない
  • コードがプロジェクトの規約に従っている
  • 必要に応じてドキュメントが更新されている

フェーズ 4.5: 最終網羅率ゲート (マージ前)

必須: PR をマージする前に、行ごとの要件検証を実行します。

マージする準備ができている各 PR について:

ステップ 1: すべての要件を抽出する

# 課題からすべてのチェックリスト項目を取得する
gh issue view <issue-number> --json body --jq '.body' | grep -E "^\- \["

# また、散文の要件については完全な課題を取得する
gh issue view <issue-number>

ステップ 2: 行ごとのテーブルを作成する

各 PR について必須:


## Issue #X - 完全な要件チェック

| Requirement | PR Status | Evidence |
|-------------|-----------|----------|
| [課題からの正確なテキスト] | ✅ | `file.cs:line` - [実装] 

(原文はここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

The Blitz: Parallel Worktree + Agent Workflow

Parallelizes multi-issue sprints by running independent Claude agents in isolated git worktrees. Each agent creates a PR, self-reviews to 10/10 with 100% issue coverage, then PRs are sequentially merged to avoid conflicts. Herding 🐲.

⚠️ MANDATORY: 100% Issue Coverage Per Agent

Every agent MUST implement 100% of their assigned issue's requirements before their PR can be merged.

  • Each agent receives COMPLETE issue requirements (extracted from GitHub issue)
  • Review must verify ALL requirements are implemented
  • Coverage < 100% = agent sent back to complete the work
  • No PR merges until all requirements from the issue are addressed

Prerequisites

Required Tools:

  • gh CLI (authenticated)
  • Git with worktree support (2.5+)
  • Claude Code with agent spawning (Task tool)

Required Skills:

  • 4-step-program - Guides agents through fix-review-iterate-present loop
  • code-reviewer - Self-review to 10/10 quality gate
  • delphi - Parallel oracles for triage decisions (optional, for ambiguous triage)

Workflow Phases

Phase 1: Issue Triage

For ambiguous decisions on which issues to tackle, use the delphi skill:

Invoke Delphi: "Audit these open issues. For each, recommend: close (complete), fix (actionable), or defer (blocked)."

Interpreting Delphi Results:

  • Unanimous agreement → Act on recommendation
  • 2/3 agreement → Lean toward majority, investigate minority view
  • Full divergence → Need more context; investigate manually

Close complete issues immediately:

gh issue close 1 2 3 --comment "Complete per Delphi audit"

For clear-cut issue lists, skip Delphi and proceed directly to Phase 2.

Phase 2: Worktree Setup

Create one worktree per fixable issue from main:

git worktree add .worktrees/<slug> -b fix/<slug> main

Branch Naming: fix/<descriptive-slug> or feat/<descriptive-slug>

Example setup for 4 issues:

git worktree add .worktrees/test-isolation -b fix/test-isolation main
git worktree add .worktrees/config-theater -b fix/config-theater main
git worktree add .worktrees/wire-salience -b fix/wire-salience main
git worktree add .worktrees/testing-quality -b fix/testing-quality main

Why Worktrees:

  • Complete filesystem isolation per agent
  • No stash/checkout conflicts
  • Agents work truly in parallel
  • Each has independent node_modules, build artifacts

Phase 3: Delegate to Parallel Agents

Spawn agents using the Task tool with structured prompts. Each agent needs:

  1. Working directory (absolute path to worktree)
  2. Issue context (number, description, acceptance criteria)
  3. COMPLETE list of ALL requirements from the issue (extracted via gh issue view)
  4. Explicit instruction to use 4-step-program skill

CRITICAL: Before delegating, extract ALL requirements from each issue:

gh issue view <number>

List EVERY requirement, acceptance criterion, and edge case in the agent prompt.

Agent Prompt Template:

Working directory: /absolute/path/to/.worktrees/<slug>
Issue: #<number> - <title>

**ALL REQUIREMENTS FROM ISSUE (100% must be implemented):**
1. [Requirement 1 from issue]
2. [Requirement 2 from issue]
3. [Requirement 3 from issue]
... (list ALL of them)

Use the 4-step-program skill to:
1. Implement ALL the above requirements (100% coverage required)
2. Run tests, verify passing
3. Create PR with `gh pr create` - **MUST include `Closes #<issue-number>` in body**
4. Self-review using code-reviewer skill (which will verify 100% coverage)
5. POST review to GitHub with `gh api`

**PR MUST include:**
- `Closes #<issue-number>` to auto-close the issue on merge
- "Related Issues" section in PR body
- Verify with `gh pr view --json closingIssuesReferences`

Do not return until you achieve 10/10 review score WITH 100% of issue requirements implemented AND issue properly linked.

CRITICAL: Agents must POST reviews to GitHub, not just print them:

gh api repos/OWNER/REPO/pulls/NUMBER/reviews \
  -f body="..." -f event="COMMENT"

Launch agents in parallel using multiple Task tool calls in a single message.

Phase 4: Review Iteration Loop

Monitor each PR's review status:

gh pr view <NUMBER> --json reviews --jq '.reviews[-1].body'

TWO gates must pass for each PR:

GATE 1: 100% Issue Coverage

  • Verify ALL requirements from original issue are implemented
  • If ANY requirement is missing → Resume agent with missing requirements

GATE 2: 10/10 Review Quality

  • Zero suggestions in review
  • All verification commands pass

If coverage < 100%: Resume the agent with specific missing requirements:

PR #<NUMBER> coverage: 80% (4 of 5 requirements).
Missing requirement: [Requirement 5 from issue - specific text]
Implement this requirement and re-review.

If score < 10/10 (but coverage 100%): Resume the agent with specific feedback:

PR #<NUMBER> has 100% coverage but scored 8/10. Issues:
- <specific issue 1>
- <specific issue 2>

Fix these issues and re-review.

10/10 + 100% Coverage Criteria:

  • ALL requirements from original issue implemented
  • All functionality working
  • Tests pass
  • No obvious bugs or security issues
  • Code follows project conventions
  • Documentation updated if needed

Phase 4.5: FINAL COVERAGE GATE (Before Merge)

MANDATORY: Before merging ANY PR, perform LINE-BY-LINE requirement verification.

For EACH PR ready to merge:

Step 1: Extract ALL Requirements

# Get ALL checklist items from issue
gh issue view <issue-number> --json body --jq '.body' | grep -E "^\- \["

# Also get full issue for prose requirements
gh issue view <issue-number>

Step 2: Create Line-by-Line Table

MANDATORY for each PR:

## Issue #X - Full Requirements Check

| Requirement | PR Status | Evidence |
|-------------|-----------|----------|
| [exact text from issue] | ✅ | `file.cs:line` - [implementation] |
| [exact text from issue] | ❌ MISSING | Not found in PR |
| [exact text from issue] | ⚠️ PARTIAL | `file.cs:line` - [what's missing] |
| [exact text from issue] | ⚠️ MANUAL | Requires Unity Editor |

Step 3: Honest Assessment

**Honest Assessment**:
- Coverage: X% (Y of Z requirements fully implemented)
- Missing: [list specific items]
- Partial: [list items and what's missing]
- Manual: [list items needing editor/runtime]

FINAL GATE DECISION:

Coverage Action
100% ✅ Proceed to Phase 5 (Merge)
< 100% DO NOT MERGE - Resume agent

If Final Coverage < 100%:

Resume agent: "FINAL COVERAGE GATE FAILED for PR #<NUMBER>.

Issue #X - Full Requirements Check:

| Requirement | Status | Evidence |
|-------------|--------|----------|
| MeshDeformer component created | ✅ | MeshDeformer.cs |
| Create scene GameObject | ❌ MISSING | No scene modification |
| Cache hit rate >90% | ⚠️ MANUAL | Requires runtime profiler |

Honest Assessment:
- Coverage: 85% (11 of 13 requirements)
- Missing: scene GameObject creation
- Partial: none
- Manual: cache hit rate verification

Implement ALL items marked ❌. Items marked ⚠️ MANUAL that CAN be automated via mcp-unity MUST be automated.

Do not return until 100% coverage."

→ Loop back to Phase 4 (Review Iteration)

Phase 5: Sequential Squash-Merge + Rebase

Merge PRs one at a time. Order by dependency (infrastructure first).

Before merging, verify issue linking:

# Verify PR will close the issue
gh pr view <NUMBER> --json closingIssuesReferences --jq '.closingIssuesReferences[].number'

# If empty, PR is missing issue link - send agent back to fix!

For each PR:

# 1. Squash merge (keeps history clean) - issues auto-close on merge
gh pr merge <NUMBER> --squash --delete-branch

# 2. Update local main
git checkout main && git pull

# 3. Rebase next PR onto updated main
cd .worktrees/<next-slug>
git fetch origin main
git rebase origin/main
git push --force-with-lease

# 4. Repeat merge for next PR

Why This Order:

  • Squash merge keeps main history linear
  • Rebasing before merge prevents conflicts
  • Sequential merging catches integration issues early
  • --force-with-lease prevents overwriting others' work

Handling Conflicts:

git rebase origin/main
# If conflicts:
# 1. Fix conflicts in affected files
# 2. git add <fixed-files>
# 3. git rebase --continue
# 4. git push --force-with-lease

Phase 6: Cleanup

After all PRs merge:

# Remove worktrees
git worktree remove .worktrees/<slug>  # Repeat for each

# Delete local branches (remote already deleted by --delete-branch)
git branch -D fix/<slug>  # Repeat for each

# Sync main
git checkout main && git pull

# Verify clean state
git worktree list  # Should show only main
git branch         # Should show only main

Quick Reference

See references/commands.md for complete command reference. See references/pitfalls.md for common issues and solutions.

Mermaid Diagrams in Blitz PRs

Each agent's PR SHOULD include Mermaid diagrams when the change warrants visualization.

When Agents Should Add Diagrams

Change Type Diagram
Flow change flowchart before/after
API modification sequenceDiagram
State handling stateDiagram-v2
Architecture change flowchart with subgraphs

Agent Delegation Should Include

When delegating to agents, add to the prompt:

If your changes involve flow modifications, state changes, or API interactions,
include a Mermaid diagram in the PR body showing the new behavior.

Example PR with Diagram

## Summary

Fixed race condition in WebSocket reconnection.

### Before/After

```mermaid
flowchart LR
    subgraph Before
        A1[Disconnect] --> B1[Reconnect]
        B1 --> C1[Duplicate handlers]
    end
    subgraph After
        A2[Disconnect] --> B2[Cleanup handlers]
        B2 --> C2[Reconnect]
        C2 --> D2[Single handler]
    end
```

## Related Issues
- Closes #45 - WebSocket reconnection bug

Checklist Summary

  1. [ ] Triage issues (use delphi if ambiguous)
  2. [ ] Extract ALL requirements from each issue (gh issue view)
  3. [ ] Create worktrees for each fixable issue
  4. [ ] Launch parallel agents with 4-step-program including complete requirement lists
  5. [ ] Monitor and iterate until all PRs hit 100% issue coverage AND 10/10
  6. [ ] FINAL COVERAGE GATE: Re-verify 100% coverage before each merge
  7. [ ] Sequential squash-merge with rebase between (only after gate passes)
  8. [ ] Cleanup worktrees and branches
  9. [ ] PRs include Mermaid diagrams where helpful

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。