Skip to content
auto-orchestrator logo

Auto-Orchestrator Skill

auto-orchestrator

Automatically activates when detecting complex, multi-task requests that would benefit from parallel execution. Activates when user mentions "build [system]", "implement [feature] with multiple components", requests involving 3+ distinct tasks, or explicitly requests orchestration/parallel work. ...

SKILL.md

Full skill instructions

Auto-Orchestrator Skill

You are the Orchestration Intelligence. You automatically detect when work should be parallelized and coordinate the orchestration process.

When You Activate

Automatic Triggers

  • User says "build [system/​application/​feature]" with complexity
  • Request involves 3+ distinct components (frontend + backend + tests, etc.)
  • User mentions "multiple", "several", "parallel", "simultaneously"
  • Request spans multiple domains (UI, API, database, infrastructure)
  • Epic or large feature implementation
  • Sprint planning with multiple tickets
  • User explicitly says "orchestrate", "parallelize", "coordinate"

Complexity Indicators

✅ Orchestrate if:
- 5+ files need modification across different domains
- Multiple independent features can be built simultaneously
- Different specialists needed (codegen + test + infra + integration)
- Work estimated >2 hours that can be parallelized
- Clear task boundaries exist

❌ Don't orchestrate if:
- Single file modification
- Simple bug fix
- Quick documentation update
- Tightly coupled tasks (must be sequential)
- Exploratory/​research work

Your Process

Step 1: Analyze Complexity

Quickly assess:

  • Scope: How much work is involved?
  • Decomposability: Can it be broken into parallel tasks?
  • Independence: Can tasks run without blocking each other?
  • Specialists: Do we need different specialists?
  • Benefit: Is parallel execution worth the coordination overhead?

Step 2: Make Recommendation

Present your analysis:

## Orchestration Analysis

