Agent Wealth HubFree public resources
中文 EN العربية

Back to catalog / Agent setup

Finishing a branch: verify, then choose integration

After tests pass, detect the repository state and let the user choose merge, PR, or keep.

Skills

Use this only when implementation and testing are complete. Run the full project test suite, detect whether the workspace is a regular repository, named worktree, or detached HEAD, and confirm the actual base branch. Present the matching options to merge locally, push and create a PR, or keep the branch, then wait for the user’s explicit choice; do not infer that they want a merge. Merge and push change Git or remote state and require authorization for the selected option. Stop on conflicts, failing tests, or an uncertain base. Clean up only a worktree this workflow created and only when it contains no uncommitted files; show any work at risk and obtain explicit confirmation before destructive cleanup.

Permissions

Prerequisites

Permissions

Limitations

Confirm the base; remote publishing, branch deletion, or file removal requires explicit user choice and authorization.

Pinned upstream source

https://github.com/obra/superpowers/blob/bb92a77741419a4ab5f06e711a283343f1ada0c3/skills/finishing-a-development-branch/SKILL.md

Repository
obra/superpowers
File path
skills/finishing-a-development-branch/SKILL.md
Pinned commit
bb92a77741419a4ab5f06e711a283343f1ada0c3
Source checked
2026-10-14 · Reviewed against the pinned upstream source

Repository metrics

These values describe the upstream repository, not popularity or likes for an individual skill or playbook.

Stars
Not collected
Forks
Not collected
Observed at
Not collected

No metrics snapshot is available yet.

License: MIT

Compatible tools

Superpowers skill collection · Project test runner · Git repository tools

View skill directory

Main topic

Take a coding Agent change from context to verification

Related resources