UAP Worktree Skill
When to use
- Before making ANY code changes
- To list or clean up existing worktrees
Workflow
- Create worktree:
uap worktree create <slug> - Work in worktree: All edits in
.worktrees/<id>-<slug>/ - List worktrees:
uap worktree list - Cleanup:
uap worktree cleanup <id>
Rules
- Never edit files in the project root directory
- Always verify you are in a worktree before editing
- Run
uap worktree ensure --strictto verify