skillby disler

Create git worktrees

Read the `Variables` then process the `Run` commands and then `Report` the results.

Installs: 0
Used in: 1 repos
Updated: 3d ago
$npx ai-builder add skill disler/trees

Installs to .claude/skills/trees/

# Create git worktrees

Read the `Variables` then process the `Run` commands and then `Report` the results.

## Variables

comma_separated_branch_names: $ARGUMENTS
tree_directory: `trees/`

## Run

For each branch name in `comma_separated_branch_names`, create a new git worktree in the `tree_directory` with the respective branch name.

Look for .env in the root directory and copy it to the worktree directory for each branch.

## Report

Report the results of the `Run` commands with a path to the worktree directory, the branch name, and the path to each .env file copied to the worktree directory.

Quick Install

$npx ai-builder add skill disler/trees

Details

Type
skill
Author
disler
Slug
disler/trees
Created
3d ago