blitz
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.
What this skill does
# 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:** ```bash 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: ```bash git worktree add .worktrees/<slug> -b fix/<slug> main ``` **Branch Naming:** `fix/<descriptive-slug>` or `feat/<descriptive-slug>` **Example setup for 4 issues:** ```bash 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:** ```bash 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: ```bash 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: ```bash 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 ```bash # 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: ```markdown ## 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 ```markdown **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:** ```bash # 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:** ```bash # 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
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts โ single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score โฅ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.