agentleFS
tenforward-audiotenforward-audio/swe-harness/.agents/skills/coordinate-parallel-work/SKILL.md

coordinate-parallel-work

Skill0 starsChanged 3 months agoMITView on GitHub

Coordinate explicitly requested parallel engineering work across agents, lanes, or Git worktrees. Use to establish one parent outcome, a common base, non-overlapping ownership, dependencies, isolated mutating worktrees, and evidence handoff. Do not use for single-lane development, technical candidate review, integration, worktree removal, or remote actions.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the root AGENTS.md, the canonical workflow, and the contributing guide.

    line 16
  2. Distinctive:

    Do not turn another tracked identifier into a lane under that parent.

    line 22
  3. Distinctive:

    Create a durable branch before a lane's first checkpoint or review.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Coordinate Parallel Work

Execution mode

orchestrate-explicit

Establish the coordination boundary

  1. Confirm that the user explicitly requested parallel work. Do not introduce concurrent mutating lanes merely because a task can be decomposed.
  2. Read the root AGENTS.md, the canonical workflow, and the contributing guide.
  3. Require one selected parent card in progress before dispatch. If none exists, use manage-project-work to establish the user-selected outcome; do not invent or silently promote an intake item. Do not turn another tracked identifier into a lane under that parent; leave it in its current lifecycle location unless the user separately transitions it.
  4. Resolve the coordinating checkout, canonical ref, exact common-base commit, current worktrees, and unrelated working-tree changes before creating lanes.

An explicit parallel-work request authorises only the isolation needed for the requested lanes. It does not authorise integration, branch or worktree removal, history rewriting, push, publication, or other remote actions.

Design and dispatch bounded lanes

  • Give each lane a stable name, bounded output, read-only or mutating status, owned files or architectural boundary, dependencies, and verification duty.
  • Let read-only lanes share a checkout. Give every concurrent mutating lane a separate worktree created from the recorded common base and non-overlapping ownership. Never check out one branch in multiple worktrees.
  • Assign a shared API, schema, generated artifact, migration, or stateful resource to one lane, or complete it first as an explicit dependency.
  • Create a durable branch before a lane's first checkpoint or review. Do not reuse a completed branch for a different change.
  • Record the lane names, common base, dependencies, owned boundaries, branch, and worktree state on the parent card without machine-specific absolute paths.
  • Direct each mutating lane to follow develop-project. Background lanes return commits and evidence, leave their branches pinned to those commits, and do not change canonical queues or boards.

Reconcile evidence without integrating

  • Collect each lane's exact commit, checks, observed and unobserved evidence, conflicts, dependency results, and review notes.
  • Audit each lane from the common base for scope overlap and changes to root instructions or .agents/. Treat stale or unauthorised canonical-state edits as a scope leak and keep the coordinating checkout authoritative.
  • Quarantine a lane with committed canonical-state drift or unsafe overlap. Preserve its evidence and request a clean replacement instead of rebasing, merging, or deleting it to hide the problem.
  • Send defined candidates through review-project-change. Keep lane worktrees and branches until their evidence is returned and any separately authorised integration or handoff is complete.

Coordination completes with a lane inventory and evidence handoff. Use integrate-reviewed-change only after the user explicitly approves integration. Once a lane's integration or handoff is complete and the user has accepted or explicitly declared the lane complete, name its retained local worktree and branch and offer optional cleanup through clean-up-worktree. Do not infer cleanup authority from coordination, review, acceptance, or handoff authority.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.