Command Palette

Search for a command to run...

Назад к скиллам
скилл № 08935

delegate

Dispatch implementation tasks to agent teammates in git worktrees from a prepared capsule, then settle the batch. Triggers: 'delegate', 'dispatch tasks'…

БесплатноЗапускает вложенные скрипты
lvlup-swот lvlup-sw★ 19 звёзд на GitHub

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

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

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

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

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

Delegation Skill

Dispatch implementation tasks to subagents with full context, worktree isolation and verification scaled to risk. The skill has one flow: Prepare, Dispatch, Land, Review, Settle.

A normal workflow makes two Remit calls:

  1. remit prepare compiles one immutable capsule for the workflow. The capsule holds the task graph, the context and the result contract of each task, the verification terms and the authority that judges the work.
  2. remit settle judges one batch of evidence against that capsule. It verifies each accepted task, judges the critic claim at the integration tip, and moves the phase in its commit.

Between the two workflow calls, workers execute the pinned tasks with the harness's tools. Task verification may use the optional Testgen helper. A correction is another settle on the same capsule.

Triggers

Activate this skill when:

  • User runs delegate command
  • Implementation plan is ready with extractable tasks
  • User wants to parallelize work across subagents

Exception: oneshot workflows skip delegation. A oneshot runs one in-session task. If workflowType is oneshot, do not use this skill. See @skills/oneshot/SKILL.md.

Core Principles

Fresh Context Per Task (MANDATORY)

Each subagent MUST start with a clean, self-contained context:

  • No shared state assumptions. Every subagent prompt contains the full task description, file paths, verification requirements and acceptance criteria. Never say "see the plan" or "as discussed earlier."
  • No cross-agent references. Subagent A does not depend on output from subagent B, unless a dependency edge of the capsule graph orders them.
  • Isolated worktrees. Each subagent works in its own git worktree. Parallel agents in the same worktree corrupt branch state.

references/rationalization-refutation.md lists the excuses that break this principle.

Dispatch mode

Use the harness's native subagent tool for each task when available. Otherwise execute the tasks in order in-session, in the same isolated Git worktrees.

Model selection: a reasoning TIER, never a version

The tier for a task is the capsule term settlementContract.taskVerification[taskId].riskTier. Prepare froze it from the plan. Resolve the model tier from it through agents.tier-models (defaults low → haiku, medium → sonnet, high → opus). An operator can override the map in .remit.yml. If no term exists for a task (for example, a fixer dispatch outside a batch), omit model, so the dispatch takes the session default.

Three rules make the whole policy:

  1. Never write a model version anywhere. Do not write one in a dispatch, an agent spec, a skill or a prompt. No claude-*-YYYYMMDD, no -latest, no point releases. Pass the tier alias, and let the harness resolve it against its own catalog.
  2. Strength follows RISK, not role. The agent choice selects the role (implementer, fixer, reviewer, scaffolder). The tier selects the strength. Every shipped agent spec declares model: inherit.
  3. If you need a version, read the catalog. Do not recall one. A version from memory is stale.

Step 1: Prepare

Compile the capsule

For the first preparation of a new workflow, use the approved handoff from the plan skill. The coordinator supplies approvedFileSha256, the bare lowercase SHA-256 hex of the entire approved file as raw bytes. Use the checkout-relative designRef and the selected depth. Write the request to a file, and pass the file with --input:

Review the exact check commands and options with the operator. If you have no approval for this profile, omit verificationProfileDigest on the first request. VERIFICATION_APPROVAL_REQUIRED returns the resolved profile and its digest without recording a capsule. Submit that digest only after the operator approves the profile. Use the same approval for later requests while the profile is unchanged. If repository or task rules apply, review the effective policy with the operator. Include the approved digest as intent.approval.invariantPolicyDigest.

{
  "featureId": "add-email-validation",
  "repoRoot": "/project",
  "intent": {
    "mode": "bootstrap", "workflowType": "feature", "baseRef": "feat/add-email-validation",
    "designDepth": "standard", "designRef": "docs/specs/2026-02-28-add-email-validation.md",
    "approval": { "decision": "approved", "designDigest": "<approvedFileSha256>", "verificationProfileDigest": "<approvedVerificationProfileSha256>" }
  }
}
remit prepare --input prepare-request.json --json

For task knowledge, name invariants by catalog id and local decisions by id in the approved plan. For example, adrRefs: ["ADR-4"] binds .remit/knowledge/ADR-4.md. Each decision must be a UTF-8 file of at most 4,096 bytes. The task packet includes the decision text and the rationale for the requirements that the task implements.

An explicit flag wins over the same key of the file. For a short request

Полный SKILL.md на GitHub

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

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

Без ограничений — скилл может использовать любой инструмент.

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

  • references/fix-mode.md
  • references/fixer-prompt.md
  • references/fixer-prompt.md.test.sh
  • references/implementer-prompt.md
  • references/implementer-prompt.md.test.sh
  • references/parallel-strategy.md
  • references/pbt-patterns.md
  • references/rationalization-refutation.md
  • references/testing-patterns.md
  • references/troubleshooting.md
  • references/worked-example.md
  • references/worktree-enforcement.md

FAQ

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

Dispatch implementation tasks to agent teammates in git worktrees from a prepared capsule, then settle the batch. Triggers: 'delegate', 'dispatch tasks', 'assign work', or /delegate. Compiles the workflow with remit prepare, spawns one worker for each task context, lands each head on the integration ref, and submits the results with remit settle. Supports --fixes flag. Do NOT use for single-file changes or polish-track refactors.

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

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить delegate с