agentleFS
kiku-jwkiku-jw/codex-skills/parallel-worktrees/SKILL.md

parallel-worktrees

Skill0 starsChanged 4 months agoMITView on GitHub

Split substantial work into isolated git worktrees so coding, tests, docs, review, or experiments can proceed in separate lanes without contaminating the main checkout.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not use when: there is only one lane, one owner concern, or the split would be process theater.

    line 10
  2. Distinctive:

    Use git worktrees as clean execution lanes for substantial multi-track work without inventing extra repos or runtime layers.

    line 14
  3. Very specific:

    Create dedicated worktrees on dedicated codex/ branches, never directly on the main branch.

    line 18
  4. Distinctive:

    No lane starts on the main branch or in an unsafe directory.

    line 24

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “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 Worktrees

Metadata

  • Trigger when: the work is substantial and has truly separable lanes that can benefit from isolation.
  • Do not use when: there is only one lane, one owner concern, or the split would be process theater.

Skill Purpose

Use git worktrees as clean execution lanes for substantial multi-track work without inventing extra repos or runtime layers.

Instructions

  1. Confirm that the work really splits into separate owner concerns such as implementation, tests, docs, review, or experiment. Prefer two or three lanes maximum.
  2. Create dedicated worktrees on dedicated codex/ branches, never directly on the main branch. The command pattern is git worktree add /absolute/path/to/lane -b codex/<lane-name> <base-ref>. Record each lane’s purpose and shared source of truth before work starts.
  3. Merge or clean up only after each lane has a clear result and no ownership confusion remains. Use git worktree remove /absolute/path/to/lane only when the lane is intentionally merged, parked, or discarded.

Non-Negotiable Acceptance Criteria

  • Worktrees are for isolation, not orchestration theater.
  • Shared decisions live in one durable place such as an issue, brief, or CONTINUITY.md.
  • No lane starts on the main branch or in an unsafe directory.
  • Cleanup does not happen until the lane outcome is explicit.

Output

  • A lane list with branch name, worktree path, owner concern, and purpose.
  • The shared source-of-truth artifact for cross-lane decisions.
  • Cleanup status for each lane: active, merged, parked, or removed.

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.