What problem does it solve?
This Skill automates the creation, setup, and cleanup of isolated development environments (worktrees) specifically for Claude Code, streamlining the workflow for AI-assisted coding tasks.
Core Features & Use Cases
- Automated Worktree Creation: Generates new Git worktrees with smart naming, automatically fetching the latest code.
- Environment Setup: Copies
.env and Claude settings, and optionally runs pnpm install and database seeding in the background.
- Model Configuration: Allows specifying Claude models (
opus, sonnet, haiku) for each worktree and includes verification steps.
- Isolated Databases: Supports creating isolated SQLite databases for testing schema changes or migrations.
- Cleanup: Automatically removes stale worktrees to keep the development environment tidy.
- Ghostty Integration: Seamlessly opens new worktrees in Ghostty terminal tabs with pre-filled Claude commands.
- Discovery-First Workflow: Integrates with a
/discover skill to create implementation plans and then generate worktrees based on those plans.
Quick Start
Use the claude-worktree-manager skill to create a new worktree named 'feature-x' with the 'opus' model.