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
- 8 months ago
- Last Updated
- 2 days ago
- Language
- Go
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
project-switching
Project switching implementation in sidecar: project discovery, state management, UI flow, modal rendering, filtering, theme preview, and plugin reinitialization. Use when working on the project switcher feature, project management, worktree switching, or the project configuration system.
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.
worktree-isolation
Git worktree-based task isolation. Use when making changes that should not affect the main working tree until verified, or when running parallel development tasks that might conflict.