Command Palette

Search for a command to run...

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

parallel-execution-optimizer

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

Identify and execute independent operations in parallel for 3-5x speedup. Auto-analyzes task dependencies, groups into batches, launches parallel Task()…

marcusgollот marcusgoll★ 97 звёзд на GitHub9 установок в других каталогах

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

The parallel-execution-optimizer skill transforms sequential workflows into concurrent execution patterns, dramatically reducing wall-clock time for phases with multiple independent operations.

Traditional sequential execution wastes time:

  • /optimize runs 5 quality checks sequentially (10-15 minutes)
  • /ship runs 5 pre-flight checks sequentially (8-12 minutes)
  • /implement processes tasks one-by-one despite no dependencies
  • Prototype screens generated sequentially when all could run in parallel

This skill analyzes operation dependencies, groups independent work into batches, and orchestrates parallel execution using multiple Task() agent calls in a single message. The result: 3-5x faster phase completion with zero compromise on quality or correctness.

When you detect multiple independent operations, send **a single message** with multiple tool calls:

Sequential (slow):

  • Send message with Task call for security-sentry
  • Wait for response
  • Send message with Task call for performance-profiler
  • Wait for response
  • Send message with Task call for accessibility-auditor
  • Total: 15 minutes

Parallel (fast):

  • Send ONE message with 3 Task calls (security-sentry, performance-profiler, accessibility-auditor)
  • All three run concurrently
  • Total: 5 minutes
  1. /optimize phase: Run 5 quality checks in parallel (security, performance, accessibility, code-review, type-safety)
  2. /ship pre-flight: Run 5 deployment checks in parallel (env-vars, build, docker, CI-config, dependency-audit)
  3. /implement: Process independent task batches in parallel layers
  4. Design variations: Generate multiple mockup variations concurrently
  5. Research phase: Fetch multiple documentation sources concurrently
**Identify independent operations**

Scan the current phase for operations that:

  • Read different files/data sources
  • Don't modify shared state
  • Have no sequential dependencies
  • Can produce results independently

Examples:

  • Quality checks (security scan + performance test + accessibility audit)
  • File reads (spec.md + plan.md + tasks.md)
  • API documentation fetches (Stripe docs + Twilio docs + SendGrid docs)
  • Test suite runs (unit tests + integration tests + E2E tests)
**Analyze dependencies**

Build a dependency graph:

  • Layer 0: Operations with no dependencies (can run immediately)
  • Layer 1: Operations depending only on Layer 0 outputs
  • Layer 2: Operations depending on Layer 1 outputs
  • etc.

Example (/optimize):

Layer 0 (parallel):
  - security-sentry (reads codebase)
  - performance-profiler (reads codebase + runs benchmarks)
  - accessibility-auditor (reads UI components)
  - type-enforcer (reads TypeScript files)
  - dependency-curator (reads package.json)

Layer 1 (after Layer 0):
  - Generate optimization-report.md (combines all Layer 0 results)
**Group into batches**

Create batches for each layer:

  • All Layer 0 operations in single message (parallel execution)
  • Wait for Layer 0 completion
  • All Layer 1 operations in single message
  • Continue through layers

Batch size considerations:

  • Optimal: 3-5 operations per batch (balanced parallelism)
  • Maximum: 8 operations (avoid overwhelming system)
  • Minimum: 2 operations (below 2, parallelism has no benefit)
**Execute parallel batches**

Send a single message with multiple tool calls for each batch.

Critical requirements:

  • Must be a single message with multiple tool use blocks
  • Each tool call must be complete and independent
  • Do not use placeholders or forward references
  • Each agent must have all required context in its prompt

See references/execution-patterns.md for detailed examples.

**Aggregate results**

After each batch completes:

  • Collect results from all parallel operations
  • Check for failures or blocking issues
  • Decide whether to proceed to next layer
  • Aggregate findings into unified report

Failure handling:

  • If any operation blocks (critical security issue), halt pipeline
  • If operations have warnings (minor performance issue), continue but log
  • If operations fail (agent error), retry individually or escalate
**Operation**: Run 5 quality gates in parallel

Dependency graph:

Layer 0 (parallel - 5 operations):
  1. security-sentry → Scan for vulnerabilities, secrets, auth issues
  2. performance-profiler → Benchmark API endpoints, detect N+1 queries
  3. accessibility-auditor → WCAG 2.1 AA compliance (if UI feature)
  4. type-enforcer → TypeScript strict mode compliance
  5. dependency-curator → npm audit, outdated packages

Layer 1 (sequential - 1 operation):
  6. Generate optimiz
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

examples/optimize-phase-parallel.mdreferences/dependency-analysis-guide.mdreferences/execution-patterns.mdreferences/troubleshooting.md

FAQ

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

Identify and execute independent operations in parallel for 3-5x speedup. Auto-analyzes task dependencies, groups into batches, launches parallel Task() calls. Applies to /optimize (5 checks), /ship pre-flight (5 checks), /implement (task batching), /prototype (N screens). Auto-triggers when detecting multiple independent operations in a phase.

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

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

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

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

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

Сравнить parallel-execution-optimizer с