.claude/skills/push/SKILL.md
Push commits to remote and optionally create a PR. Use when the user wants to push their changes.
npx skillsauth add packbot/agentic-coding-boilerplate pushInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CRITICAL: Use
mcp__acp__Bashfor ALL git commands. NEVER use the Task subagent or the built-in Bash tool — they run in an isolated sandbox. Pushes will NOT persist there.
Follow these steps in order. Do not skip steps.
Run:
git branch --show-current to get the current branch
git remote -v to verify a remote exists
git log origin/<branch>..HEAD --oneline to list unpushed commits
If no remote is configured: Inform the user and stop.
If no unpushed commits: Inform the user everything is up to date. Stop.
If unpushed commits exist: Proceed to Step 2.
Show the user:
git log origin/<branch>..HEAD --oneline)git diff origin/<branch>..HEAD --stat)main or master: Warn the user explicitly and ask for confirmation before proceeding.Execute git push origin <branch>.
--force or --force-with-leasegit pull --rebase first. Do not force-push.Show the push result.
If the current branch is not main or master:
gh pr create --fill or let the user customize the title/body$ARGUMENTS contains PR-related instructions, use themIf already on main/master, skip this step.
development
Write comprehensive tests following the Analyze > Strategy > Implement > Verify workflow. Use when adding tests, improving coverage, or when the user asks to write tests for specific code.
development
Review code changes or a GitHub PR
development
Refactor code safely following the Analyze > Plan > Refactor > Verify workflow. The key rule is that behavior must not change. Use when improving code structure, readability, or modularity.
development
Implement a new feature following the Explore > Plan > Implement > Verify workflow. Use when adding new functionality, building a feature, or when the user asks to implement something.