git-commit-push

Automates git commit-and-push with conventional messages and safe publication to the remote branch.

14|Updated May 27, 2026
One-click install
npx skills add https://github.com/mlhiter/skills --skill git-commit-push-mlhiter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit-push
Source: https://github.com/mlhiter/skills/tree/main/skills/git-commit-push
Command: npx skills add https://github.com/mlhiter/skills --skill git-commit-push-mlhiter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the git commit-and-push workflow, ensuring conventional commit message analysis, session-scoped staging, logical change grouping, and safe publication to the tracked remote branch.

Core Features & Use Cases

  • Conventional Commit Analysis: Automatically generates conventional commit messages from diffs.
  • Session-Scoped Staging: Commits changes attributable to the current conversation/session.
  • Logical Change Grouping: Splits independent work into multiple clean commits.
  • Safe Publication: Pushes commits to the remote branch only when safe-push checks pass.
  • Use Case: Ideal for users who need to commit changes, commit and push, or publish local changes while ensuring best practices in version control.

Quick Start

Commit and push your changes to the remote branch with the 'git-commit-push' skill.

Frequently Asked Questions about git-commit-push

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git commit and push with conventional commit messages?

You can automate git commit and push by using this Skill to analyze git diffs, auto-detect type and scope, and generate conventional commit messages. It stages session-scoped changes and pushes them to the remote branch after safety checks pass.

What is conventional commit message analysis and how does it work for git changes?

Conventional commit message analysis automatically generates compliant commit messages by evaluating your git diffs. The mechanism auto-detects the appropriate type and scope from the code changes, ensuring standardized version control practices without manual message formatting.

How do I split independent changes into multiple clean git commits?

To split independent changes into multiple clean git commits, this Skill uses logical change grouping to separate unrelated worktree modifications. It isolates session-scoped changes, ensuring independent work is committed separately without mixing unrelated dirty worktree files.

Does this git commit workflow avoid committing unrelated dirty worktree changes?

Yes, this git commit workflow avoids unrelated dirty worktree changes through session-scoped staging. It isolates changes attributable to the current session and uses logical change grouping to ensure only relevant modifications are included in each commit.

Do I need bash to run the git-commit-push automation?

Yes, you need bash installed in your environment because it is a required dependency for executing the automation scripts. The Skill relies on bash to process git diffs, stage changes, and execute the safe publication commands.

Why does git push fail and how does safe publication work?

Git push may fail if safety checks detect conflicts or uncommitted dependencies, but safe publication works by verifying these checks pass before pushing commits to the tracked remote branch. This prevents unsafe overwrites and ensures clean synchronization with the remote.