|
| 1 | +--- |
| 2 | +name: taskdeck-issue-batch-orchestrator |
| 3 | +description: Coordinate high-autonomy Taskdeck issue batches from selection through worktrees, PRs, review, CI recovery, docs reconciliation, and handoff. Use when asked to take care of many issues, pick next issues, coordinate agents, run review loops, or reconcile GitHub project status. |
| 4 | +--- |
| 5 | + |
| 6 | +# Taskdeck Issue Batch Orchestrator |
| 7 | + |
| 8 | +Use this skill for Claude Code batch work. It mirrors the Codex workflow in `.codex/skills/taskdeck-issue-batch-orchestrator` while using Claude's worktree protocol where applicable. |
| 9 | + |
| 10 | +## Read First |
| 11 | + |
| 12 | +1. `docs/STATUS.md` |
| 13 | +2. `CLAUDE.md` |
| 14 | +3. `AGENTS.md` |
| 15 | +4. `docs/IMPLEMENTATION_MASTERPLAN.md` |
| 16 | +5. `docs/ISSUE_EXECUTION_GUIDE.md` |
| 17 | +6. `docs/GITHUB_PROJECT_AUTOMATION.md` |
| 18 | +7. `docs/tooling/CODEX_AUTONOMY_RUNBOOK.md` for shared batch discipline; substitute Claude entrypoints for Codex-specific preflight. |
| 19 | +8. `docs/WORKTREE_AGENT_PROTOCOL.md` when using Claude worktree agents |
| 20 | + |
| 21 | +## Coordinator Responsibilities |
| 22 | + |
| 23 | +The coordinator owns issue selection, dependency checks, worktree prompts, conflict resolution, PR quality, project status/priority sync, adversarial review assignment, CI/comment loops, docs rehydration, and final handoff. |
| 24 | + |
| 25 | +Do not delegate final synthesis. Do not silently defer work. |
| 26 | + |
| 27 | +## Work Splitting |
| 28 | + |
| 29 | +Split only by non-overlapping ownership: |
| 30 | + |
| 31 | +- one backend issue per worker |
| 32 | +- one frontend issue per worker |
| 33 | +- one docs-only issue per worker |
| 34 | +- one reviewer per PR |
| 35 | +- one CI/conflict worker per failing PR |
| 36 | + |
| 37 | +Avoid concurrent edits to the same view, store, service, migration chain, project file, or canonical doc unless the coordinator controls merge order. |
| 38 | + |
| 39 | +## Worker Setup |
| 40 | + |
| 41 | +For isolated workers: |
| 42 | + |
| 43 | +1. Use Claude `isolation: "worktree"` or the repo worktree script, depending on runtime. |
| 44 | +2. Do not include absolute main-checkout paths in worker prompts. |
| 45 | +3. Require the first command from `docs/WORKTREE_AGENT_PROTOCOL.md` or `powershell -File scripts/worktree_guard.ps1`. |
| 46 | +4. Assign explicit file/module ownership. |
| 47 | +5. Tell workers they are not alone in the codebase and must not revert others' edits. |
| 48 | +6. Require targeted tests and self-review before handoff. |
| 49 | + |
| 50 | +## Review And CI |
| 51 | + |
| 52 | +Every PR needs self-review. Sensitive PRs need fresh adversarial review: |
| 53 | + |
| 54 | +- auth, sessions, tokens, security, secrets, redaction |
| 55 | +- migrations, persistence, deletion, import/export |
| 56 | +- capture, inbox, proposal review, execute, provenance |
| 57 | +- MCP or external-agent write surfaces |
| 58 | +- CI, project automation, scripts |
| 59 | +- broad frontend route/store/shell changes |
| 60 | + |
| 61 | +Use `taskdeck-pr-review-loop` and `taskdeck-ci-conflict-recovery` for review and recovery work. |
| 62 | + |
| 63 | +## Final Reconciliation |
| 64 | + |
| 65 | +Before handoff, reconcile: |
| 66 | + |
| 67 | +- `docs/STATUS.md` when shipped reality changed |
| 68 | +- `docs/IMPLEMENTATION_MASTERPLAN.md` when sequencing or delivery history changed |
| 69 | +- `docs/TESTING_GUIDE.md` when testing expectations or totals changed |
| 70 | +- `docs/MANUAL_TEST_CHECKLIST.md` or runbooks when manual verification became recurring |
| 71 | +- GitHub project `Status` and `Priority` when issue/PR state changed |
| 72 | + |
0 commit comments