Skip to content
Back to skills

Push

ASecurity

Publish local Git commits on a named branch without losing local or remote work. Always use this skill for an actual Git branch publication, including requests to push, publish, upload, or put the current or detached checkout on origin or another Git remote. Use it for detached-HEAD publication and post-rebase lease-protected updates; it pushes existing commits only and does not commit dirty changes, create a PR, or merge.

  • 77 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
securitygit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add toy-crane/claude-code-playbook-template --skill push --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Push?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Push
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/toy-crane-push/badge)](https://www.skillsdirectory.com/skills/toy-crane-push)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: push
description: Publish local Git commits on a named branch without losing local or remote work. Always use this skill for an actual Git branch publication, including requests to push, publish, upload, or put the current or detached checkout on origin or another Git remote. Use it for detached-HEAD publication and post-rebase lease-protected updates; it pushes existing commits only and does not commit dirty changes, create a PR, or merge.
---

# Push branch

Publish the current branch's commits while leaving uncommitted changes local.
Report dirty changes as not included rather than turning a push request into a
commit request.

Publish a named working branch. When the checkout is detached, derive a concise
branch name from the change. Treat a protected default branch as requiring
explicit authorization rather than a routine push target.

Reconcile the current remote branch before updating it so another contributor's
work is preserved. When an intentional rebase changed already-published
history, use a lease-protected update only against the remote state just
observed; never overwrite an unexpectedly changed remote.

Finish when the remote branch points at the intended local commit, upstream
tracking is usable for later work, and the user knows the branch and remote
result. Keep every uncommitted or unrelated change untouched.

Files in this skill

  • SKILL.md1.3 KB
  • agents/openai.yaml211 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.