Command Palette

Search for a command to run...

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

execution

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

Phase execution methodology for orchestration workflows with error handling and completion protocols

jossteiот josstei★ 493 звезды на GitHub

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

Execution Skill

Activate this skill during Phase 3 (Execution) of Maestro orchestration. This skill defines how Maestro executes implementation phases through native subagent delegation.

Execution Mode Gate

Step 0 — Express bypass (early return)

If workflow_mode is express in the current session, STOP HERE. Do not proceed to the execution mode gate. Do not prompt the user. Do not resolve execution mode. Express always dispatches sequentially. Return to the Express Workflow and continue from the delegation step.

This gate MUST resolve before ANY delegation proceeds. Do not skip it. Do not defer it. Do not begin delegating to subagents until execution_mode is recorded in session state. If you reach a delegation step and execution_mode is not set, STOP and return here. Do not default to sequential.

Recording the mode

If no session exists yet (orchestrate step 21, or /maestro:execute before session creation), pass execution_mode to create_session, which sets execution_backend: 'native' itself. If a session already exists (resume), call update_session with { execution_mode, execution_backend: 'native' }.

Step 1 — Read the configured mode

Read MAESTRO_EXECUTION_MODE (default: ask).

  • If parallel: record parallel (see Recording the mode). Skip to delegation.
  • If sequential: record sequential (see Recording the mode). Skip to delegation.
  • If ask: proceed to Step 2.

Step 2 — Analyze the implementation plan

Before prompting the user, analyze the approved plan to generate a recommendation:

  1. Count total phases in the plan
  2. Count phases marked parallel: true (parallelizable phases)
  3. Count distinct parallel batches (groups of parallelizable phases at the same dependency depth)
  4. Count sequential-only phases (phases with blocked_by dependencies that prevent parallelization)
  5. Cross-check file ownership across all phases. If any two phases share a file in their files arrays, those phases CANNOT be parallel-eligible — subtract them from the parallelizable count. Report each overlap as an overlapping-file warning in the Step 4 question.
  6. If validate_plan was called during planning and returned a parallelization_profile, use its parallel_eligible and effective_batches counts as the authoritative source for items 1-5 above. These are computed from actual dependency depths and override any manual flag-based counts. If parallelization_profile is not available, use the counts from items 1-5 as-is.

Record these counts — they feed into the prompt.

Step 3 — Determine the recommendation

  • If parallelizable phases ≤ 1 → auto-select sequential. Record sequential (see Recording the mode). Inform the user: "All phases are sequential — no parallel batches available." Skip to delegation. Do NOT prompt with a choice. Do NOT call ask_user. Do NOT present options. (Parallelism requires at least 2 phases at the same dependency depth; a single parallel-eligible phase has nothing to batch with.)
WRONG — 1 parallel-eligible phase but user still prompted: Parallel-eligible Phases: 1 → Presented choice: "Sequential (Recommended)" / "Parallel"

When parallelizable phases ≤ 1, there is NO choice to make. Auto-select sequential and skip directly to delegation. Do not show a picker.

  • If parallelizable phases > 50% of total phases → recommend parallel
  • If parallelizable phases ≤ 50% but > 1 → recommend sequential (limited benefit)
  • The recommended option appears first in the ask_user options list with "(Recommended)" appended to its label. The non-recommended option MUST NOT include "(Recommended)" in its label.

Step 4 — Prompt the user

Call ask_user as a single-choice prompt using exactly one of these option sets:

When recommending parallel: options: - label: "Parallel (Recommended)" description: "Spawn child agents for each ready batch where file ownership does not overlap." - label: "Sequential (High Precision)" description: "Spawn one child agent at a time in dependency order."

When recommending sequential: options: - label: "Sequential (Recommended)" description: "Spawn one child agent at a time in dependency order." - label: "Parallel" description: "Spawn child agents for each ready batch where file ownership does not overlap."

WRONG — Both options labeled "(Recommended)": options: - label: "Parallel (Recommended)" - label: "Sequential (High Precision) (Recommended)"

Only ONE option receives the "(Recommended)" suffix. Never both.

Prompt using the user-prompt tool from runtime context; in the question text, state the Step 2 counts (parallelizable phases out of total, number of batches) and any overlapping-file warnings.

Step 5 — Record and proceed

  1. Record the selected execution_mode (see Recording the mode)
  2. Use the selected mode for the remainder of th
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Phase execution methodology for orchestration workflows with error handling and completion protocols

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

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

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

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

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

Сравнить execution с