本文へスキップ
Kitbay
スキル

finishing-a-development-branch

MIT2026年11月3日 更新315,883GitHubスター

A skill from the Superpowers collection for the end of a piece of work, once the code is finished.

スキルの内容

A skill from the Superpowers collection for the end of a piece of work, once the code is finished. The agent runs the full test suite and stops if anything fails, works out whether it is in a normal checkout, a linked git worktree or a detached HEAD, confirms the base branch, and then offers the user a short menu: merge locally, push and open a pull request, or keep the branch. Discarding work is never offered and needs the user to type an exact confirmation word. After a local merge it re-runs the tests before deleting the branch, and it only removes worktrees it created itself, asking about any uncommitted files instead of forcing.

できること

  • Run the test suite before integrating a branch
  • Merge locally, open a pull request or keep the branch
  • Detect git worktrees and detached HEAD states
  • Clean up worktrees the skill created