원클릭으로
create-worktree
Create and bootstrap a git worktree for isolated development work.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create and bootstrap a git worktree for isolated development work.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Thoroughly reviews a GitHub pull request and posts inline review comments anchored to the exact lines it has feedback on. Spawns review sub-agents (parallel lenses for bugs, security, edge cases, tests, design), scores findings by confidence, filters false positives, and posts one PR review with per-line comments plus a summary. Works against github.com AND GitHub Enterprise Server. Use this whenever the user wants to review a PR, generate line-level feedback on a PR, "leave comments on" or "critique" a pull request, or produce actionable review comments to then process with pr-review-handler. Reach for this for arbitrary PR URLs and Enterprise hosts; for reviewing your own current branch on github.com, the built-in /code-review --comment is a lighter alternative.
Processes PR review comments by assessing feedback, planning actions, implementing changes, and responding to reviewers. Use when a PR has review comments that need to be addressed.
Rebases the current branch on the latest default branch (main, master, etc.), resolving any merge conflicts automatically. Detects the default branch and remote, fetches latest, performs rebase, and handles conflicts file-by-file.
You MUST use this skill for ANY changes you make within to the iOS app. Senior iOS engineer with visual feedback capabilities via simulator MCP tools.
Collaborative exploration to refine ideas into clear requirements before spec writing. Explores user intent, requirements and design through iterative dialogue.
Execute implementation specs with batched checkpoints. Follows specs exactly, stops on blockers, supports parallelization.
SOC 직업 분류 기준
| name | create-worktree |
| description | Create and bootstrap a git worktree for isolated development work. |
| argument-hint | <name> [--spec=<path>] [--base=<branch>] [--no-bootstrap] |
| allowed-tools | ["Bash(git worktree *)","Bash(git branch *)","Read","Write"] |
Creates and bootstraps a git worktree for isolated development work.
name (required): Name for the worktree directory and branch--spec=<path>: Path to a spec file to copy into the worktree's specs directory--base=<branch>: Base branch to create worktree from (default: current branch or configured default)--no-bootstrap: Skip the onBootstrap hookCheck for .claude/spec-workflow/config.yaml:
paths:
worktrees: "./worktrees" # Where worktrees are created
specs: "./specs" # Where specs live (for copying)
worktree:
branchNaming: "{name}" # Branch naming pattern
defaultBase: null # Default base branch (null = current)
onBootstrap: null # Hook script to run after creation
The branchNaming pattern supports these tokens:
{name} - The worktree name{date} - Current date (YYYY-MM-DD)Examples:
"{name}" → my-feature"feature/{name}" → feature/my-feature"{date}-{name}" → 2024-01-15-my-featureIf worktree.onBootstrap is configured, it runs after worktree creation with these environment variables:
| Variable | Description |
|---|---|
WORKTREE_PATH | Absolute path to the new worktree |
WORKTREE_NAME | Name of the worktree |
SPEC_FILE | Path to spec file (if --spec was provided) |
BASE_BRANCH | Branch the worktree was created from |
Example hook script:
#!/bin/bash
cd "$WORKTREE_PATH"
npm install
# ... any other setup
Check if worktree exists
Determine paths and branch name
{config.paths.worktrees}/{name} (default: ./worktrees/{name})branchNaming pattern (default: {name})--base argument, or worktree.defaultBase, or current branchCreate the worktree
git worktree add -b [branch-name] [worktree-path] [base-branch]
Notify the user
Worktree created at [path] on branch [branch-name].
Handle spec file (if --spec provided)
Run bootstrap hook (unless --no-bootstrap)
worktree.onBootstrap is configured, run it with environment variablesFinal confirmation
Worktree ready at [path].
To work in this worktree:
- Open a new terminal in [path]
- Or use: cd [path]
# Basic worktree creation
/create-worktree feature-login
# Create worktree with a spec file
/create-worktree user-notifications --spec=specs/2024-01-15-notifications-spec.md
# Create worktree from a different base branch
/create-worktree hotfix-auth --base=release/v2.0
# Create worktree without running bootstrap
/create-worktree quick-fix --no-bootstrap
worktrees/ to .gitignore)/worktree-cleanup (if available) to remove stale worktrees