Refresh Worktree — Git skill for Claude Code
Reuse the current git worktree for a new feature — stop any dev server still running for it, reset onto the integration branch, create the new branch, then scan for available ports and start the proje.
How to install Refresh Worktree
Installs to ~/.claude/skills/behindthemusictree-agent-config-refresh-worktree/SKILL.md
mkdir -p ~/.claude/skills/behindthemusictree-agent-config-refresh-worktree && curl -fsSL https://raw.githubusercontent.com/BehindTheMusicTree/agent-config/HEAD/commands/refresh-worktree.md -o ~/.claude/skills/behindthemusictree-agent-config-refresh-worktree/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Refresh Worktree does
Reuse the current git worktree for a new feature — stop any dev server still running for it, reset onto the integration branch, create the new branch, then scan for available ports and start the proje.
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Git MCP — GitHub Repo stars Free open-source remote MCP server for any GitHub project Git integration MCP 7.8k ★
- Om Peer Scan — Peer PR Deep Scan 4.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Vmctl
Agent skill to control VMware Workstation VMs via vmrun: power on/off, start, stop, suspend, reset, guest IP,
Claude CLI Advanced Starter Pack
Advanced Claude Code CLI toolkit - agents, hooks, skills, MCP servers, phased development, site intelligence d
Boot Server
Detect how this project is served, start the dev server in the background, wait until it's ready, and open the
Spurline
Give every git worktree its own ports, databases and .env, so parallel coding agents stop colliding
Resolvr
Free, source-available desktop GraphQL client and IDE for macOS, Linux and Windows: tabs that survive crashes,
Auto Dev Worker
PHASE 1 of an auto-dev worker — implement-issue up to a ready PR, then stop so a fresh sub-agent merges it. Di
Related Agents
Layer2 Analyzer
Analyses a Rust question from Layer 2 (design choices: patterns, structure, API shape, ports and adapters, reu
Indexeddb Expert
IndexedDB storage expert. Use for the scan library schema, versions and migrations, transactions, storing imag
Personal Archivist
Local-only archivist for Guillaume's personal documents (~/Documents). Use to locate a document, answer 'where