worktree-switching
FeaturedGit worktree support in sidecar: worktree detection, switching between worktrees, worktree state management, and plugin reinitialization. Covers the full lifecycle of worktree context switching including registry reinit, per-worktree state persistence, deleted worktree detection and fallback. Use when working on git worktree features or worktree-related functionality.
Install
Quality Score: 93/100
Skill Content
Details
- Author
- marcus
- Repository
- marcus/sidecar
- Created
- 9 months ago
- Last Updated
- 3 days ago
- Language
- Go
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
worktrees
Manage .oh/worktrees/ lifecycle: create worktree, list worktrees, remove worktree, clean worktrees, stale worktrees audit, isolate work, project clone. TRIGGER when: any git worktree operation, branch isolation needed, stale worktrees review, project clone under .oh/worktrees/project/ (e.g. "clone <owner>/<repo> to worktrees", "add <repo> to .oh/worktrees", "clone this repo into worktrees"), worktree cleanup. A leading-slash harness dir like "/worktrees" still means the repo-relative .oh/worktrees/ — never a literal filesystem-root path.
project-worktrees
Use when creating, entering, debugging or removing a git worktree under `.worktrees/`, when a worktree URL returns 404 or 502, or when writing tooling that resolves a worktree's hostname, database or container name.
worktrunk
Use this skill when the user asks about Worktrunk (wt), git worktree management, running parallel AI agents with worktrees, setting up wt hooks, configuring wt.toml, using `wt switch`, `wt list`, `wt merge`, `wt remove`, `wt step`, LLM commit messages, or integrating Worktrunk with your AI agent. Also trigger when the user wants to run multiple AI agent sessions in parallel across isolated git branches, or automate dev server / database / dependency setup per worktree. Always use this skill for any question involving the `wt` CLI, worktree lifecycle automation, or the worktrunk plugin.