Agent skill
worktree-init
Initialize worktree data protection configuration. Run this once in the main repository before creating any worktrees to set up shared data storage.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/worktree-init
SKILL.md
Worktree Init
Worktree データ保護設定を初期化する。
Goal
全 worktree で共有されるデータストレージの場所を設定する。
Instructions
- メインリポジトリで一度だけ実行する(worktree 作成前に)
- 全 worktree で共有される
data/shared/ディレクトリ構造を初期化する
Usage
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
"$REPO_ROOT/.agent/skills/worktree-init/init.sh"
Constraints
- メインリポジトリでのみ実行(worktree 内では実行しない)
- リポジトリルートへの書き込み権限が必要
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?