Loading...
Loading...
This skill should be used when the user: - Wants to work on multiple branches simultaneously or in parallel - Needs to start a new feature/task while preserving current work - Asks about git worktree operations (create, remove, list, clean) - Mentions "twig" commands (add, remove, clean, list, init) - Wants to carry or move uncommitted changes to a new branch - Wants to copy/sync changes between branches - Needs to isolate work in a separate directory - Asks about switching context without stashing - Wants to clean up old/merged branches and their worktrees - Says phrases like "new worktree", "create worktree", "branch off", "work on something else", "start new work", "parallel work", "separate workspace", "another branch" Use this skill for ANY worktree-related operation, not just when explicitly asking about twig.
npx skill4agent add 708u/twig twig-guide| Command | Purpose |
|---|---|
| Initialize twig configuration |
| Create a new worktree with symlinks |
| Remove worktrees and their branches |
| List all worktrees |
| Remove unneeded worktrees |
| Sync symlinks and submodules to worktrees |
twig add feat/new-featuretwig add feat/correct-branch --carry--carrytwig add feat/experiment --sync--synctwig add feat/new --carry --file "*.go" --file "cmd/**"twig clean--yestwig remove feat/abandoned -f-ff