Overview
Git Operations Automation covers the git-pushing skill from mhattingpete/claude-skills-marketplace, a Claude Code plugin marketplace for software engineering workflows (Apache-2.0). The skill ships in the engineering-workflow-plugin alongside feature planning, test fixing, and review-implementing skills. Its job is narrow: when you say "commit and push" or "push this", Claude runs one script that stages, commits, and pushes, instead of improvising a sequence of git commands.
How It Works
The skill tells Claude to always call scripts/smart_commit.sh rather than manual git commands. The script:
- Exits early with "No changes to commit" when the working tree is clean.
- Stages everything with
git add .. - If you did not pass a message, derives a conventional commit type from the staged files:
testwhen paths contain "test",docsfor.md/.txt/.rst,choreforpackage.json,requirements.txt, orCargo.toml,fixorrefactorwhen the diff mentions those words, otherwisefeat. It adds a scope from the path (for exampleplugin,skill, or the top-level folder). - Commits with a Claude Code footer and a
Co-Authored-By: Claudetrailer. - Pushes, adding
-u origin <branch>for a new branch, and prints a "Create PR" link for GitHub remotes.
Quick Start
# In Claude Code
/plugin marketplace add mhattingpete/claude-skills-marketplace
Then ask "commit and push these changes", or pass your own message:
bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"
Use Cases
- Ending a Claude Code session with a quick checkpoint push on a feature branch.
- Keeping commit messages in conventional-commit shape without typing them.
- Solo projects where "stage everything" matches how you work.
Limitations
git add .stages every change, including files you may not want committed. Checkgit statusand your.gitignorefirst.- Auto-generated messages are generic ("update 3 file(s)"); pass a real message for anything you will read later.
- It pushes immediately, so avoid it on protected or shared branches.
FAQ
Does it handle merge conflicts or rebases?
No. The script stages, commits, and pushes; a failed push is reported as an error.
Can I write my own commit message?
Yes. Pass it as the first argument and the script uses it instead of generating one.
Alternatives
- Finishing a Development Branch walks through merge, PR, or cleanup decisions instead of pushing blindly.
- Using Git Worktrees isolates feature work before you commit.
- Claude Code can already run git commands on request without a skill.
Comments
No comments yet. Be the first to comment!
Related Tools
Related Insights

Anthropic Subagent: The Multi-Agent Architecture Revolution
Deep dive into Anthropic multi-agent architecture design. Learn how Subagents break through context window limitations, achieve 90% performance improvements, and real-world applications in Claude Code.
Skills + Hooks + Plugins: How Anthropic Redefined AI Coding Tool Extensibility
An in-depth analysis of Claude Code's trinity architecture of Skills, Hooks, and Plugins. Explore why this design is more advanced than GitHub Copilot and Cursor, and how it redefines AI coding tool extensibility through open standards.
How to pick an AI coding CLI for your repo
Match Claude Code, Codex CLI, OpenCode, Pi, omp, DeepSeek Harness, and Grok Build to the work you actually run. Docs rechecked 2026-10-06.