Agent skill
git-pushing
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", or similar git workflow requests.
Install this agent skill to your Project
npx add-skill https://github.com/kivilaid/plugin-marketplace/tree/main/plugins/git-pushing
SKILL.md
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
1. Check Git Status
Run git status to understand:
- Which files have changed
- What will be committed
- Current branch name
2. Stage Changes
- Run
git add .to stage all changes - Alternatively, stage specific files if partial commit is needed
3. Create Commit Message
If user provided a message:
- Use it directly
If no message provided:
- Analyze changes using
git diff - Generate a conventional commit message:
- Format:
type(scope): description - Types:
feat,fix,refactor,docs,test,chore - Keep description concise (50-90 characters)
- Use imperative mood: "Add" not "Added"
- Format:
- Always append Claude Code footer:
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Use heredoc format:
git commit -m "$(cat <<'EOF'
commit message here
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
4. Push to Remote
- Run
git pushto push commits - If push fails due to diverged branches, inform user and ask how to proceed
5. Confirm Success
- Report commit hash
- Summarize what was committed
- Confirm push succeeded
Examples
User: "Push these changes" → Check status, stage all, generate commit message, push
User: "Commit with message 'fix: resolve table extraction issue'" → Use provided message, push
User: "Let's save this to github" → Activate workflow, generate appropriate commit message
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
file-organizer
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
brainstorming
Use when creating or developing anything, before writing code or implementation plans - refines rough ideas into fully-formed designs through structured Socratic questioning, alternative exploration, and incremental validation
sast-configuration
Configure Static Application Security Testing (SAST) tools for automated vulnerability detection in application code. Use when setting up security scanning, implementing DevSecOps practices, or automating code vulnerability detection.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first
meeting-insights-analyzer
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Didn't find tool you were looking for?