Worktree Feature Development
Installation
SKILL.md
Purpose
Create a new git worktree for isolated feature development with a dedicated branch. This allows working on features in parallel without stashing or switching branches in the main repository.
Workflow
- Prompt user for feature name if not provided
- Create feature branch from current branch (or specified base)
- Create git worktree in sibling directory:
../<repo>-<feature-name> - Navigate (cd) into the new worktree directory
Instructions
When the user wants to start a new feature in a worktree:
Step 1: Gather Information
Ask the user for the feature name if not already provided. Optionally ask which branch to base the feature on (default: current branch).