Intelligently push the current git branch to its remote with safety checks. Use when invoked as `$git-push` or when the user asks to push committed work.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Push commits to the remote repository with branch and working-tree safety checks.
Gather status in one pass:
git status --porcelain=v1
git branch -vv
git remote -v
git log --oneline @{u}..HEAD 2>/dev/nullEvaluate safety:
git push -u <remote> <branch>:<branch>.git pull --rebase or a branch-specific rebase workflow.git push --force-with-lease.Push:
git pushgit push -u <remote> <branch>:<branch>Report only the final result:
✅ Pushed <branch> to <remote>
<remote output summary>For protected default branches, remind the user that PR flow is preferred.
phatblat/dotfiles
4d65cab
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.