askill
creating-git-worktree

creating-git-worktreeSafety 70Repository

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.

1 stars
1.2k downloads
Updated 2/8/2026

Package Files

Loading files...
SKILL.md

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

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

70/100Analyzed 2/18/2026

Good quality skill document with clear purpose, structured steps, and appropriate use case. Missing actual script content and error handling details reduce completeness. Well-organized with tags and clear examples.

70
80
75
55
75

Metadata

Licenseunknown
Version-
Updated2/8/2026
Publisherkkhys

Tags

security