worktree-location
OfficialKeep worktrees beside the repo, not /tmp.
Software Engineering#parallel agents#git worktree#branch naming#repository isolation#checkout management#cwd control
AuthorStack-and-Flow
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents CI, isolation, and path-mismatch problems caused by creating Git worktrees in inconsistent locations, especially when parallel agents or subagents are involved.
Core Features & Use Cases
- Siblings-only worktree placement: Always create worktrees as siblings of the original repository directory to keep paths stable and predictable.
- Subagent isolation guidance: Avoid using packaged
subagent({ worktree: true })when sibling placement is required; instead create the sibling worktree manually and run withcwdset correctly. - Consistent naming for branches and worktrees: Derive worktree paths from Conventional Commit types and issue-title slugs to make automation handoffs reliable.
Quick Start
Create a git worktree using the worktree-location rules so the new checkout is a sibling of the original design-system repo and never placed under /tmp.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: worktree-location Download link: https://github.com/Stack-and-Flow/design-system/archive/main.zip#worktree-location Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.