matchai/dotfiles/worktrunk
Claude Code and agent skill by matchai/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Git worktree management via the `wt` CLI. Use when asked to create worktrees, switch branches for parallel work, list worktrees, clean up old branches, or merge worktree branches. Triggers on "worktree", "worktrunk", "wt", "create branch", "new branch", "switch branch", "parallel branch".
Install
npx vskill@latest install matchai/dotfiles/worktrunkSKILL.md
Worktrunk (wt) - Git Worktree Management
Manage git worktrees for parallel development workflows. Each worktree is an independent working directory with its own branch, allowing concurrent work without stashing or switching.
Agent Usage
Since agents cannot change directories interactively, always use --no-cd with wt switch and operate on the worktree path directly via the workdir parameter in Bash tool calls.
Get worktree path after creation
Then use workdir=<path> for subsequent commands in that worktree.
Commands
Create a new worktree + branch
--create/-c: Create a new branch (required for new branches)--no-cd: Skip directory change (required for agents)--yes/-y: Skip approval prompts (required for agents)--base <branch>: Base branch (defaults to default branch)--no-verify: Skip post-create/post-start hooks
Switch to an existing worktree
Shortcuts: ^ (default branch), - (previous), @ (current), pr:123 (GitHub PR).
List worktrees
Key JSON fields
| Field | Description | |
|---|---|---|
branch | Branch name | |
path | Worktree directory path | |
main_state | Relation to default branch: ahead, behind, diverged, integrated, would_conflict | |
is_current | Whether this is the current worktree | |
working_tree.modified | Has uncommitted changes | |
symbols | Status symbols (e.g., ! modified, ? untracked, ^ default, ⊂ integrated) |
Useful JSON queries
Remove a worktree
Merge worktree branch into default
Squash + rebase, fast-forward target, remove worktree.
Individual operations (wt step)
Workflow Pattern for Agents
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingfiles/skills/worktrunk/SKILL.md
Popularity
- Repository stars
- 209
- Repository forks
- 14
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/matchai/dotfiles/worktrunk)