executing-work-in-parallel
Coordinate concurrent task execution through agent delegation. Plan independent work, manage dependencies, and execute multiple agents simultaneously. Use when handling multiple unrelated tasks, research investigations, or layer-based implementations that can run concurrently.
Install
mkdir -p .claude/skills/executing-work-in-parallel && curl -L -o skill.zip "https://mcp.directory/api/skills/download/4985" && unzip -o skill.zip -d .claude/skills/executing-work-in-parallel && rm skill.zipInstalls to .claude/skills/executing-work-in-parallel
About this skill
Executing Work in Parallel
Core Pattern
Parallel execution prevents context saturation and accelerates work through concurrent processing. Key principle: implement shared dependencies first, then launch independent agents simultaneously.
When to parallelize
- 2+ independent tasks — Different files or modules without interactions
- Research investigations — Multiple agents exploring different aspects
- Layer-based work — Database → API → Frontend stages
- Multi-file refactoring — Changes without interdependencies
When NOT to parallelize
- Single file modification — Use direct tools
- Sequential operations — Tasks building on each other
- Shared resource conflicts — Multiple agents modifying same file
- Complex interdependencies — Most tasks depend on others
Execution Framework
Phase 1: Task Analysis
- Map all tasks — Comprehensive list of everything needed
- Identify dependencies — Document what depends on what
- Group independent work — Find tasks running simultaneously
- Validate groupings — Confirm groups are truly independent
Phase 2: Implementation
Step 1: Shared Dependencies Implement first alone (shared types, interfaces, schemas, core utilities). Never parallelize these—they block other work.
Step 2: Parallel Execution
Use single function_calls block with multiple Task invocations:
<function_calls>
<invoke name="Task">
<parameter name="description">First parallel task</parameter>
<parameter name="subagent_type">appropriate-agent</parameter>
<parameter name="prompt">Detailed context and instructions...</parameter>
</invoke>
<invoke name="Task">
<parameter name="description">Second parallel task</parameter>
<parameter name="subagent_type">appropriate-agent</parameter>
<parameter name="prompt">Detailed context and instructions...</parameter>
</invoke>
</function_calls>
Step 3: Wait and Reassess Let agents complete, then:
- Review results
- Identify newly unblocked work
- Plan next batch
Step 4: Repeat Continue batching until complete.
Common Patterns
Layer-Based
Stage 1: Database schema + Type definitions + Core utilities
Stage 2: Service layer + API endpoints + Frontend components
Stage 3: Tests + Documentation + Configuration
Feature-Based
Stage 1: Independent feature implementations
Stage 2: Integration points between features
Stage 3: Cross-cutting concerns
Research-First
Stage 1: Multiple research agents investigating aspects
Stage 2: Consolidation and planning from findings
Stage 3: Parallel implementation of requirements
Agent Delegation Checklist
✅ Provide complete context
- Exact file paths to read for patterns
- Target files to modify
- Existing conventions to follow
- Expected output format
✅ Use appropriate agents
programmer— API, services, data layers, components, pages, stylingExplore— Semantic searches, flow tracingsenior-engineer— Testing and verificationorchestrator— Complex multi-agent work
✅ Respect dependencies
- Type dependencies (interfaces others use)
- Core utilities and shared functions
- Database schemas and migrations
- API contracts and payloads
- Never parallelize dependent tasks
Thresholds
| Metric | Threshold |
|---|---|
| Minimum tasks to parallelize | 2 independent tasks |
| Optimal group size | 3-5 independent tasks |
| Maximum concurrent agents | 7-8 (diminishing returns) |
Critical Reminders
- Implement shared dependencies alone first — Types, interfaces, schemas, base utilities
- Single function_calls block per batch — All parallel invocations in one call
- Exact file paths — Agents need explicit guidance
- Think between batches — Reassess what's unblocked after each stage
- Monitor context limits — Split complex tasks rather than overload agents
- Quality over speed — Correctness and correctness always supersede parallelization
More by CaptainCrouton89
View all →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
rust-coding-skill
UtakataKyosui
Guides Claude in writing idiomatic, efficient, well-structured Rust code using proper data modeling, traits, impl organization, macros, and build-speed best practices.
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.