What problem does it solve?
This Skill streamlines the management of Git worktrees, ensuring isolated development environments for features, experiments, and parallel agent tasks, complete with robust lifecycle management from creation to cleanup.
Core Features & Use Cases
- Isolated Workspaces: Create and manage separate Git worktrees for distinct features or experiments without interfering with the main codebase.
- Lifecycle Management: Automates the entire process, including pre-flight checks, dependency setup, baseline testing, and safe cleanup.
- Parallel Development: Facilitates coordination among multiple agents by assigning each to a dedicated worktree.
- Use Case: When starting a complex new feature, use this Skill to create an isolated worktree, set up all necessary dependencies, run initial tests, and then hand off the clean environment to a developer agent.
Quick Start
Use the worktree-lifecycle skill to create a new worktree for the 'feature-x' branch in the '.worktrees' directory.