Loading...
Loading...
Create branch, commit, push, and open a pull request. Use when: user says "ship it", "ship this", "create a PR", "open a PR", "push and PR", or wants to go from uncommitted changes to an open pull request.
npx skill4agent add whatifwedigdeeper/agent-skills ship-itfix login timeoutgit status
git branch --show-current
DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')
# Fallback if origin/HEAD is unset
if [ -z "$DEFAULT_BRANCH" ]; then
DEFAULT_BRANCH=$(git remote show origin 2>/dev/null | grep 'HEAD branch' | sed 's/.*: //')
fi
git diff --stat
git diff --stat --cached
gh auth statusmainghgit checkout -b <branch-name>$ARGUMENTSfix/handle-null-responsefeat/fix/refactor/docs/chore/test/-2git add -Agit add <file1> <file2> ...
git diff --cached --name-only$ARGUMENTSgit commit -m "type: description"--no-gpg-sign$(cat <<'EOF'...)-mgit commit -m "subject" -m "body"git push -u origin <branch-name>git log <default-branch>..HEAD --oneline
git diff <default-branch>..HEAD --statif gh pr view --json url,title,body > /dev/null 2>&1; then
gh pr view --json url,title,body
figit log <default-branch>..HEAD --onelinegh pr edit <number> --title "<new title>" --body "<new body>"gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
- [2-3 bullet points describing the changes]
## Test Plan
- [ ] [How to test these changes]
---
Generated with [agent name and link, per agent conventions]
EOF
)"gh pr create$ARGUMENTS