git-pushing
Stage all changes, create a conventional commit, and push to the remote branch. Use when explicitly asks to push changes ("push this", "commit and push"), mentions saving work to remote ("save to github", "push to remote"), or completes a feature and wants to share it.
About this skill
This skill automates the critical developer workflow of saving and sharing code changes. It intelligently stages all modified files, assists in generating a conventional commit message (e.g., feat, fix, chore), and then pushes these changes to the remote Git repository branch. Designed for seamless integration into an AI agent's toolkit, it streamlines code collaboration and ensures work is consistently saved and shared, adhering to best practices for version control. This skill is marked as 'critical' risk due to its direct interaction with source control, emphasizing the need for careful use.
Best use case
Automating the process of committing and pushing code changes to a remote Git repository, ensuring work is saved and shared collaboratively, and maintaining version control for feature updates, bug fixes, or documentation changes.
Stage all changes, create a conventional commit, and push to the remote branch. Use when explicitly asks to push changes ("push this", "commit and push"), mentions saving work to remote ("save to github", "push to remote"), or completes a feature and wants to share it.
All local changes are staged, a conventional commit is created, and these changes are successfully pushed to the remote Git branch. The remote repository reflects the latest local modifications, making them accessible to collaborators. A confirmation message indicating the successful push, potentially including the commit hash or a link to the remote repository.
Practical example
Example input
Okay, I've finished the feature. Let's commit these changes with a 'feat: added user profile page' message and push them to the main branch.
Example output
Staging all changes and creating a commit with message 'feat: added user profile page'. Pushing to `origin/main`... Changes pushed successfully. [Link to commit/repo]
When to use this skill
- When the user explicitly requests to push changes (e.g., "push this", "commit and push", "let's push this up", "commit these changes"). When the user mentions saving work to a remote repository (e.g., "save to GitHub", "push to remote"). Upon completing a feature, bug fix, or any significant work and indicating a desire to share or finalize it.
When not to use this skill
- When uncommitted changes are not intended for immediate sharing or are still in a draft state requiring further local modifications. When the user has not confirmed that all changes are ready to be staged and committed, especially in environments requiring strict code review before pushing. When pushing to a protected branch where direct pushes are disallowed or require pull requests and reviews. Without explicit user confirmation, due to the critical nature of pushing code changes that are irreversible or could introduce breaking changes.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/git-pushing/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How git-pushing Compares
| Feature / Agent | git-pushing | Standard Approach |
|---|---|---|
| Platform Support | Claude | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | medium | N/A |
Frequently Asked Questions
What does this skill do?
Stage all changes, create a conventional commit, and push to the remote branch. Use when explicitly asks to push changes ("push this", "commit and push"), mentions saving work to remote ("save to github", "push to remote"), or completes a feature and wants to share it.
Which AI agents support this skill?
This skill is designed for Claude.
How difficult is it to install?
The installation complexity is rated as medium. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# 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
**ALWAYS use the script** - do NOT use manual git commands:
```bash
bash skills/git-pushing/scripts/smart_commit.sh
```
With custom message:
```bash
bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"
```
Script handles: staging, conventional commit message, Claude footer, push with -u flag.Related Skills
n8n-expression-syntax
Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, or working with webhook data in workflows.
mermaid-expert
Create Mermaid diagrams for flowcharts, sequences, ERDs, and architectures. Masters syntax for all diagram types and styling.
mcp-builder-ms
Use this skill when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
makepad-deployment
CRITICAL: Use for Makepad packaging and deployment. Triggers on: deploy, package, APK, IPA, 打包, 部署, cargo-packager, cargo-makepad, WASM, Android, iOS, distribution, installer, .deb, .dmg, .nsis, GitHub Actions, CI, action, marketplace
macos-menubar-tuist-app
Build, refactor, or review SwiftUI macOS menubar apps that use Tuist.
kaizen
Guide for continuous improvement, error proofing, and standardization. Use this skill when the user wants to improve code quality, refactor, or discuss process improvements.
issues
Interact with GitHub issues - create, list, and view issues.
hugging-face-tool-builder
Your purpose is now is to create reusable command line scripts and utilities for using the Hugging Face API, allowing chaining, piping and intermediate processing where helpful. You can access the API directly, as well as use the hf command line tool.
git-hooks-automation
Master Git hooks setup with Husky, lint-staged, pre-commit framework, and commitlint. Automate code quality gates, formatting, linting, and commit message enforcement before code reaches CI.
gh-review-requests
Fetch unread GitHub notifications for open PRs where review is requested from a specified team or opened by a team member. Use when asked to "find PRs I need to review", "show my review requests", "what needs my review", "fetch GitHub review requests", or "check team review queue".
fp-types-ref
Quick reference for fp-ts types. Use when user asks which type to use, needs Option/Either/Task decision help, or wants fp-ts imports.
fp-taskeither-ref
Quick reference for TaskEither. Use when user needs async error handling, API calls, or Promise-based operations that can fail.