gtr
/gtr
This skill should be used when the user invokes /gtr:* commands to manage git worktrees using git-worktree-runner (gtr). Enables parallel branch development through worktree creation, editor/AI integration, and lifecycle management.
- Author
- vampik33 ↗
- Repository
- claude-plugins ↗
- Licence
- Apache-2.0
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
This skill should be used when the user invokes /gtr:* commands to manage git worktrees using git-worktree-runner (gtr). Enables parallel branch development through worktree creation, editor/AI integration, and lifecycle management.
Original author description
This skill should be used when the user invokes /gtr:* commands to manage git worktrees using git-worktree-runner (gtr). Enables parallel branch development through worktree creation, editor/AI integration, and lifecycle management.
How it works
- Overview
- Quick Start
- Common Workflows
- Core Commands
- Configuration
- Hooks
- File Copying
- Reference
SKILL.md preview
--- name: gtr description: This skill should be used when the user invokes /gtr:* commands to manage git worktrees using git-worktree-runner (gtr). Enables parallel branch development through worktree creation, editor/AI integration, and lifecycle management. --- # Git Worktree Runner (gtr) ## Overview This skill provides workflows for managing git worktrees using the `git gtr` CLI tool. Git worktrees enable working on multiple branches simultaneously in separate directories without stashing changes or switching branches. ## Quick Start To check if gtr is installed: ```bash git gtr --version ``` If not installed, guide user through installation: ```bash git clone https://github.com/coderabbitai/git-worktree-runner.git cd git-worktree-runner sudo ln -s "$(pwd)/bin/git-gtr" /usr/local/bin/git-gtr ``` ## Common Workflows ### Create and Work on Feature Branch Full lifecycle for feature development: ```bash # 1. Create worktree for new feature git gtr new feature-name # 2. Open in editor (uses configured default) git gtr editor feature-name # 3. Launch AI tool in worktree (see note about nested Claude) git gtr ai feature-name # 4. Run commands in worktree git gtr run feature-name npm test git gtr run feature-name npm run build # 5. When done, remove worktree git gtr rm feature-name ``` ### Quick Parallel Development For quick context switching between branches: ```bash # List existing worktrees git gtr list # Create worktree from existing branch git gtr new existing-branch # Navigate to worktree (prints path - use quotes for spaces) cd "$(git gtr go branch-name)" # Or run commands directly git gtr run branch-name git status ``` ### Multiple Worktrees Same Branch For different aspects of the same feature: ```bash git gtr new feature --force --name frontend git gtr new feature --force --name backend ``` ### Non-Interactive/CI Usage For automation scenarios: ```bash git gtr new ci-test --yes --no-copy git gtr rm ci-test --yes --delete-branch ``` ## Core Commands | Command | Description | |---------|-------------| | `git gtr new <branch>` | Create new worktree | | `git gtr list` | List all worktrees | | `git gtr editor <branch>` | Open worktree in editor | | `git gtr ai <branch>` | Launch AI tool in worktree | | `git gtr run <branch> <cmd>` | Execute command in worktree | | `git gtr go <branch>` | Print worktree path | | `git gtr rm <branch>` | Remove worktree | | `git gtr copy <target>` | Sync files to worktree(s) | | `git gtr config` | Manage configuration | ## Configuration Key settings via `git gtr config set`: ```bash # Set default editor (cursor, vscode, zed) git gtr config set gtr.editor.default cursor # Set default AI tool (claude, aider, codex, continue, cursor) git gtr config set gtr.ai.default claude # Set worktrees directory git gtr config set gtr.worktrees.dir ~/worktrees # Set files to auto-copy on worktree creation git gtr config set gtr.copy.include ".env*,*.local" ``` ## Hooks Hooks run at worktree lifecycle events and receive environment variables: - `REPO_ROOT` - Repository root path - `WORKTREE_PATH` - Worktree directory location - `BRANCH` - Branch name Configure hooks: ```bash git gtr config set gtr.hook.postCreate "npm install" git gtr config set gtr.hook.preRemove "npm run clean" git gtr config set gtr.hook.postRemove "echo 'Cleaned up'" ``` ## File Copying Copy files to worktrees: ```bash # Copy specific patterns to one worktree (note the -- separator) git gtr copy feature -- ".env*" "*.json" # Copy to all worktrees git gtr copy -a -- ".env*" ``` ## Reference For detailed command options and configuration, see `references/commands.md`.
Files in this package (2)
- SKILL.md 4 KB
- references/commands.md 6 KB
Versions
The database has no other skills named gtr.
Database snapshot: 13.11.2026 · package version 4bf0807802a4 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100git-worktree-runner
Manages git worktrees using git-worktree-runner (gtr). Use when the user needs to create, list, remove, or navigate worktrees with `git gtr` commands, open editors or AI tools in worktrees, manage parallel development branches, or check out GitHub PRs (including from forks) into worktrees. - 100git-worktrees
Git worktree management for parallel agent team development. Triggers: 'create worktree', 'worktree setup', or during /delegate dispatch. Do NOT use for branch creation without delegation context. - 100git-worktree
Manage Git worktrees for isolated parallel development. Use when creating, switching, or cleaning up worktrees for parallel bead work. - 100ctx-worktree
Manage git worktrees for parallel agent development. Use when splitting work across independent task tracks. - 100git-worktree
Manage git worktrees for isolated parallel development. Use when running multiple sessions concurrently or working on parallel features. - 100git-worktree
Manage Git worktrees for isolated parallel development. Use when creating, listing, switching, or cleaning up git worktrees, or when needing isolated branches for concurrent reviews or feature work.