worktree-init

Initialize shared data storage configuration for all worktrees.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/barikata1984/.agent --skill worktree-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-init
Source: https://github.com/barikata1984/.agent/tree/main/skills/worktree-init
Command: npx skills add https://github.com/barikata1984/.agent --skill worktree-init

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing multiple worktrees requires a centralized, protected data layer to prevent data loss and conflicts.

Core Features & Use Cases

  • Initialize the shared data/storage layout used by all worktrees.
  • Enforce single-point initialization in the main repository before creating worktrees.
  • Provide a simple command to bootstrap data/shared for multi-worktree projects.

Quick Start

Run this skill once in the main repository to initialize shared data storage for all worktrees.

Frequently Asked Questions about worktree-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I initialize shared data storage for multiple git worktrees?

Run this skill once from the main repository to create and protect a centralized data/shared directory structure before creating any worktrees. It bootstraps the shared storage layout used by all worktrees.

Why do git worktrees need a centralized shared data directory?

Managing multiple git worktrees requires a centralized data layer to prevent data loss and conflicts. It provides a protected data layer for the entire project.

Do I need to run worktree initialization from the main repository?

Yes, worktree initialization requires running from the main repository with write permissions. It enforces single-point initialization before creating any worktrees.

When should I set up data protection for git worktrees?

Set up data protection before creating or managing multiple worktrees. It ensures the centralized data/shared directory structure is created and protected upfront.

Can I use this skill to manage worktree data protection after worktrees are created?

This skill applies when creating or managing multiple worktrees, but it enforces single-point initialization in the main repository. Run it once to bootstrap the shared storage layout.