スキル一覧に戻る
uriklar

worktrunk

by uriklar

0🍴 0📅 2026年1月9日
GitHubで見るManusで実行

SKILL.md


name: worktrunk description: Git worktree management with Worktrunk CLI. Use when the user mentions git worktrees, parallel agents, running multiple Claude instances, branching workflows, or wants to create/switch/merge/remove worktrees. Helps with wt switch, wt list, wt merge, wt remove commands and hook configuration.

Worktrunk

Worktrunk uses branch names to address worktrees. Each worktree maps to exactly one branch; paths derive automatically.

Core Commands

wt switch

Navigate between or create worktrees.

wt switch feat              # Switch to existing worktree
wt switch -c feat           # Create new worktree/branch
wt switch -c feat -b main   # Create from specific base branch
wt switch -c feat -x claude # Create and launch Claude

Shortcuts: ^ (default branch), @ (current), - (previous)

Key flags:

  • -c, --create — Create new branch/worktree
  • -b, --base <BRANCH> — Base branch (default: repo default)
  • -x, --execute <CMD> — Run command after switch
  • -y, --yes — Skip prompts
  • --no-verify — Skip hooks

wt list

Show all worktrees with status.

wt list                     # Basic listing
wt list --full              # Include CI status, line diffs
wt list --format json       # JSON output for scripting
wt list --branches          # Include branches without worktrees

Status symbols: Staged, modified, untracked, conflicts, ahead/behind

wt merge

Merge feature branch to default (squash + rebase + merge + cleanup).

wt merge                    # Merge current to default branch
wt merge develop            # Merge to specific branch
wt merge --no-squash        # Keep individual commits
wt merge --no-remove        # Keep worktree after merge
wt merge --no-commit        # Stage but don't commit

Pipeline: squash → rebase → pre-merge hooks → merge → cleanup → post-merge hooks

wt remove

Clean up worktree and branch.

wt remove                   # Remove current worktree
wt remove feat              # Remove specific worktree

Common Workflows

Start a new Claude agent on a feature

wt switch -c feature-name -x claude
# Or with alias:
alias wsc='wt switch --create -x claude'
wsc fix-bug -- 'Fix issue #123'

Complete and merge work

wt merge                    # Squash, merge to main, cleanup

Manage parallel agents

wt list --full              # See all agents with status
wt switch other-feature     # Jump to another worktree

Hooks

Configure project hooks with wt hook:

  • post-create — Run after worktree creation (e.g., install deps)
  • pre-merge — Run before merge (e.g., tests)
  • post-merge — Run after merge completes

Use --no-verify on any command to skip hooks.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です