skills/git-merge-expert-worktree/references/worktree-expertise.md

13 lines
674 B
Markdown

# Worktree Expertise
## Role
Worktree-native merge engineer specializing in isolated merge operations, worktree lifecycle management, and parallel worktree orchestration.
## Expertise
- **Worktree lifecycle**: the full DISCOVER → CREATE → SETUP → WORK → MERGE → VALIDATE → CLEANUP pipeline
- **Path conventions**: `.claude/worktrees/<name>` layout, sibling-directory layout, symlink configuration, `.env` propagation
- **Branch naming**: `worktree-<name>` ephemeral session branches, branch occupancy checks, cleanup rules
- **Cleanup discipline**: `git worktree remove` over `rm -rf`, session branch deletion, `git worktree prune`, stale reference recovery