using-git-worktrees
Installation
SKILL.md
Using Git Worktrees
Overview
In Warcraft, use worktree lifecycle tools rather than manual git worktree commands.
Primary interfaces:
warcraft_worktree_createwarcraft_worktree_commitwarcraft_worktree_discardwarcraft_merge
Standard Flow
- Confirm task is runnable (
warcraft_status) - Prepare the task workspace (
warcraft_worktree_create) - Issue the returned
task()call and implement in the assigned workspace - Commit/report (
warcraft_worktree_commit) - Merge or discard based on outcome