git-merge-to-dev
Installation
SKILL.md
Git Merge to Dev
Overview
Variant of git-merge-to-main with target = dev (preferred) or develop (fallback). Merges the current branch into the dev branch, then safely deletes the source branch unless the source is protected.
Announce at start: "I'm using the git-merge-to-dev skill to merge <source-branch> into <target> and delete it unless it is protected."
Target Branch Resolution
Resolve which branch to merge into, in order:
- If
devexists locally → target =dev - Else if
developexists locally → target =develop - Else → abort: "No
devordevelopbranch found locally. Create one or usegit-merge-to-main."