Back to list
kkhys

creating-git-worktree

by kkhys

My personal marketplace for Claude Code.

1🍴 0📅 Jan 21, 2026

SKILL.md


name: creating-git-worktree description: Creates isolated git worktree environments for parallel development. Fetches latest from default branch, creates worktree in .git-worktrees/, copies .env and .serena files. Branch '/' is converted to '-'. Use when starting new features or switching context.

Create Git Worktree Environment

Automate worktree creation with environment setup for parallel development workflows.

Quick Start

Execute the script with your branch name:

bash skills/creating-git-worktree/scripts/create-worktree.sh <branch-name>

Example:

bash skills/creating-git-worktree/scripts/create-worktree.sh feature/user-auth
# Creates: .git-worktrees/feature-user-auth

What the Script Does

  1. Sync with remote: Checkout and pull default branch
  2. Create worktree: In .git-worktrees/<branch-name> (new or existing branch)
  3. Copy environment files: .env, .serena if they exist
  4. Reuse existing: Skip creation if worktree already exists

Branch Name Handling

  • / is converted to - for directory names
  • feature/new-feature becomes .git-worktrees/feature-new-feature

Score

Total Score

50/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon