agentleFS
DojoGenesisDojoGenesis/openclaw-plugin/skills/parallel-tracks/SKILL.md

parallel-tracks

Skill0 starsChanged 9 months agoMITView on GitHub

Split large tasks into independent parallel tracks to maximize velocity. Use when coordinating multiple parallel development streams or organizing dependent tracks. Trigger phrases: 'split into parallel tracks', 'organize these tracks', 'phased parallelism', 'coordinate parallel development', 'define track dependencies'.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a dependency graph to visualize the relationships between the tracks.

    line 53
  2. Distinctive:

    When tracks have dependencies, organize them into execution phases:

    line 67
  3. Distinctive:

    Create shared types, interfaces, or utilities that multiple tracks need

    line 72
  4. Distinctive:

    After the user confirms to proceed:

    line 113
  5. Very specific:

    Verify each track's compilation gate passes (go build ./..., cargo check, npx tsc --noEmit, or equivalent)

    line 115
  6. Distinctive:

    Run integration tests to verify interface contracts

    line 116
  7. Distinctive:

    Run the full test suite

    line 119
  8. Distinctive:

    Before commissioning the tracks, ensure you can answer "yes" to all of the following questions:

    line 136
  9. Distinctive:

    If you cannot answer "yes" to all of these, revisit the planning phase before proceeding.

    line 146
  10. Distinctive:

    When running inside the Dojo Genesis plugin:

    line 152
  11. Very specific:

    Save: all outputs using dojo_save_artifact with appropriate artifact types:

    line 156

≈ “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

Parallel Tracks Pattern Skill

OpenClaw Integration: This skill is invoked by the Dojo Genesis plugin via /dojo tracks or /dojo run parallel-tracks. The agent receives project context automatically via the before_agent_start hook. Use dojo_get_context for full state, dojo_save_artifact to persist outputs, and dojo_update_state to record phase transitions and decisions.

Version: 1.1 Created: February 7, 2026 Author: Manus AI Purpose: To provide a structured, repeatable process for planning and executing large development tasks in parallel, significantly reducing timelines while improving focus and architectural discipline.


I. The Philosophy: From Sequence to Simultaneity

In complex software development, the default is often sequential execution: one task must finish before the next can begin. This creates bottlenecks, extends timelines, and reduces the cognitive focus of the development team. The Parallel Tracks Pattern is a shift in mindset from sequence to simultaneity.

This skill provides a framework for identifying natural boundaries within a large body of work and splitting it into independent, self-contained tracks that can be executed concurrently. It is not merely about doing things at the same time; it is a disciplined practice of upfront architectural planning, rigorous specification, and clear dependency management that makes parallel execution possible. By investing in this discipline, we transform development from a linear relay race into a coordinated, multi-pronged advance, multiplying velocity without sacrificing quality.


II. When to Use This Skill

This skill is most effective when planning a major release, a new feature with multiple components, or any large-scale development effort. Use this skill when the following conditions are met:

  • The task is large enough to benefit from parallelization. A good rule of thumb is any work estimated to take more than two weeks if executed sequentially.
  • Clear separation of concerns exists. The work can be cleanly divided by layer (frontend vs. backend), by feature (auth vs. orchestration), or by component (header vs. chat area).
  • Multiple agents or developers are available to work on the tracks simultaneously.
  • The tracks have minimal dependencies on each other. While some dependencies are expected, the work should not be so tightly coupled that parallel execution is impossible.
  • You are committed to writing clear, self-contained specifications for each track.

III. The Workflow

Step 1: Identify Natural Boundaries

Begin by analyzing the total scope of work. Look for clean separation points that allow you to divide the project into 2-4 substantial tracks. Avoid over-parallelization; each track should represent a meaningful chunk of work (e.g., 500+ lines of code or 3+ days of effort).

Common Boundaries:

  • By Layer: frontend, backend, database, ci-cd
  • By Feature: authentication, orchestration-engine, user-interface
  • By Component: desktop-foundation, orchestration-ui, essential-features

Step 2: Define Track Dependencies

Create a dependency graph to visualize the relationships between the tracks. This will determine the execution order.

  1. Identify Independent Tracks: These have no dependencies and can begin immediately.
  2. Identify Dependent Tracks: These must wait for another track to be completed.

Example Execution Plan (from v0.0.31):

PhaseTrack(s)Status
1Track 1: Desktop FoundationStart Immediately
2Track 2: Orchestration UI<br>Track 3: Essential FeaturesStart after Track 1 is complete

Step 2.5: Organize Tracks into Phases

When tracks have dependencies, organize them into execution phases:

Phase 0 — Foundation (Sequential): Track 0 remediation and shared infrastructure. This phase runs BEFORE any parallel work. Use it to:

  • Close gaps identified by the pre-implementation checklist
  • Create shared types, interfaces, or utilities that multiple tracks need
  • Set up test infrastructure or CI/CD changes

Phase 1 — Parallel Execution (Independent): Tracks with no cross-dependencies execute simultaneously. Each track has its own self-contained specification. No track needs output from another Phase 1 track.

Phase 2 — Integration (If Needed): Tracks that depend on Phase 1 output. These handle cross-cutting concerns like integration testing, shared state connections, or UI composition that combines output from multiple Phase 1 tracks.

Evidence: v0.0.35 used 4 tracks in 2 phases. v0.2.2 used Track 0 as Phase 0 + 3 parallel tracks as Phase 1. Timeline reduction: 40-50% vs sequential.

Key triggers: "phased parallelism", "dependent tracks", "Phase 0 foundation", "organize into phases"

Step 3: Write Self-Contained Specifications

For each track, write a comprehensive specification using the /write-implementation-prompt or similar skill. Each specification must be a standalone document that an agent can execute without needing additional context. It must include:

  • Goal: A clear, one-sentence mission for the track.
  • Context: What the agent can assume exists (from the current codebase or from completed dependency tracks).
  • Requirements: A detailed, testable list of deliverables.
  • Success Criteria: A checklist to verify completion.
  • Non-Goals: What the track is explicitly not responsible for, to prevent scope creep.

Step 4: Define Integration Points

In the specifications, be explicit about how the tracks will connect after they are complete. Define the shared interfaces:

  • APIs: The exact endpoints, request/response shapes, and status codes.
  • Component Props: The names, types, and expected behavior of props passed between components from different tracks.
  • State Shapes: The structure of any shared state (e.g., in a React Context or Zustand store).

Step 5: Execute in Parallel

Commission the independent tracks to their respective agents or developers. Once they are complete, commission the dependent tracks.

Step 6 [MANDATORY]: Integration & Wiring Gate

Confirm before proceeding: All tracks are complete. Ask the user: "Integration/wiring is the mandatory final step. Proceed now, or defer?" If deferred: document the open integration tasks, record the deferral reason, and stop. Do not mark the work complete.

After the user confirms to proceed:

  1. Merge tracks into the main branch in the planned order
  2. Verify each track's compilation gate passes (go build ./..., cargo check, npx tsc --noEmit, or equivalent)
  3. Run integration tests to verify interface contracts
  4. Confirm wiring: entry points are reachable, call graphs are traceable, no orphaned modules remain
  5. Fix any interface mismatches or regressions
  6. Run the full test suite

Never skip this step. Parallel tracks produce isolated, potentially dead code without integration. A track is not "done" until it is wired into the running system.


IV. Best Practices

  • Aim for 2-4 Tracks: Over-parallelizing a task can create more coordination overhead than it saves. Find the right balance.
  • Lock Interfaces Early: Once specifications are written, treat the defined interfaces as a contract. If a change is needed, it must be communicated to all dependent tracks immediately.
  • Design for Minimal File Overlap: To reduce Git merge conflicts, design tracks to operate on different sets of files where possible. If overlap is unavoidable, designate one track as the "merge coordinator" responsible for resolving conflicts.
  • Use a Dependency Graph: A simple visual diagram can clarify the execution order and prevent misunderstandings.

V. Quality Checklist

Before commissioning the tracks, ensure you can answer "yes" to all of the following questions:

  1. Is the total scope of work large enough to justify parallelization?
  2. Have you identified 2-4 substantial, well-defined tracks?
  3. Have you created a clear dependency graph and execution plan?
  4. Does each track have its own comprehensive, self-contained specification?
  5. Are the integration points (APIs, props, state) clearly defined in the specifications?
  6. Have you considered potential merge conflicts and planned for them?
  7. Has integration/wiring been completed or explicitly deferred (with open tasks and deferral reason documented)?

If you cannot answer "yes" to all of these, revisit the planning phase before proceeding.


OpenClaw Tool Integration

When running inside the Dojo Genesis plugin:

  1. Start by calling dojo_get_context to retrieve full project state, history, and artifacts
  2. During the skill execution, follow the workflow steps as documented above
  3. Save all outputs using dojo_save_artifact with appropriate artifact types:
    • scout → type: "scout-report"
    • spec → type: "specification"
    • tracks → type: "track-decomposition"
    • commission → type: "implementation-prompt"
    • retro → type: "retrospective"
  4. Update state by calling dojo_update_state to:
    • Record the skill execution in activity history
    • Advance the project phase if appropriate
    • Log any decisions made during the skill run

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.

Reviews can't be read right now.

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.