Skip to content
Back to skills

Create Git Worktree

ASecurity

git worktree を利用した分離作業環境を自動構築します。デフォルトブランチから最新コードを取得し、.git-worktrees/ ディレクトリに新規worktreeを作成、.env・npm依存関係を自動セットアップします。ブランチ名の '/' は自動的に '-' に変換されます。既存worktreeは再利用されます。

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolsbashgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill create-git-worktree --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Git Worktree?

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

Security grade badge for Create Git Worktree
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-create-git-worktree/badge)](https://www.skillsdirectory.com/skills/majiayu000-create-git-worktree)

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: create-git-worktree
description: git worktree を利用した分離作業環境を自動構築します。デフォルトブランチから最新コードを取得し、.git-worktrees/ ディレクトリに新規worktreeを作成、.env・npm依存関係を自動セットアップします。ブランチ名の '/' は自動的に '-' に変換されます。既存worktreeは再利用されます。
model: haiku
agent: general-purpose
context: fork
argument-hint: "[branch-name]"
---

# Create Git Worktree and Setup Environment

## Instructions

以下のコマンドを実行して、git worktreeを作成し、環境のセットアップを行います。
引数にはgit worktree化するブランチ名を指定してください。
scriptsディレクトリはプラグイン内のskills/create-git-worktree/配下に配置されています。

```
bash /プラグインルートパス/skills/create-git-worktree/scripts/create-worktree.sh $ARGUMENTS
```

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.