using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Security Assessment
About using-git-worktrees
The 'using-git-worktrees' skill is designed to streamline the process of managing Git worktrees, enabling developers to create isolated workspaces that share a single repository. This is particularly useful when starting new feature work that requires separation from the current workspace or when executing implementation plans. By leveraging systematic directory selection and safety verification, this skill ensures that developers can work on multiple branches simultaneously without the risk of conflicts or accidental commits to the main repository.
FAQ
How do I create a new worktree using this skill?
Follow the directory selection process to identify the appropriate location, verify .gitignore if necessary, and then create the worktree with the specified branch name.
Is this skill compatible with all Git repositories?
Yes, as long as the Git repository follows standard conventions and has the appropriate files for project setup.
What happens if my tests fail after setting up a worktree?
If tests fail, the skill will report the failures and ask whether to proceed with further actions or investigate the issues.
Can I use this skill for global directory setups?
Yes, the skill supports creating worktrees in a global directory without .gitignore verification.
What should I do if both local directories exist?
The skill prioritizes using the '.worktrees' directory over 'worktrees' if both are found.
Install using-git-worktrees
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
davila7/claude-code-templates