Home / Market / orchestrate batch refactor

orchestrate batch refactor

Plan and execute large refactors with dependency-aware work packets and parallel analysis.

skill★ 507590 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: "orchestrate-batch-refactor" description: "Plan and execute large refactors with dependency-aware work packets and parallel analysis." risk: safe source: "Dimillian/Skills (MIT)" date_added: "2026-03-25"

---

Orchestrate Batch Refactor

Overview

Use this skill to run high-throughput refactors safely. Analyze scope in parallel, synthesize a single plan, then execute independent work packets with sub-agents.

When to Use

Inputs

When to Use Parallelization

Core Workflow

  1. Define scope and success criteria.
  1. Run parallel analysis first.
  1. Build one dependency-aware plan.
  1. Execute with worker agents.
  1. Integrate and verify.
  1. Report and close.

Work Packet Rules

Planning Contract

Every packet must include:

  1. Packet ID and objective.
  2. Owned files.
  3. Dependencies (none or packet IDs).
  4. Risks and invariants to preserve.
  5. Required checks.
  6. Integration notes for main thread.

Use references/work-packet-template.md for the exact shape.

Agent Prompting Contract

Safety Guardrails

Validation Strategy

Run in this order:

  1. Packet-level checks (fast and scoped).
  2. Cross-packet integration checks.
  3. Full project safety checks when scope is broad.

Prefer fast feedback loops, but never skip required behavior checks.

Limitations