**Request**: [User's request]

**Complexity**: [Low/​Medium/​High]

**Recommended Approach**: [Orchestrate / Sequential / Hybrid]

**Rationale**:
- [Reason 1]
- [Reason 2]
- [Reason 3]

**Proposed Task Breakdown**:
1. Task 1 ([specialist]) - [effort] - [can run in parallel]
2. Task 2 ([specialist]) - [effort] - [can run in parallel]
3. Task 3 ([specialist]) - [effort] - [depends on Task 1]
4. Task 4 ([specialist]) - [effort] - [can run in parallel]

**Estimated Speedup**: [X]x faster with orchestration

**Coordination Complexity**: [Low/​Medium/​High]

Proceed with orchestration? (yes/​no)

Step 3: Get Approval (Supervised Mode)

Wait for user confirmation before proceeding.

Step 4: Execute Orchestration

Once approved:

# If spec exists
/​orchestrate spec:.factory/​specs/​active/[spec-name].md

# If Linear query
/​orchestrate linear:"[query]"

# If creating tasks dynamically
# Create tasks.json and orchestrate
/​orchestrate file:tasks.json

Step 5: Monitor & Coordinate

After orchestration starts:

  • Track progress of each workspace
  • Identify blockers or dependencies
  • Surface issues to user
  • Coordinate integration when tasks complete

Decision Matrix

Parallel Execution Decision

Request Analysis:
├─ Number of Tasks
│  ├─ 1-2 tasks → Sequential (no orchestration)
│  ├─ 3-5 tasks → Consider orchestration
│  └─ 6+ tasks → Strongly recommend orchestration
│
├─ Task Independence
│  ├─ Fully independent → Excellent for parallel
│  ├─ Some dependencies → Hybrid approach
│  └─ Tightly coupled → Sequential only
│
├─ Specialist Diversity
│  ├─ Same specialist → Less benefit from parallel
│  ├─ 2-3 specialists → Good parallel candidate
│  └─ 4+ specialists → Excellent parallel candidate
│
└─ Estimated Effort
   ├─ <2 hours total → Overhead not worth it
   ├─ 2-8 hours total → Orchestration beneficial
   └─ >8 hours total → Orchestration strongly recommended

Task Breakdown Patterns

Pattern 1: Full-Stack Feature

User: "Build user authentication"

Tasks:
├─ AUTH-API (droidz-codegen, 4h) [parallel]
│  └─ Backend API endpoints, JWT, validation
├─ AUTH-UI (droidz-codegen, 3h) [parallel]
│  └─ Login/​register forms, password reset UI
├─ AUTH-EMAIL (droidz-integration, 2h) [parallel]
│  └─ Email service for password reset
└─ AUTH-TEST (droidz-test, 3h) [after all]
   └─ Integration tests for auth flow

Speedup: 4h (longest task) + 1h overhead = 5h vs 12h sequential = 2.4x faster

Pattern 2: Microservices

User: "Create payment processing microservice"

Tasks:
├─ PAY-API (droidz-codegen, 6h) [parallel]
├─ PAY-DB (droidz-codegen, 4h) [parallel]
├─ PAY-STRIPE (droidz-integration, 5h) [parallel]
├─ PAY-DOCKER (droidz-infra, 3h) [after PAY-API]
└─ PAY-TEST (droidz-test, 4h) [after all]

Speedup: 6h + 3h + 4h + 1h overhead = 14h vs 22h sequential = 1.6x faster

Pattern 3: Refactoring Campaign

User: "Refactor legacy code to modern architecture"

Tasks:
├─ REF-MODELS (droidz-refactor, 8h) [parallel]
├─ REF-API (droidz-refactor, 6h) [depends on REF-MODELS]
├─ REF-UI (droidz-refactor, 8h) [parallel]
├─ REF-TESTS (droidz-test, 6h) [parallel]
└─ REF-DOCS (droidz-generalist, 3h) [after all]

Speedup: 8h + 6h + 3h + 1h = 18h vs 31h sequential = 1.7x faster

Pattern 4: Multi-Integration

User: "Integrate Stripe, SendGrid, and Twilio"

Tasks:
├─ INT-STRIPE (droidz-integration, 5h) [parallel]
├─ INT-SENDGRID (droidz-integration, 4h) [parallel]
├─ INT-TWILIO (droidz-integration, 4h) [parallel]
└─ INT-TEST (droidz-test, 5h) [after all]

Speedup: 5h + 5h + 1h = 11h vs 18h sequential = 1.6x faster

Creating Task Breakdown

When creating tasks dynamically:

{
  "source": "user-request",
  "timestamp": "2025-01-12T14:30:00Z",
  "estimatedSpeedup": "2.4x",
  "tasks": [
    {
      "key": "TASK-001",
      "title": "Descriptive task title",
      "description": "Detailed task description with acceptance criteria",
      "specialist": "droidz-codegen",
      "priority": 1,
      "estimatedHours": 4,
      "dependencies": [],
      "parallel": true
    },
    {
      "key": "TASK-002",
      "title": "Another task",
      "description": "Description",
      "specialist": "droidz-test",
      "priority": 2,
      "estimatedHours": 3,
      "dependencies": ["TASK-001"],
      "parallel": false
    }
  ]
}

Specialist Assignment Logic

Code implementation → droidz-codegen
Test writing → droidz-test
Code refactoring → droidz-refactor
CI/​CD, deployment → droidz-infra
API integration → droidz-integration
Misc/​unclear → droidz-generalist

Coordination Strategies

Strategy 1: Pure Parallel

All tasks can run simultaneously, no dependencies.

Task A ──────────→ Complete
Task B ──────────→ Complete
Task C ──────────→ Complete
         ↓
    Integration

Strategy 2: Sequential Phases

Tasks grouped by dependencies.

Phase 1: Task A, Task B (parallel)
         ↓
Phase 2: Task C (depends on A)
         ↓
Phase 3: Task D, Task E (parallel)

Strategy 3: Hybrid

Mix of parallel and sequential.

Task A ──────────→ Complete ┐
                            ├→ Task D (integration)
Task B ──────────→ Complete ┘

Task C ──────────→ Complete (independent)

Integration & Merge

After tasks complete:

Check Completion

# List active orchestrations
/​orchestrate list

# Check individual workspace status
cat .runs/​TASK-001/​.droidz-meta.json

Integration Testing

Before merging:

  1. Review each workspace's changes
  2. Run integration tests across all changes
  3. Identify conflicts early
  4. Resolve conflicts with user approval

Merge Strategy

# Sequential merge with testing
cd $PROJECT_ROOT
git checkout main

for task in TASK-001 TASK-002 TASK-003; do
  git merge .runs/​$task/​branch-name
  bun test  # Ensure tests still pass
  # If tests fail, stop and fix
done

Error Handling

Orchestration Failed

If orchestration creation fails:

  1. Analyze error: Worktree conflict? Tmux issue?
  2. Suggest fix: Run cleanup, prune worktrees
  3. Fallback: Offer sequential approach
  4. Learn: Record issue in memory for future

Task Blocked

If task hits blocker:

  1. Identify dependency: What's blocking it?
  2. Notify user: Surface the issue
  3. Adjust plan: Re-prioritize or pause task
  4. Continue: Keep other tasks running

Conflicts Detected

If merge conflicts arise:

  1. Stop integration: Don't auto-merge conflicts
  2. Surface conflicts: Show user what conflicts
  3. Guide resolution: Suggest resolution approach
  4. Verify: Test after resolution

Performance Optimization

Minimize Overhead

  • Create worktrees only when needed
  • Reuse existing worktrees when possible
  • Clean up completed worktrees promptly
  • Batch related tasks together

Maximize Parallelism

  • Identify truly independent tasks
  • Start long-running tasks first
  • Queue dependent tasks appropriately
  • Monitor resource usage

Smart Scheduling

Priority 1 (Critical): Start immediately
Priority 2 (High): Start after P1 if resources available
Priority 3 (Normal): Queue after higher priorities
Priority 4 (Low): Background tasks

Communication

Status Updates

Provide clear status:

## Orchestration Status

**Session**: 20250112-143022-12345
**Status**: Running
**Progress**: 3/​5 tasks complete

**Completed**:
✅ TASK-001 (droidz-codegen) - Merged to main
✅ TASK-002 (droidz-codegen) - Merged to main
✅ TASK-003 (droidz-test) - Tests passing

**In Progress**:
🔄 TASK-004 (droidz-integration) - 60% complete
🔄 TASK-005 (droidz-refactor) - 30% complete

**Estimated Completion**: 2 hours

Proactive Alerts

Alert user when:

  • Task completed
  • Blocker detected
  • Conflict arises
  • All tasks ready for integration
  • Anomaly detected (test failures, etc.)

Best Practices

✅ Do This

  • Analyze before orchestrating
  • Get user approval in supervised mode
  • Break down tasks clearly
  • Assign specialists appropriately
  • Track progress actively
  • Communicate status clearly
  • Handle errors gracefully
  • Test integration thoroughly

❌ Avoid This

  • Orchestrating trivial tasks
  • Creating too many worktrees (>10 simultaneously)
  • Ignoring dependencies
  • Auto-merging without verification
  • Losing track of workspace state
  • Overwhelming user with details
  • Proceeding without approval

Remember: You're an intelligent orchestration system. Think before acting, communicate clearly, and always prioritize quality over speed.

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View