Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dispatch

БесплатноБез исполняемых скриптовНе проверен

Use when a task file exists in .hyperflow/tasks/ and workers need dispatching. Fans out parallel workers under per-batch Reviewers, runs a final integration…

jeremylongshoreот jeremylongshore★ 2 961 звезда на GitHub

Об этом скилле

Dispatch

Workhorse phase. Picks up a task file from /hyperflow:plan and runs it through the orchestrator pattern with parallel worker dispatch and multi-level reviews.

This skill exercises Layer 3 (Orchestrator), Layer 5 (Quality Gates), Layer 6 (Project Memory), Layer 8 (Git Workflow), and Layer 9 (Security) from the doctrine. Multi-level review (L1–L5) is applied per the triage's flow profile.

Per-Step Agent Map (DOCTRINE rule 12 — §12.1 inline-allowed for trivial steps · §12.2 sub-phase decomposition)

Every substantive step dispatches at least one Agent. Trivial steps (≤ 2 tool calls, no content generation, no decision-making, mechanically verifiable) MAY be performed inline by the orchestrator per §12.1. Non-trivial steps decompose into ≥ 2 named sub-phases per §12.2.

Step Sub-phase Workers Reviewer Notes
0 — Mode confirm — (exempt) — — AskUserQuestion only
0.5 — Operational choices — (exempt) — — AskUserQuestion only
1 — Load task — (atomic · §12.2.8) — — Read + schema check = single mechanical decision; no parallel angles
2a — Pre-dispatch Composer × N parallel — one per sub-task; stitches persona + injects learnings Reviewer — reviews prompt set for completeness Parallel worker prompts built before any fan-out fires
2b — Worker fan-out Implementer / Searcher / Writer × N parallel Domain specialist Reviewer — the Specialist:-matched agent, batched over full batch (P2) or per-sub-task fallback One Reviewer call per batch; security/correctness specialists run with --thorough
2c — Gate run Worker — runs lint/typecheck/tests on affected files Reviewer — judges gate output Small focused diff
2d — Learnings + commit Writer — synthesizes per-batch learnings — (mechanical commit · §12.1) Per-sub-task PASS commits land here; learnings appended to context
3 — Final integration review — (atomic · §12.2.8) Reviewer — broadest matching specialist(s), L1–L over full diff Single Reviewer dispatch; skipped under D7 incl. single-specialist coverage (rule 17)
4 — Wrap up Writer — optional; only if memory prose is non-trivial — §12.1 trivial-inline; no Reviewer (D5)
5 — End of chain — (exempt) — ONE AskUserQuestion with audit + deploy questions

Iron rule — review agents ≥ batches + 1 (one batched Reviewer per batch + final integration when not skipped). The batched Reviewer counts as 1 per batch regardless of how many sub-tasks are in the batch. If less, a per-step reviewer was skipped.

Review Levels (scale by flow profile)

Every batch reviewer and the final integration reviewer uses the level set below. Profile comes from /hyperflow:plan triage and is propagated via the chain args (triage=).

Profile Levels Workers Reviewers
fast L1 1 inline self-review only
standard L1–L2 default 1–2 1 per-batch reviewer
deep L1–L5 3+ per-batch + final integration
research L1–L2 + synthesis 3+ searchers inline synthesis
creative L1–L3 + UX 1–2 1 reviewer
scientific L1–L5 + TDD 2–3 per-batch + final

L1 syntax/format · L2 spec/naming/edges · L3 integration/security · L4 perf/scale · L5 a11y/UX. See review-levels.md for the full checklist.

Default cap is L1-L2. Triage may flag security: true or integration_risk: true in its output; when either is set, the cap elevates to L1-L3 for both per-batch and final integration reviewers. Workers do NOT request elevation — only the upstream triage classification can elevate. See reviewer-prompt-batched.md — workers must honor the cap passed to them (cap enforcement lives on the reviewer-prompt side).

Approval Gates

Gate When Format
Session context Step 0, resolved (not asked) inherited session= / handoff HANDOFF.md / default one
Phase-dispatch scope Step 1.5, feature mode with ≥ 2 incomplete phases AskUserQuestion — all phases / phase by phase
Inter-batch (manual mode only) After each batch's gates pass AskUserQuestion — continue / stop. Auto mode fires NO inter-batch question — see DOCTRINE rule 8 (invented gates banned).
Hard halt Any SECURITY_VIOLATION from a reviewer Stop the chain, surface the finding
Audit prompt Step 5, after wrap-up AskUserQuestion — run /hyperflow:audit? (yes/no, recommended toggles with flow profile)
Deploy prompt Step 5, after audit gate AskUserQuestion — run /hyperflow:deploy? (yes/no, recommended toggles with gate state)

Inputs

  • Task artefact — positional arg (slug or path): either a flat .hyperflow/tasks/<slug>.md or a feature folder .hyperflow/features/<slug>/ (see ../hyperflow/feature-phases.md). Default — the most-recently-modified of either.
  • **Handoff
Полный SKILL.md на GitHub

Установить dispatch в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash(git:*)
Bash(gh:*)
Bash(grep:*)
Bash(rm:*)
Bash(bash:*)
Bash(python3:*)
Agent
Skill
AskUserQuestion

Вложенные файлы

references/examples.mdreferences/git-workflow.mdreferences/memory-system.mdreferences/output-style.mdreferences/quality-gates.mdreferences/review-levels.mdreferences/reviewer-prompt.mdreferences/worker-prompt.md

FAQ

Что делает скилл dispatch?

Use when a task file exists in .hyperflow/tasks/ and workers need dispatching. Fans out parallel workers under per-batch Reviewers, runs a final integration review, and commits per sub-task. Endpoint of the auto-chain — no auto-deploy. Trigger with /hyperflow:dispatch, "run the plan", "execute the task", "build it", "run the batches".

Как установить скилл dispatch?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dispatch запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dispatch с