baum777/model-agnostic-workflow-system/safe-current-branch-push
Claude Code and agent skill by baum777/model-agnostic-workflow-system
- community
Checking that the SKILL.md file is still in the repository.
Push only the current non-main branch after explicit cleanliness and branch checks, without implicit or broad push commands. Use when a feature or working branch push is requested.
Install
npx vskill@latest install baum777/model-agnostic-workflow-system/safe-current-branch-pushSKILL.md
The same SKILL.md was published earlier as baum777/model-agnostic-workflow-system/safe-current-branch-push.
Safe Current Branch Push
Purpose
Push exactly one checked non-main branch target while preventing implicit or broad remote updates.
Trigger
Use this skill when a push is requested for the active working branch and accidental main or multi-branch push must be prevented.
When Not To Use
- Do not use when the task explicitly targets
mainrelease push. - Do not use when the request is to push all branches or tags.
- Do not use when the user explicitly wants to push despite a dirty tree unless that exact exception is authorized.
Non-Goals
- This skill does not create commits.
- This skill does not modify
mainpush policy. - This skill does not perform force push or global push behavior.
Expected Inputs
- push request for current branch
- dirty-tree override authorization (if any)
- expected remote target (
origin)
Workflow
- Run
git status --short --branch --untracked-files=all. - If staged or unstaged changes exist, do not push unless the explicit instruction is equivalent to
push existing commits despite dirty tree. - Run
git fetch origin. - Determine active branch with
git branch --show-current. - If current branch is
main, route tosafe-main-push-releaseand stop this skill. - Push only with:
git push origin <current-branch>
- Never use:
git pushgit push origin maingit push --allgit push --force
Output
Return these fields:
Result(pass|blocked|partial)BranchUpstreamPushed commit rangeRemote targetBranches intentionally not touchedNext safe step
Quality Checks
- Push target is explicit and equals current non-main branch.
- Dirty-tree behavior follows explicit instruction only.
- No implicit, broad, or force push command is used.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/safe-current-branch-push/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/baum777/model-agnostic-workflow-system/safe-current-branch-push)