homeassistant-ai / wt
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/wt && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/2801" && unzip -o skill.zip -d .claude/skills/wt && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/wt/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
Create a git worktree in worktree/ subdirectory with up-to-date master
0 views
0 installs
Skill Content
--- name: wt description: Create a git worktree in worktree/ subdirectory with up-to-date master argument-hint: "<branch-name>" allowed-tools: Bash --- # Create Git Worktree Create a new worktree in `worktree/<branch-name>` with branch `<branch-name>`. ## Execution ```bash # Return to repo root cd /home/julien/github/ha-mcp # Pull latest master git checkout master git pull origin master # Create worktree git worktree add worktree/$ARGUMENTS -b $ARGUMENTS # Navigate to worktree cd worktree/$ARGUMENTS # Confirm location and branch echo "" echo "✅ Worktree created and ready:" echo " Location: $(pwd)" echo " Branch: $(git rev-parse --abbrev-ref HEAD)" echo "" echo "You can now work in this isolated environment." ``` ## Notes - Worktree inherits `.claude/agents/` workflows - To remove when done: `cd ../.. && git worktree remove worktree/$ARGUMENTS` - List all worktrees: `git worktree list`