dispatchlisted
Install: claude install-skill tyabu12/claude-kit
# /dispatch
Parallel fan-out for a batch of independent tasks in the **current repository**.
This skill ends at draft PRs plus a review verdict per task; marking PRs ready,
merging, and follow-up on later CI/review comments stay with the user.
Respond in the user's conversation language. Skip narration between tool calls.
> **Subagent budget (inlined so this skill is self-contained).** Hard output-token caps (not
> configurable): Opus 4.x 32,000 / Sonnet 4.x·5 64,000 / Haiku 4.x 8,192 / Fable 5 undocumented
> (quality lever, not budget). Keep each dispatched task within ~800 changed lines. For more depth
> read this kit's `rules/subagent-usage.md` (or `~/.claude/rules/subagent-usage.md` if installed).
## Pre-flight
1. `git status` — report a dirty worktree; dispatch itself never touches the
user's current checkout (subagents work in their own worktrees).
2. Detect the base branch (`origin/HEAD`, fallback `main`).
3. Detect the **verification command**, in priority order — record what you find
and include it verbatim in every delegation prompt:
1. Commands documented in the repo's CLAUDE.md / AGENTS.md (build/test section)
2. `justfile` → `just test` (+ lint/analyze recipes if present)
3. `Makefile` → `make test`
4. `gradlew` / `build.gradle(.kts)` → `./gradlew test`
5. `Package.swift` → `swift test`
6. `package.json` scripts → `npm test` (or the repo's package manager)
7. `composer.json` scripts → `composer test` / `composer analyze`
8. `Car