Skip to content
Skillpedia
Deploy & cloud (DevOps)33k · #8762

git-pushing

What it does

This skill lets your AI agent save your work to a remote Git branch in one step. It is for developers who want to commit and push without typing each Git command.

When to use it

  • ✓When you ask to commit and push your changes, or to push this to GitHub.
  • ✓When you have finished a feature and want to share it on the remote.
  • ✓When you say things like save my work or push this up.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/git-pushing/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/git-pushing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Commit my changes and push them to GitHub.”

5 new skills a week. 1 minute to read.

How it works

The agent runs a provided script that stages all changes, writes a conventional commit message, and pushes with upstream tracking. You can give the script your own message instead.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Git Push Workflow

Stage all 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"

Workflow

ALWAYS use the script - do NOT use manual git commands:

bash skills/git-pushing/scripts/smart_commit.sh

With custom message:

bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"

Script handles: staging, conventional commit message, Claude footer, push with -u flag.

FAQ

Does it stage every file?

Yes, the script stages all changes before committing.

Can I write my own commit message?

Yes, you can pass a custom message to the script.

Why use the script instead of manual Git commands?

The skill says to use the script every time, so the commit and push steps stay consistent.

Details

Original description by the author

Stage, commit, and push git changes with conventional commit messages. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activates when user says "push changes", "commit and push", "push this", "push to github", or similar git workflow requests.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8762
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills