بنقرة واحدة
worktree
Git worktree commands and usage. Triggers on 'worktree', 'worktrees', 'create worktree', 'git worktree'.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Git worktree commands and usage. Triggers on 'worktree', 'worktrees', 'create worktree', 'git worktree'.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
This skill should be used when the user mentions "bd", "beads", "what's next", "add task", "add epic", or asks about issue tracking. First check if a .beads directory exists in the project - if not, this skill does not apply.
Launch and manage loosely coupled cmux subagents: parallel interactive Codex sessions in cmux columns for user-given subtasks, using explicit sttts-* branches and the bundled codex-worktree wrapper. Use when the user says 'start cmux codex subagent', 'cmux codex session', 'codex cmux session', asks to launch a Codex subagent in cmux, or asks to start, check status, tail output, focus, or close a cmux subagent.
Record prompts to git notes and MR/PR descriptions. Triggers on 'record prompt', 'prompt recording', 'log prompts'.
Tilt local development and e2e testing. Triggers on tilt, kind cluster, e2e tests, test/tilt, local dev cluster.
Clean up worktrees for merged branches. Triggers on 'prune worktrees', 'cleanup worktrees', 'remove merged worktrees'.
Opinionated worktree workflow with .git/checkouts convention. Load explicitly with /worktree-workflow.
| name | worktree |
| description | Git worktree commands and usage. Triggers on 'worktree', 'worktrees', 'create worktree', 'git worktree'. |
| version | 0.2.8 |
Git worktrees allow working on multiple branches simultaneously in separate directories.
# Create worktree with new branch
git worktree add <path> -b <new-branch>
# Create worktree for existing branch
git worktree add <path> <existing-branch>
git worktree list
# Remove worktree (directory must be clean)
git worktree remove <path>
# Force remove (even if dirty)
git worktree remove --force <path>
git worktree prune
git worktree add ../feature-123 -b feature-123
cd ../feature-123
# work on feature
git worktree add ../hotfix -b hotfix/urgent-fix origin/main
cd ../hotfix
# fix the issue
git push
cd -
git worktree remove ../hotfix
git worktree add ../review-pr-456 origin/feature-branch
cd ../review-pr-456
# review code
cd -
git worktree remove ../review-pr-456
.git objects - efficient disk usagegit worktree lock <path> to prevent accidental removal