push

Commit all working tree changes and push them to the remote git repository.

Updated May 26, 2026
One-click install
npx skills add https://github.com/cagriy/dev-skills --skill push-cagriy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: push
Source: https://github.com/cagriy/dev-skills/tree/main/skills/push
Command: npx skills add https://github.com/cagriy/dev-skills --skill push-cagriy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It removes the repetitive manual steps of reviewing changes, writing a commit message, staging files, and pushing to a remote git repository, turning the whole sequence into one command. ## Core Features & Use Cases - Change inspection: Runs git status, git diff, and recent git log to understand what changed and match the repository's commit message style. - Automatic commit messages: Generates a concise, descriptive commit message under 72 characters when the user does not supply one, focusing on the why and what. - Gitignore hygiene and push: Adds files that should not be tracked to .gitignore, stages everything with git add -A, commits, pushes, and confirms the repository is clean afterward. - Use Case: After finishing a coding session with several modified and new files, invoke the skill to review the diff, commit everything with a style-consistent message, and push to the remote in one step. ## Quick Start Commit and push all my current changes to the remote repository with an appropriate commit message.

Frequently Asked Questions about push

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

FAQPage Schema
How do I commit and push all git changes in one step?

Invoke the push skill, which runs git status and git diff to review changes, stages everything with git add -A, creates a commit with a generated or user-provided message, and pushes to the remote. It confirms success by showing the commit hash.

How are commit messages generated automatically?

The skill analyzes the git diff and the last five commits via git log --oneline -5 to match the repository's existing style. It writes a concise message focused on the why and what, keeping the first line under 72 characters.

Can I provide my own commit message?

Yes, pass your message as an argument when invoking the skill and it will be used directly for the commit. If no message is provided, the skill generates one from the analyzed changes.

What happens if the git push fails?

If the push fails, for example because the remote has newer commits and you need to pull first, the skill informs you of the failure and suggests next steps rather than forcing the push.

Does the skill handle files that should not be committed?

Yes, before staging it identifies new files or directories that should not be pushed and adds them to .gitignore. It also never includes attribution lines in commit messages.