Safe, scoped git commit-and-push workflow with conventional commit messages and protected-branch guardrails.

CCM score
57 of 100
skills.sh installs
932
GitHub stars
50.1K
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers staging only intended changes, creating a conventional commit, and pushing to the remote branch via smart_commit.sh
  • Enforces protected-branch rules, rejects -- without paths, blocks detached HEAD, and never retries a rejected direct push
  • Resolves the push target from branch.<name>.pushRemote, remote.pushDefault, then the configured upstream, defaulting to origin
  • Designed for ordinary non-release pushes; defers to maintainer or release flows when merge:batch or release:publish workflows exist

Install

$ npx -y skills add sickn33/agentic-awesome-skills --skill git-pushing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Git Push Workflow

Stage only intended changes, create a conventional commit, and push to the remote branch.

When to Use

Automatically activate when the user:

  • Explicitly asks to push changes ("push this", "commit and push")
  • Mentions saving work to remote ("save to github", "push to remote")
  • Completes a feature and wants to share it
  • Says phrases like "let's push this up" or "commit these changes"

Safety Gates

Before staging, inspect git status --short --branch, confirm the intended files, and fetch the upstream branch when a concurrent push is plausible. Do not absorb unrelated dirty files.

Read repository policy before choosing the destination branch. If main or master is protected, or the repository defines a maintainer command such as merge:batch, create or use a topic branch and finish through the required pull-request checks. A user request to “push to main” describes the desired final state; it does not authorize bypassing server-side protection. Never keep retrying a direct push after a protected-branch rejection.

Details

Repository
github.com/sickn33/agentic-awesome-skills
Category
Git & Releases
First seen
May 16, 2026

More from sickn33/agentic-awesome-skills

All 682

Similar to Git Pushing

More Git & Releases