AgentSkillsCN

worktree

当用户希望为并行的 Claude Code 会话创建 Git 工作树时,应使用此技能。这使得多个 AI 会话能够同时在不同分支上开展工作。

SKILL.md
--- frontmatter
name: worktree
description: This skill should be used when the user wants to create a git worktree for parallel Claude Code sessions. This allows multiple AI sessions to work on different branches simultaneously.
argument-hint: "<branch> [-b, --base <branch>]"
allowed-tools: Bash(ai worktree:*)

Git Worktree Creator

Create a git worktree for parallel Claude Code sessions.

!ai worktree $ARGUMENTS