commit-and-push

Commits staged and unstaged changes with generated messages and pushes to the remote branch.

Updated Jul 11, 2026
One-click install
npx skills add https://github.com/danielsuguimoto/skills --skill commit-and-push-danielsuguimoto
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: commit-and-push
Source: https://github.com/danielsuguimoto/skills/tree/main/skills/commit-and-push
Command: npx skills add https://github.com/danielsuguimoto/skills --skill commit-and-push-danielsuguimoto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually reviewing changes, writing commit messages, and pushing to a remote takes repetitive effort and often produces vague or inconsistent commit messages. This Skill automates the full commit-and-push flow with a message generated from the actual change summary. ## Core Features & Use Cases - Change Analysis: Loads uncommitted changes or commits ahead of upstream, groups them into logical themes, and summarizes the what and why. - Conventional Commit Messages: Generates a commit message from the change summary plus any additional context you provide. - Push with Upstream Handling: Pushes to the remote and automatically retries with git push -u origin <branch> when no upstream is set. - Use Case: After finishing a bug fix across several files, invoke the Skill to stage everything, produce a clean conventional commit message, and push the branch in one step. ## Quick Start Commit and push my current changes with a message reflecting the login fix.

Frequently Asked Questions about commit-and-push

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

FAQPage Schema
How do I commit and push all current git changes at once?▼

Invoke the Skill to stage all changes with git add -A, generate a commit message from the change summary, commit, and push to the remote. If no upstream exists, it retries with git push -u origin <branch>.

How are commit messages generated from code changes?▼

The Skill loads uncommitted changes or ahead commits, groups them into logical themes, and summarizes the what and why. The message follows git conventions and incorporates any additional context you provide.

What happens if there is nothing to commit or push?▼

The Skill checks both uncommitted changes and commits ahead of upstream. If both are empty, it stops immediately and reports that there is nothing to commit or push.

Can I push a branch that has no upstream set?▼

Yes. The Skill first attempts a standard git push, and if it fails due to a missing upstream, it retries with git push -u origin <branch> to set the tracking branch.

What if the docs/git-hosts.md spec file is missing?▼

The Skill falls back to native git CLI commands like git status, git diff, git commit, and git push. It notes the gap and never invents the missing file's contents.