Command Palette

Search for a command to run...

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

swarm-execute

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

Execute an implementation plan with parallel worker swarms, quality gates, and native task tracking — a user-invoked Execution Orchestrator workflow.

dralgorhythmот dralgorhythm★ 136 звёзд на GitHub

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

Execution Orchestrator

Execute plans using parallel worker swarms with quality gates and native task-list tracking.

MCP Tools

Context7 (documentation):

  • Research implementation patterns
  • Verify API usage

CLI Tools

gh (GitHub CLI):

  • Use gh pr create for creating pull requests
  • Use gh pr view to check PR status
  • Use gh issue list for issue tracking

Execution Workflow

  1. Discover — Find available work via TaskList (unblocked, not-yet-started tasks)
  2. Claim — Mark the task in progress via TaskUpdate (status: in_progress)
  3. Analyze — Check the task's blockedBy dependencies to confirm it is actually unblocked
  4. Execute — Launch parallel workers for independent tasks
  5. Gate — Run quality gates before marking tasks complete
  6. Close — Mark complete via TaskUpdate (status: completed)
  7. Push — Push to remote (MANDATORY)

Context Efficiency

  1. Workers inherit session context - CLAUDE.md and rules are loaded, but workers use focused instructions
  2. Narrow scope - Each worker focuses on one task, sized to roughly 200-400 changed LOC or 15-45 minutes of focused work (review effectiveness collapses beyond ~400 LOC — SmartBear/Cisco)
  3. Guided behavior - Agent instructions define scope, permissionMode controls access
  4. Right-sized models - see Worker Types below for the tiering pointer

Worker Types

Worker Primary Use
worker-explorer Fast codebase search, web research, dependency mapping
worker-builder Implementation, testing, refactoring
worker-reviewer Code review, security audit, quality assessment
worker-research Deep multi-source investigation, technology evaluation
worker-architect Complex design decisions, ADRs, system architecture

Model tiers are pinned in each agent's frontmatter (.claude/agents/) — that is the single source of truth.

Worker Focus Modes

Orchestrators specialize workers by specifying a focus mode in the prompt.

worker-builder focus modes:

  • implementation (default): Write code per specification
  • testing: Write tests, cover happy path and edge cases, ensure deterministic
  • refactoring: Extract patterns, simplify conditionals, apply SOLID/DRY. Follow Two Hats Rule (see code-quality.md)

worker-reviewer focus modes:

  • quality (default): Code review checklist — naming, style, tests, patterns
  • security: OWASP Top 10 scan, hardcoded secrets, auth/authz flows, input validation. Reference CWE IDs. See security.md
  • performance: N+1 queries, blocking I/O, allocations, pagination, caching. See code-quality.md

Quality Gates

Run quality gates per code-quality.md — all must pass. No exceptions.

Coordination Protocol

  1. Orchestrator decomposes work into tasks via TaskCreate, with acceptance criteria and blockedBy dependencies — each unit shaped to merge to main independently (trunk-based, per core-directives)
  2. Orchestrator claims a task on behalf of a worker: TaskUpdate (status: in_progress)
  3. Workers execute their assigned task following AGENTS.md "Landing the Plane" workflow — workers do NOT touch the task list themselves
  4. Workers report completion (and any follow-up work discovered) back to the orchestrator
  5. Orchestrator integrates, verifies, and updates the task list based on worker reports

Worker Completion Requirements

Workers do not have direct access to the native task list — the orchestrator owns it. Which completion mode a worker follows depends on its isolation frontmatter; see AGENTS.md "Landing the Plane" for the canonical two-mode protocol (Mode A: isolated worktree workers commit-and-report; Mode B: non-isolated agents push directly).

worker-builder runs isolated (isolation: worktree) — every other worker in this table does not. For an isolated worker's completed task, the orchestrator:

  1. Merges the worker's worktree branch into the feature branch with git merge --ff-only
  2. Re-runs quality gates on the merged result — a worker's local gate pass does not substitute for the orchestrator's own verification
  3. Pushes the feature branch to remote (mandatory — see Core Directives "Constraints" for the Ship It rule)
  4. Cleans up the worker's worktree
  5. Marks the task completed via TaskUpdate, and files any follow-up work the worker reported via TaskCreate

The feature branch itself PRs to main directly when its unit is complete — trunk-based. A unit that depends on unmerged work waits for that work to land on main and then branches from main; never open a PR whose base is another unit's branch.

Checkpointing

For long-running tasks, the orchestrator records progress on the task via TaskUpdate (metadata/comments), e.g.:

  • "Completed step 1: schema migration"
  • "Completed step 2: API endpoints"
  • "In progress: integration tests"

Error Handling

If a worker fails:

  1. Orchestrator marks the task block
Полный SKILL.md на GitHub

Установить swarm-execute в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл swarm-execute?

Execute an implementation plan with parallel worker swarms, quality gates, and native task tracking — a user-invoked Execution Orchestrator workflow.

Как установить скилл swarm-execute?

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

Скилл swarm-execute запускает скрипты?

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

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

Сравнить swarm-execute с