Skip to content
Back to skills

Worktree Setup Barikata1984

ASecurity

Automatically invoked after `git worktree add` to create data/shared symlink and data/local directory. Required before starting work in any new worktree.

  • 57 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 31, 2026
toolsgobashgit

Security analysis

A100/100

Scanned May 31, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill worktree-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Worktree Setup Barikata1984?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Worktree Setup Barikata1984
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-worktree-setup-barikata1984/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-worktree-setup-barikata1984)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: worktree-setup
description: Automatically invoked after `git worktree add` to create data/shared symlink and data/local directory. Required before starting work in any new worktree.
---

# Worktree Setup

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

## Goal

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

## Instructions

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

## Usage

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

## Constraints

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.