parallel-worktree-pr-merge-end-to-end

Installation
SKILL.md

Parallel worktree to merge, end to end

Several AI coding chats work on the same repo at the same time. This skill keeps them from breaking each other and takes each one all the way from first edit to merged, deployed and cleaned up.

  • Every chat gets its own git worktree and branch, outside the main checkout. Nobody edits the shared folder.
  • A machine-wide queue limits how many full test suites run at once.
  • Merges go one at a time per repo, and only when the branch already contains the latest base branch.
  • Changes to critical paths are reviewed by a different model than the one that wrote them. The reviewer also fixes what it finds.
  • The chat that wrote the change finishes it itself: pull request, merge, deploy check, cleanup.

When to use

Use it when two or more chats (or a chat and a human) may touch the same repo at once, or when one change should go from edit to merged without hand-holding. Skip it for a one-person repo with no tests, a read-only question, or a throwaway script.

scripts/ below means this skill's folder (for example ~/.claude/skills/parallel-worktree-pr-merge-end-to-end/scripts/). Run detect, worktree and cleanup with the repo as the current directory. Always call scripts as node scripts/<name>.cjs, with the full path in front.

Quick reference

Installs
1
Repository
mestrecs/skills
First Seen
3 days ago