Git Worktree Workflow

•
115
•

Automates the creation of isolated Git worktrees with safety checks and environment setup for parallel feature development.

This skill enables Claude to efficiently manage multiple development contexts by leveraging Git worktrees. It follows a systematic approach to directory selection, ensures worktree directories are properly ignored by Git to prevent repository pollution, and automates the environment setup and baseline testing process. By providing a clean, isolated workspace for every feature branch, it minimizes context-switching friction and ensures a stable starting point for complex implementation tasks without disturbing the primary workspace.

주요 기능

01Automatic .gitignore verification and immediate fixing to prevent repository pollution
02Smart directory selection prioritizing local .worktrees or project-specific CLAUDE.md settings
03115 GitHub stars
04Baseline test execution to ensure a clean, working state before implementation starts
05Automated environment setup for Node.js, Rust, Python, and Go projects
06Global configuration support for centralized worktree management across multiple projects

사용 사례

01Managing multiple concurrent development tasks or hotfixes simultaneously
02Creating a clean environment for running integration tests in isolation
03Starting a new feature branch without stashing or interrupting current uncommitted work