git-pushing · davila7 — Claude Code skill: stage, commit and push in one step
Stages your edits, writes a conventional commit and sends the branch upstream. Handy at the point where a feature is done and you want it published.
npx claude-code-templates@latest --skill development/git-pushingWhat git-pushing does
The skill fires when you ask to push, or to save your work to GitHub. Instead of improvising git commands, the agent calls the bundled smart_commit.sh and lets it drive.
That script does the staging, picks a conventional-style message and pushes with the -u flag. You can hand it your own wording as a second argument — bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature".
Hand-run git commands are deliberately skipped here. Keep stray files out of your working tree: anything uncommitted gets swept in, so clean up or gitignore before you trigger it.
What it helps with
- commit a pile of pending edits without typing git commands
- get a conventional-format commit message written for you
- push a fresh branch and set its upstream in one go
- publish a finished feature to GitHub by asking the agent
Example prompts for the agent
- Commit and push these changes
- Push everything to the
feature/loginbranch - Make a commit saying
fix: correct form validationand push it
How to install git-pushing
1claude-code-templates
npx claude-code-templates@latest --skill development/git-pushing2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill git-pushing -a claude-code3Manually: put the files in place
~/.claude/skills/git-pushing/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/git-pushing/
Manually: put the files in place
.agents/skills/git-pushing/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/git-pushing/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates git-pushing2Manually: put the files in place
.github/skills/git-pushing/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/git-pushingManually: put the files in place
.devin/skills/git-pushing/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about git-pushing
How do I install git-pushing in Claude Code?
Run npx claude-code-templates@latest --skill development/git-pushing. Or use the alternative: npx skills add davila7/claude-code-templates --skill git-pushing -a claude-code.
What does git-pushing do?
It calls smart_commit.sh, which stages the changes, builds a conventional commit and pushes the branch with -u.
Can I supply my own commit message?
Yes, pass it as an argument: bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature".
Similar skills
All skills for Git and GitHub →git-pushing by other authors comes first.