worktree-merge
Installation
SKILL.md
Worktree Merge
Integrate any number of feature branches into your working branch through a single throwaway integration branch, so nothing lands on the main line until every branch is merged and the whole suite passes. Validation commands are detected from the repo, never assumed.
Input
$ARGUMENTS is the list of branches to integrate.
- Fewer than two → ask which branches to integrate. Don't guess.
- Two or more → integrate them in the given order.
Detect the validation commands ONCE
Find the commands that prove this project works, preferring what CI already runs: read .github/workflows/*, a
Makefile, or the manifest's test/lint scripts, and reuse those exact commands (test runner, type checker,
linter). Do not hardcode pytest/mypy/pyright — use whatever this repo actually uses.