Orchestrate parallel work

From dannys-code-corner/incan · View interactive version

Orchestrate parallel work is an AI agent skill from the GitHub repository dannys-code-corner/incan. Decompose a task into safe parallel sub-agent slices with explicit ownership, optional worktree isolation, per-worker plans, verification, and orchestrator-led integration. Use when the user explicitly asks for delegation, sub-agents, or parallel work and the task can be split into non-overlapping s

How to use this skill

Skill file

Orchestrate Parallel Work

When to use

Use this skill only when both are true:

Good fits:

Do not use this skill for:

Core principle

The orchestrator owns decomposition, dependency ordering, consistency, and integration.

Workers own bounded slices, produce their own small plan, execute within that scope, verify their slice, and report back. Workers do not invent scope, do not expand into adjacent areas, and do not integrate other workers' changes.

Workflow

Step 1: Decide whether parallelism is actually justified

Before spawning anything:

If the next local step depends on the result, keep that task local. Delegate only work that materially advances the goal without blocking the immediate next action.

Step 2: Define slices with explicit ownership

For each worker, define:

Good ownership examples:

Bad ownership examples:

Step 3: Choose isolation level

Use the lightest isolation that is honest about the risk:

If using worktrees:

Do not pretend isolated agent context is the same thing as a git worktree when true branch or file isolation matters.

Step 4: Spawn workers with a strict contract

Each worker prompt must include:

Require every worker to return:

Workers must be told:

Step 5: Keep orchestration disciplined

The orchestrator should:

Do not spawn a "watcher" review agent by default. A separate review agent is justified only when the integration risk is real, such as cross-cutting correctness, API consistency, or final review of a large merged result.

Step 6: Integrate centrally

The orchestrator owns the final merge of outcomes:

Workers do not integrate each other.

Worker plan template

Every worker should begin by producing a tiny plan in this shape:

## Slice plan
- Goal:
- Owned scope:
- Verification:
- Risks/blockers:

And end in this shape:

## Slice result
- Changed files:
- Verification:
- Open questions:
- Summary:

Parallelization heuristics

Parallelize by:

Do not parallelize by:

Relationship to other skills

If the task cannot be decomposed cleanly, do not force parallelism. Keep the work local.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.