859 B
859 B
name, description
| name | description |
|---|---|
| git-pushing | Automates staging, committing, and pushing changes to Git when the user asks to commit and push. |
Git Pushing
Intent
This skill teaches Claude how to automate the workflow of staging changes, creating a commit, and pushing to the remote repository.
When to Use
Activate this skill when the user request mentions:
- “commit and push”
- “push to remote”
- “pousse les changements”
- “git push”
- similar phrases indicating a Git commit + push flow
Instructions
Claude should execute the provided script to:
- Stage all changes.
- Commit with either:
- a generated message if none specified, or
- a user-provided commit message.
- Push commits to the configured remote.
Run Script Examples
-
Default invocation:
bash skills/git-pushing/scripts/smart_commit.sh