WO

worktree-setup

Automates the setup of necessary symlinks and directories in new git worktrees.

Install

mkdir -p .claude/skills/worktree-setup && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11014" && unzip -o skill.zip -d .claude/skills/worktree-setup && rm skill.zip

Installs to .claude/skills/worktree-setup

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Automatically invoked after `git worktree add` to create data/shared symlink and data/local directory. Required before starting work in any new worktree.
153 charsno explicit “when” trigger
Beginner

Key capabilities

  • Initialize worktree data
  • Create shared symlinks
  • Set up local directories

How it works

It automates the creation of necessary data directories and symlinks after worktree creation.

Inputs & outputs

You give it
Worktree path
You get back
Data directory structure

When to use worktree-setup

  • Initializing git worktree
  • Setting up local dev data
  • Configuring worktree data directories

About this skill

Worktree Setup

新しい worktree にデータディレクトリ構造をセットアップする。

Goal

Worktree 作成後に適切なデータディレクトリ構造を設定し、データ保護を確保する。

Instructions

  1. このスキルは git worktree add後に実行する
  2. 以下を作成:
    • data/shared/ - メインリポジトリの共有データへの symlink(永続)
    • data/local/ - worktree 固有の一時ディレクトリ

Usage

REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
"$REPO_ROOT/.agent/skills/worktree-setup/setup.sh"

Constraints

  • 事前にメインリポジトリで worktree-init を実行しておくこと
  • worktree ディレクトリ内で実行すること

When not to use it

  • Main repository initialization

Prerequisites

Git worktree

Limitations

  • Requires worktree context
  • Limited to specific directory structure

How it compares

It ensures environment parity across multiple git worktrees automatically.

Compared to similar skills

worktree-setup side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
worktree-setup (this skill)05moReviewBeginner
resolve-conflicts818moReviewIntermediate
openspec-onboard106moReviewBeginner
codex-cli-bridge99moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by diegosouzapw

View all by diegosouzapw

helm-chart-scaffolding-v2

diegosouzapw

Helm Chart Scaffolding workflow skill. Use this skill when the user needs Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications and the operator should preserve the upstream workflow, copied support files, and provenance before

00

cc-skill-coding-standards-v2

diegosouzapw

Coding Standards & Best Practices workflow skill. Use this skill when the user needs Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development and the operator should preserve the upstream workflow, copied support files, and provenance before

00

parsehub-automation

diegosouzapw

Automate Parsehub tasks via Rube MCP (Composio). Always search tools first for current schemas.

00

signalwire-agents-sdk

diegosouzapw

Expert assistance for building SignalWire AI Agents in Python. Automatically activates when working with AgentBase, SWAIG functions, skills, SWML, voice configuration, DataMap, or any signalwire_agents code. Provides patterns, best practices, and complete working examples.

00

agent-sales-engineer

diegosouzapw

Expert sales engineer specializing in technical pre-sales, solution architecture, and proof of concepts. Masters technical demonstrations, competitive positioning, and translating complex technology into business value for prospects and customers.

00

frontend-design

diegosouzapw

Create distinctive, production-grade frontend interfaces with high design quality. Avoids generic AI aesthetics in favor of bold, memorable designs.

00

Search skills

Search the agent skills registry