ship
Installation
SKILL.md
Branch, commit, push, and open a pull request in one flow.
Flow
1. Branch Detection
Detect the default branch and current branch:
git symbolic-ref --quiet refs/remotes/origin/HEAD | sed 's#.*/##'→ default branch name- Fallback: if that fails, run
git remote set-head origin -afirst, then retry - Last resort: assume
main
- Fallback: if that fails, run
git branch --show-current→ current branch
If current branch IS the default branch: