t1k-worktree

Manage Git worktrees for parallel development and GitHub PR merging.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/tranvietanh0/StackTheRing --skill t1k-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: t1k-worktree
Source: https://github.com/tranvietanh0/StackTheRing/tree/main/.claude/skills/t1k-worktree
Command: npx skills add https://github.com/tranvietanh0/StackTheRing --skill t1k-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill manages Git worktrees for parallel development in monorepos and standalone repos, enhancing the workflow by organizing multiple feature branches independently.

Core Features & Use Cases

  • Create and Remove Worktrees: Maintain isolated feature branches for parallel development.
  • Sync Worktrees: Rebase worktrees from the base branch to keep them up-to-date.
  • Environment Variables Sync: Keep environment variables consistent across worktrees.
  • Diff and Status: View differences and status of worktrees.
  • Merge: Merge worktree branches to the base branch via GitHub PR.

Quick Start

Create a new worktree for a feature branch: t1k:worktree create <feature> --prefix feat

Frequently Asked Questions about t1k-worktree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Git worktrees for parallel development in a monorepo?

You can create a new worktree using the command `t1k:worktree create <feature> --prefix feat`. This establishes an isolated feature branch for parallel development, maintaining consistency across your repository.

Does managing Git worktrees require the GitHub CLI?

Yes, both git and the GitHub CLI (`gh`) are required dependencies. The skill uses GitHub CLI to merge worktree branches into the base branch via GitHub Pull Requests.

How do I keep environment variables consistent across multiple Git worktrees?

This skill provides an environment sync feature to keep environment variables consistent across worktrees. It handles synchronization automatically so isolated feature branches retain the correct environment setup.

What is the best way to sync and rebase a Git worktree from the base branch?

The skill includes a sync feature that rebases worktrees from the base branch to keep them up-to-date. This ensures parallel feature branches remain consistent with the main codebase.

Can I merge a Git worktree branch back to the base branch using a GitHub PR?

Yes, the skill handles merging worktree branches to the base branch via GitHub PR. It utilizes the GitHub CLI to merge your isolated feature branches back into the main codebase.