worktree-isolation
Skill2 starsChanged 5 days agoMITView on GitHub
Isolates work in a sibling git worktree, then merges and cleans up. Use to keep a change out of the main checkout or when parallel tracks collide.
6 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- niksavis/handilyedited, first seen Nov 8, 2026
- ccoalm/ccl-skillstheir own version, first seen Nov 8, 2026
- cill-i-am/skillstheir own version, first seen Oct 20, 2026
- aditya-deokar/software-factorytheir own version, first seen Sep 29, 2026
- orkait/hyperstacktheir own version, first seen Jun 14, 2026
- alex-voloshin-dev/ai-skillstheir own version, first seen May 17, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- niksavis/handily★ 217% same
Wrote their own version · 5
- ccoalm/ccl-skills★ 6same name
- alex-voloshin-dev/ai-skills★ 2same name
- cill-i-am/skills★ 1same name
- orkait/hyperstack★ 1same name
- aditya-deokar/software-factory★ 0same 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 repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- councilSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- hill-climbSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- swarmSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- councilSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- hill-climbSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- swarmSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Inspect existing branches and worktrees first: Never replace or discard another session's work.
- Distinctive: line 29
Resolve a conflict against the whole task: keep unrelated work and rerun the affected checks.
“Common” is measured: kept by at least 6 in 10 of the 5 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.
Files
<!-- Generated by `basicly skills-build` from skill.yaml. Do not edit; edit the source. -->Worktree Isolation
Isolate a change in a sibling Git worktree, then merge it from the main checkout and clean up. For records see work-tracker; for commit subjects see conventional-commits.
Steps
basicly worktree create NAME [--base BRANCH] # add and provision .venv, node_modules and hooks
basicly worktree merge NAME --bead RECORD-ID # from the main checkout; --bead is the old flag name for the record id
basicly worktree cleanup NAME # remove the worktree and its merged branch- Create the worktree when the work will commit. A plain
git worktree add ../REPO.worktrees/NAME -b BRANCHleaves the hooks and environments missing, so it suits read-only work only. - Work and commit inside the worktree.
- Merge from the main checkout. Git refuses to update a branch that another worktree has checked out.
- Clean up. Without
--force, cleanup refuses uncommitted changes and keeps an unmerged branch.
Rules
- Isolate every non-trivial change; skip a typo fix.
- Never set a relative
core.hooksPathin a linked worktree. It silently skips the hooks. - Inspect existing branches and worktrees first. Never replace or discard another session's work.
- Resolve a conflict against the whole task: keep unrelated work and rerun the affected checks.
For several merges in order, stale sessions, cleanup refusals, hook resolution in a linked worktree, protected destinations in an agent sandbox and the Claude Code background isolation setting, read lifecycle.
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.

