Automates the full git workflow from staging to push with a single script call. It picks up on natural language like "push this" or "save to github" and handles everything: stages changes, generates a conventional commit message, adds a Claude footer, and pushes with the upstream flag set. The smart part is you can let it generate the commit message automatically or pass your own. Honestly, this is one of those things that sounds trivial until you realize how often you're typing the same three commands in sequence. If you're using Claude for code changes and want them pushed without context switching, it's a solid time saver.

skills.sh installs
346
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill git-pushing --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Git & Pull Requests, Automation & Workflows
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1geoffjay avatargit-advancedgeoffjay/claude-pluginsAdvanced git operations including complex rebase strategies, interactive staging, commit surgery, and history manipulation. Use when user needs to perform compl324skills.sh installs
2odyssey4me avatargitlabodyssey4me/agent-skillsCreate and manage GitLab issues, merge requests, pipelines, and repositories using the glab CLI. Use when asked to open an MR, review a merge request, check CI/303skills.sh installs
3hairyf avatargithub-workflowhairyf/skillsStandard flow from any task source (link or description) to creating a PR: resolve task, create branch and TODO.md, delegate fix to SubAgent (TODO.md), then com298skills.sh installs
4casper-studios avatarpr-commentscasper-studios/casper-marketplaceTriage unresolved PR review comments, produce a severity-ordered fix plan, then resolve or fix each issue with subagents. Use when addressing PR feedback before296skills.sh installs
5davila7 avatarcommit-workdavila7/claude-code-templatesCreate high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Us290skills.sh installs
6paperclipai avatarpr-reportpaperclipai/paperclipProduce a maintainer-grade PR or contribution report as HTML or Markdown. Use when asked to deeply review a PR, explain a design, compare systems, or prepare a 269skills.sh installs