commit-and-push

Stage, commit, and push code changes to a Git repository.

Updated Dec 24, 2025
One-click install
npx skills add https://github.com/MakotoUwaya/dotfiles --skill commit-and-push-makotouwaya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-and-push
Source: https://github.com/MakotoUwaya/dotfiles/tree/main/.config/claude-code/skills/commit-and-push
Command: npx skills add https://github.com/MakotoUwaya/dotfiles --skill commit-and-push-makotouwaya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of committing code changes and pushing them to a remote repository, ensuring consistency and efficiency in your development workflow.

Core Features & Use Cases

  • Atomic Commits: Encourages creating separate commits for distinct changes, improving code history readability.
  • Guided Staging: Prevents accidental inclusion of unrelated files or sensitive information in commits.
  • Consistent Commit Messages: Helps maintain a uniform commit message style based on recent logs.
  • Use Case: After implementing a new feature and fixing a minor bug, you can use this Skill to create two separate, well-described commits and push them to your branch.

Quick Start

Use the commit-and-push skill to stage all changes, commit with a message summarizing the changes, and push to the remote repository.

Frequently Asked Questions about commit-and-push

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

FAQPage Schema
How do I automate git commit and push for code changes?

To automate git commit and push, this Skill stages explicitly selected files, generates formatted commit messages based on recent log patterns, and pushes changes to your remote repository. It enforces atomic commits to ensure a clean and traceable version history.

What's the best way to keep git commit messages consistent across a project?

Keeping git commit messages consistent is achieved by generating messages based on observed log patterns. This Skill analyzes your recent commit history to maintain a uniform style, ensuring every commit follows the established formatting conventions automatically.

How does guided staging prevent sensitive information in git commits?

Guided staging prevents sensitive information in git commits by requiring explicit file selection. This Skill ensures only relevant, designated files are staged, stopping accidental inclusion of unrelated changes or sensitive data before pushing to the remote repository.

Can I create separate atomic commits for distinct code changes before pushing?

You can create separate atomic commits for distinct code changes by staging files individually. This Skill enforces commit atomicity by encouraging distinct commits for each logical change, then pushing all updates to your Git repository branch.

Do I need to manually stage files before using this commit workflow?

You need to explicitly stage relevant files before committing. This Skill requires guided staging to prevent accidental inclusion of unrelated files, ensuring only intended changes are committed and pushed to maintain a clean version history.

Why does this git workflow require explicit staging instead of committing all changes?

This git workflow requires explicit staging to enforce commit atomicity and prevent sensitive information from entering version control. By avoiding automatic mass staging, it ensures a clean, traceable history with only relevant, deliberately selected code changes.