Loading...
Loading...
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.
npx skill4agent add cygnusfear/agent-skills blitzghteams4-step-programcode-reviewerdelphidelphiInvoke Delphi: "Audit these open issues. For each, recommend: close (complete), fix (actionable), or defer (blocked)."gh issue close 1 2 3 --comment "Complete per Delphi audit"git worktree add .worktrees/<slug> -b fix/<slug> mainfix/<descriptive-slug>feat/<descriptive-slug>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 mainteamsgh issue viewgh issue view <number>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.gh api repos/OWNER/REPO/pulls/NUMBER/reviews \
-f body="..." -f event="COMMENT"teamsteams(action: 'delegate', tasks: [
{text: '<agent prompt for issue 1>', assignee: 'fix-issue-1'},
{text: '<agent prompt for issue 2>', assignee: 'fix-issue-2'},
{text: '<agent prompt for issue 3>', assignee: 'fix-issue-3'}
])gh pr view <NUMBER> --json reviews --jq '.reviews[-1].body'PR #<NUMBER> coverage: 80% (4 of 5 requirements).
Missing requirement: [Requirement 5 from issue - specific text]
Implement this requirement and re-review.PR #<NUMBER> has 100% coverage but scored 8/10. Issues:
- <specific issue 1>
- <specific issue 2>
Fix these issues and re-review.# 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>## 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 |**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]| Coverage | Action |
|---|---|
| 100% | ✅ Proceed to Phase 5 (Merge) |
| < 100% | ❌ DO NOT MERGE - Resume agent |
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."# 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!# 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--force-with-leasegit 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# 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 mainreferences/commands.mdreferences/pitfalls.md| Change Type | Diagram |
|---|---|
| Flow change | |
| API modification | |
| State handling | |
| Architecture change | |
If your changes involve flow modifications, state changes, or API interactions,
include a Mermaid diagram in the PR body showing the new behavior.## 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 bugdelphigh issue view