create-git-worktree
git worktree を利用した分離作業環境を自動構築します。デフォルトブランチから最新コードを取得し、.git-worktrees/ ディレクトリに新規worktreeを作成、.env・npm依存関係を自動セットアップします。ブランチ名の '/' は自動的に '-' に変換されます。既存worktreeは再利用されます。
Best use case
create-git-worktree is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
git worktree を利用した分離作業環境を自動構築します。デフォルトブランチから最新コードを取得し、.git-worktrees/ ディレクトリに新規worktreeを作成、.env・npm依存関係を自動セットアップします。ブランチ名の '/' は自動的に '-' に変換されます。既存worktreeは再利用されます。
Teams using create-git-worktree should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/create-git-worktree/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How create-git-worktree Compares
| Feature / Agent | create-git-worktree | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
git worktree を利用した分離作業環境を自動構築します。デフォルトブランチから最新コードを取得し、.git-worktrees/ ディレクトリに新規worktreeを作成、.env・npm依存関係を自動セットアップします。ブランチ名の '/' は自動的に '-' に変換されます。既存worktreeは再利用されます。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Create Git Worktree and Setup Environment ## Instructions 以下のコマンドを実行して、git worktreeを作成し、環境のセットアップを行います。 引数にはgit worktree化するブランチ名を指定してください。 ``` bash scripts/create-worktree.sh [ブランチ名] ```
Related Skills
create-design-system-rules
Generates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design rules", "customize design system guidelines", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.
recipe-create-vacation-responder
Enable a Gmail out-of-office auto-reply with a custom message and date range.
recipe-create-task-list
Set up a new Google Tasks list with initial tasks.
recipe-create-shared-drive
Create a Google Shared Drive and add members with appropriate roles.
recipe-create-presentation
Create a new Google Slides presentation and add initial slides.
recipe-create-meet-space
Create a Google Meet meeting space and share the join link.
recipe-create-gmail-filter
Create a Gmail filter to automatically label, star, or categorize incoming messages.
recipe-create-feedback-form
Create a Google Form for feedback and share it via Gmail.
recipe-create-expense-tracker
Set up a Google Sheets spreadsheet for tracking expenses with headers and initial entries.
recipe-create-events-from-sheet
Read event data from a Google Sheets spreadsheet and create Google Calendar entries for each row.
recipe-create-doc-from-template
Copy a Google Docs template, fill in content, and share with collaborators.
recipe-create-classroom-course
Create a Google Classroom course and invite students.