When two agent sessions change the same git repository at the same time, they overwrite each other's work. Changes get lost, and builds break.
This skill gives every agent session its own copy of the project folder (a git worktree) and its own branch. The main folder stays clean, and finished work goes into the main branch one branch at a time.
Before the main branch moves, a bundled script runs your project's full check (tests and build) on the merged result. Only when that check passes does the main branch move forward. Work that other sessions have not committed yet is never touched.
The script needs Windows PowerShell and git, and the skill sets it up only after your yes. Start it with /lanes. To install it, unzip it into the folder where your agent keeps its skills.
How several agent sessions work on one git repository at the same time without breaking each other. One worktree and branch per session, a main checkout that stays clean and is only the integration target, named-file staging, a check before every commit, and a bundled script that integrates a branch one at a time (merge and full check in a temporary worktree, fast-forward only). Use when starting work in a repository other sessions also use, when finishing a branch that must reach the default branch, or when the user asks to set up parallel agent sessions in a project. Not for projects that integrate only through hosted pull requests.
Install
Download the skill, drag it into your AI's chat and write "Install this skill."