Automated summary
Manages Git worktrees with the gwt tool to work on multiple branches simultaneously.
Strengths
- Automatic directory switching to the correct worktree
- Centralized worktree storage in ~/.gwt_store
- Just-in-time worktree creation when switching branches
- Smart remote branch discovery and tracking
Limitations
- Requires gwt to be installed on the system
- Learning curve for understanding worktree concepts
- Only works if the repository is compatible with gwt's setup
Use gwt when you need to switch between branches for code review, testing, or working on multiple features in parallel without stashing changes.
Avoid gwt if you only work on a single branch or prefer using raw git commands.
Security analysis
SafeThe skill describes standard git worktree management commands via the 'gwt' tool. There are no destructive commands, exfiltration attempts, obfuscation, or disabling of safety mechanisms. All listed operations are local to the repository and expected for branch management.
No concerns found
How this analysis is madeExamples
Switch to branch 'feature/new-login' using gwt, creating a worktree if it doesn't exist.List all my git worktrees with truncated branch names.Remove the worktree for branch 'feature/old-ui' and delete the branch since it's been merged.name: gwt description: Manage git worktrees using gwt for branch-based workflow. Use when switching branches, creating worktrees, listing worktrees, or cleaning up after merging PRs.
GWT Worktree Management Skill
You have access to gwt, a Git worktree management tool that simplifies working with multiple branches simultaneously. Use gwt instead of raw git worktree commands for a streamlined workflow.
Available Commands
Switch to a Branch Worktree
gwt sw <branch> # Switch to existing branch (creates worktree if needed)
gwt sw -b <branch> # Create new branch and switch to it
gwt sw -m # Switch to main/master branch
gwt sw <branch> --remote <remote> # Switch to branch from specific remote
List Worktrees
gwt ls # List all worktrees (truncated branch names)
gwt ls --full # List with full branch names
Remove Worktrees
gwt rm <branch> # Remove worktree for branch (prompts for confirmation)
gwt rm <branch> -y # Remove without confirmation
gwt rm <branch> -b # Remove worktree and delete the branch
gwt rm <branch> -B # Remove worktree and force-delete branch
gwt rm --this # Remove current worktree (switches to home first)
Navigation
gwt home # Return to the main repository worktree
gwt current # Show current branch and worktree path (alias: gwt c)
Workflow Patterns
Starting Work on a Feature
- Use
gwt sw -b feature/nameto create a new branch and worktree - Work on the feature in the isolated worktree
- The original repository remains on its branch
Switching Between Tasks
- Use
gwt sw other-branchto switch to another worktree - No need to stash changes - each worktree is independent
- Use
gwt lsto see all available worktrees
Cleaning Up After PR Merge
- Use
gwt hometo return to main repository - Use
gwt rm feature/name -bto remove worktree and delete merged branch - Or use
gwt rm --this -bif still in the feature worktree
Checking Current Location
Use gwt current to see which branch and worktree you're in.
Key Benefits
- Automatic directory switching: gwt changes your shell's working directory automatically
- Centralized storage: Worktrees are stored in
~/.gwt_store, keeping repos clean - Just-in-time creation: Worktrees are created automatically when switching to new branches
- Smart remote lookup: Automatically finds and tracks remote branches
When to Use gwt
- Switching between branches for code review or testing
- Working on multiple features in parallel
- Isolating experimental changes without affecting main work
- Quick context switching without stashing changes
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/gwt-git-worktree-management-mm5t89km/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/gwt-git-worktree-management-mm5t89km' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/gwt-git-worktree-management-mm5t89km/download' --output '.skill-downloads/gwt-git-worktree-management-mm5t89km/SKILL.md.part' && mv '.skill-downloads/gwt-git-worktree-management-mm5t89km/SKILL.md.part' '.skill-downloads/gwt-git-worktree-management-mm5t89km/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.
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/gwt-git-worktree-management-mm5t89km/SKILL.md' && test -s '.skill-downloads/gwt-git-worktree-management-mm5t89km/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/gwt' && cp -R '.skill-downloads/gwt-git-worktree-management-mm5t89km' '.claude/skills/gwt'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/gwt-git-worktree-management-mm5t89km'openskills read 'gwt-git-worktree-management-mm5t89km'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/gwt-git-worktree-management-mm5t89km/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.