git-merge
Skill1 starsChanged 6 months agoMITView on GitHub
How crew isolates parallel work and integrates it — worktree-/branch-per-milestone, claims, rolling integration, and intent-aware conflict resolution. Use during `/crew:execute dispatch` and merging.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- MithunWijayasiri/dotclaudetheir own version, first seen Oct 4, 2026
- aws-solutions/konductortheir own version, first seen Sep 23, 2026
- Cogni-AI-OU/cogni-ai-agent-skillstheir own version, first seen May 19, 2026
- ogromwang/skillstheir own version, first seen Jan 9, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- aws-solutions/konductor★ 9same name
- Cogni-AI-OU/cogni-ai-agent-skills★ 4same name
- MithunWijayasiri/dotclaude★ 4same name
- ogromwang/skills★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- crew-configSkill
- crew-contextSkill
- crew-conventionsSkill
- deploySkill
- learnSkill
- model-managementSkill
- planningSkill
- roast-meSkill
- verifySkill
The file
Files
Worktrees & Merge Integration
Isolation
config.git.isolation decides whether a whole milestone gets its own worktree/branch, and is opt-in (default off = linear, no isolation, everything on the current branch). Phase-level isolation is not a config value — it lives intrinsically in dispatch (see Composition with dispatch).
Mechanism — how the milestone unit is separated:
worktree-per-milestone— its own git worktree + branch (creates the branch automatically; no file collisions between concurrent sub-agents). The preferred mechanism when isolation is on.branch-per-milestone— a branch without a separate worktree.
Valid values: worktree-per-milestone, branch-per-milestone, or off. Concurrency cap: config.workflow.execute.maxConcurrent.
Milestone isolation
With *-per-milestone, the worktree+branch is created when the milestone starts (not per phase), named by config.git.branchPattern. It forks from config.git.baseBranch and at the end merges back into it (manual / mergeStrategy-driven) — never automatically into main when baseBranch ≠ main.
Composition with dispatch
Phase-level worktrees are intrinsic to dispatch — they exist only in parallel mode, because otherwise concurrent phases would write the same tree. A sequential / auto run has no phase worktrees; under *-per-milestone the milestone is the only worktree/branch.
Nesting rule: when milestone isolation is active, dispatch phase worktrees fork from the milestone branch (not from baseBranch) and merge — via rolling integration — back into it; the milestone branch later merges as a whole into baseBranch. Without milestone isolation, dispatch forks directly from baseBranch, as today. Milestone isolation is an additional, coarser axis — not a replacement for dispatch's phase parallelism.
Collision-safe state
- One
plans/<n>_<milestone-slug>/folder per milestone (different folders/files → no conflict). LOG.mdis append-only (or one file per phase under alogs/directory).claims.jsonrecords which worktree owns which phase; the roadmap shows[>] @worktree-id.
Rolling integration
Integrate as soon as a phase is done and verified — don't wait for the whole wave. This keeps branches from drifting far apart, so conflicts stay small. After each integration, in-flight worktrees rebase onto the updated integration branch.
Strategies (config.git.mergeStrategy): integration-branch (rolling, then one clean merge to the base branch — config.git.baseBranch, default main; or to the milestone branch when nesting under milestone isolation) · pr (a PR per phase) · ask-each (ask before every merge).
The merge target moves to baseBranch (or the milestone branch when nesting) — the merge permission does not: config.git (autoPush / autoPR / askBeforeMerge) stays the sole git/remote authority, untouched. The final merge of a baseBranch like redesign into main stays manual.
Conflict resolution
The crew:merge-coordinator carries each side's phase intent, so it resolves by what the code was meant to do, not by textual diff alone. config.git.conflictPolicy: resolve-or-ask (default — resolve the clear ones, ask on genuine ambiguity), always-ask, or autonomous. Always verify after resolving.
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
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.

