Automated summary
Creates and manages Git worktrees to work on multiple branches in parallel without conflicts.
Strengths
- Isolates each branch in its own directory
- Eliminates the need for stash or temporary commits
- Enables simultaneous testing of multiple features
Limitations
- Requires the 'bin/worktree' script or familiarity with native Git commands
- Worktrees do not share the index or staging area
When you need to work on multiple branches concurrently, e.g., developing a feature while fixing an urgent bug.
If you prefer a linear workflow with a single copy of the repository, or if disk space is constrained.
Security analysis
SafeThe skill only uses git worktree commands and a custom script restricted to those operations. No destructive, exfiltrating, or obfuscated actions are performed. The allowed tools are limited to safe Bash commands for worktree management.
No concerns found
How this analysis is madeExamples
Create a worktree for adding user notificationsSet up a worktree for branch bugfix/login-issueShow me my worktreesname: worktree description: Create and manage git worktrees for parallel development. Use when the user wants to create a worktree, work on a feature in isolation, set up a new branch with its own directory, or manage existing worktrees. allowed-tools: Bash(bin/worktree:), Bash(git worktree:)
Git Worktree Management
Manage git worktrees using the bin/worktree script for parallel development workflows.
Available Commands
bin/worktree list # Show all worktrees
bin/worktree create <branch> # Create worktree for branch
bin/worktree delete <branch> # Remove worktree
bin/worktree go <branch> # Print path (for cd)
Naming Convention
Worktrees are created as sibling directories to the main repo. Slashes become dashes:
| Branch | Directory |
|--------|-----------|
| feature/auth | ../jolly-blitzen-feature-auth |
| bugfix/login | ../jolly-blitzen-bugfix-login |
| experiment/new-ui | ../jolly-blitzen-experiment-new-ui |
Instructions
When creating a worktree:
- If user provides a branch name (contains
/), use it directly - If user provides a task description, convert to
feature/<kebab-case-description> - Run
bin/worktree create <branch> - Tell the user the path and how to switch:
cd <path>
When listing worktrees:
Run bin/worktree list and present the results.
When deleting a worktree:
- Confirm the branch name with the user if ambiguous
- Run
bin/worktree delete <branch>
Examples
User: "Create a worktree for adding user notifications"
bin/worktree create feature/user-notifications
User: "Set up a worktree for branch bugfix/login-issue"
bin/worktree create bugfix/login-issue
User: "Show me my worktrees"
bin/worktree list
User: "Remove the notifications worktree"
bin/worktree delete feature/user-notifications
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/git-worktree-management-mmh8qr9x' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/git-worktree-management-mmh8qr9x/download' --output '.skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md.part' && mv '.skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md.part' '.skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash(bin/worktree:*), Bash(git worktree:*)
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md' && test -s '.skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/worktree' && cp -R '.skill-downloads/git-worktree-management-mmh8qr9x' '.claude/skills/worktree'Cursor
test -f '.skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md' && test -s '.skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/worktree' && cp -R '.skill-downloads/git-worktree-management-mmh8qr9x' '.cursor/skills/worktree'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/git-worktree-management-mmh8qr9x'openskills read 'git-worktree-management-mmh8qr9x'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/git-worktree-management-mmh8qr9x/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.