CtrlK
BlogDocsLog inGet started
Tessl Logo

wt

Create a git worktree in worktree/ subdirectory with up-to-date master

61

Quality

72%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.claude/skills/wt/SKILL.md
SKILL.md
Quality
Evals
Security

Create Git Worktree

Create a new worktree in worktree/<branch-name> with branch <branch-name>.

Execution

# Return to repo root
cd "$(git rev-parse --show-toplevel)"

# Pull latest master
git checkout master
git pull origin master

# Create worktree
git worktree add worktree/"$ARGUMENTS" -b "$ARGUMENTS"

# Initialize submodules (skills-vendor)
git -C worktree/"$ARGUMENTS" submodule update --init --recursive

# 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/skills/ workflows
  • To remove when done: cd ../.. && git worktree remove worktree/"$ARGUMENTS"
  • List all worktrees: git worktree list
Repository
homeassistant-ai/ha-mcp
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.