skilly. Buy ad slot
All skills
Devops / AGENT SKILL

wt

homeassistant-ai/ha-mcp
0 installs 4.8K GitHub stars
0

Create a Git worktree under worktree/ using an up-to-date master branch.
Create a git worktree in worktree/ subdirectory with up-to-date master

BEFORE YOU INSTALL

Understand the trade-offs.

SECURITY REVIEW

Not yet assessed

Review the original instructions and requested permissions before installing.

No security review is available for this catalog entry yet.

SKILL QUALITY

Not yet assessed

How clearly the skill guides your agent, how complete its workflow is, and how you can check the outcome.

No quality assessment is available for this catalog entry yet.

The full skill.

Original instructions from the publisher’s SKILL.md

# Create Git Worktree

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

## Execution

```bash
# 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`