git-worktree-feature-flow

Installation
SKILL.md

Git Worktree Feature Flow

Use this skill when the user wants an isolated working directory for a feature (via git worktree), then to merge that branch back into a target branch and clean up the worktree.

Examples (user prompts)

  • "Create a worktree for feature/foo off main."
  • "Spin up a worktree for my change, put it in ../wts/feature-foo."
  • "Merge my worktree branch back into main with a squash merge, then clean up."
  • "Finish the worktree for feature/foo but keep the branch around."

Quick flow

  1. Start: create a feature worktree
  • Ask for branch name (required).
  • Optional: ask for base ref (default: current branch).
  • Run scripts/worktree-start.sh.
  1. Work: user edits/commits in the worktree directory.
Related skills
Installs
3
First Seen
Mar 1, 2026