auto-commit-push

Stage, commit, validate hooks, and push Git changes to origin.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/yt8766/learning-agent-core --skill auto-commit-push
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-commit-push
Source: https://github.com/yt8766/learning-agent-core/tree/main/.agents/skills/auto-commit-push
Command: npx skills add https://github.com/yt8766/learning-agent-core --skill auto-commit-push

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines the end-to-end git workflow by automating staging, commit message generation, local commits, hook validations, and pushing to remotes, ensuring consistent practices and reducing manual toil.

Core Features & Use Cases

  • Automated staging and commit creation based on diffs, following conventional commit style.
  • Pre-push code-review gating and retry logic to fix hooks or lint issues without user handholding.
  • Safe pushing to origin branches with branch policy compliance and automatic branch switching if on main.

Quick Start

Run the skill on a working directory with uncommitted changes to automatically stage, commit with a generated message, and push to the remote after passing the pre-push checks.

Frequently Asked Questions about auto-commit-push

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

FAQPage Schema
How do I automate git commits and pushes with generated commit messages?

You can automate the git workflow by running this skill on a directory with uncommitted changes to automatically stage, generate conventional commit messages, and push to remotes.

Can I automatically stage and commit changes following conventional commit style?

Yes, automated staging and commit creation analyzes your diffs to generate concise English commit messages that follow the conventional commit style without manual input.

What happens if git hooks fail during an automated commit?

When hook validations fail during an automated commit, the skill applies retry logic to fix hooks or lint issues automatically without requiring user handholding.

Does this automated git workflow support branch policies for GitHub Flow?

Yes, it ensures safe pushing to origin branches with branch policy compliance and automatically switches branches if you are currently on the main branch.

How do pre-push code-review checks work with automated git pushes?

Pre-push code-review gating runs automated checks before pushing to remotes, ensuring your changes pass validation and retrying commits if issues are detected.

What is the best way to automate a safe git push to a remote origin?

Automating a safe git push requires detecting git context, performing pre-push code-review checks, and pushing to origin while following branch policies to prevent unsafe pushes.