finish-worktree

Installation
SKILL.md

Finish Worktree

Overview

Finish a development worktree without losing work or silently publishing code. The process is: inspect Git state, commit via $commit if there are changes, preserve merge/publish intent, then remove the linked worktree only when the target path is clean and safe to delete.

Workflow

1. Identify The Worktree

Run these before making changes:

git rev-parse --show-toplevel
git branch --show-current
git status --short --branch
git worktree list --porcelain
Installs
2
Repository
qzaixh/skills
First Seen
Sep 25, 2026