About git-pushing
A Git workflow skill for staging changes, creating a conventional commit, and pushing to a remote branch. It directs users to run a supplied script rather than issue Git commands manually.
Key features
- 01Stages repository changes
- 02Creates conventional commits
- 03Pushes to the remote branch
- 04Accepts a custom commit message
- 05Adds a Claude footer
Use cases
- 01Pushing completed feature changes
- 02Saving work to a remote repository
- 03Committing and sharing updates with a custom message
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ davila7/ claude-code-templates --skill git-pushingAfter installing, type/git-pushingin Claude Code to confirm it loaded.
Bundled filesscripts/smart_commit.sh
Details
From the project READMEGit 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.
Comments
Markdown supported