pb-worktrees-land
Installation
SKILL.md
Land and clean up worktrees
What you get: an inventory of your worktrees with a class for each, and the merged clean ones removed after your GO.
Plan first
Recap a worktree's contents as a recap-review page before removing anything:
aos-plan-canvas new recap-review <plan-dir> # scaffold the plan folder
aos-plan-canvas open <plan-dir> --mode bdb-plan-builder # render and open in the browser
aos-plan-canvas await <plan-dir>/plan.mdx # keep listening until the verdict
The approved plan is the artifact: this template has no components, so there is no agenttrail map. The full loop: the plan-canvas skill — a plain CLI, identical on every harness.
Inputs
- repos (optional) — repo paths to scan; default is the current repo's main worktree (
git rev-parse --path-format=absolute --git-common-dir, parent dir) <owner/repo>for each repo comes fromgit -C <repo> remote get-url origin