baum777/model-agnostic-workflow-system/safe-current-branch-push

Claude Code and agent skill by baum777/model-agnostic-workflow-system

Trust tier 3
  • community
Source check pending

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-push

SKILL.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 main release 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 main push 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

  1. Run git status --short --branch --untracked-files=all.
  2. If staged or unstaged changes exist, do not push unless the explicit instruction is equivalent to push existing commits despite dirty tree.
  3. Run git fetch origin.
  4. Determine active branch with git branch --show-current.
  5. If current branch is main, route to safe-main-push-release and stop this skill.
  6. Push only with:
  • git push origin <current-branch>
  1. Never use:
  • git push
  • git push origin main
  • git push --all
  • git push --force

Output

Return these fields:

  • Result (pass | blocked | partial)
  • Branch
  • Upstream
  • Pushed commit range
  • Remote target
  • Branches intentionally not touched
  • Next 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/baum777/model-agnostic-workflow-system/safe-current-branch-push/badge)](https://verified-skill.com/skills/baum777/model-agnostic-workflow-system/safe-current-branch-push)

Something wrong with this skill or its page? Tell us.