git-commit

Commit all uncommitted changes into small, logical commits with clear messages.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/olliecrow/codex --skill git-commit-olliecrow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/olliecrow/codex/tree/main/skills/git-commit
Command: npx skills add https://github.com/olliecrow/codex --skill git-commit-olliecrow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of committing all current uncommitted changes in your working tree into small, logical commits with clear, descriptive messages, ensuring your version history is clean and understandable.

Core Features & Use Cases

  • Automated Staging and Committing: Stages and commits all tracked and untracked files.
  • Logical Commit Splitting: Divides changes into small, focused commits based on logical separation.
  • Pre-commit Checks: Runs pre-commit hooks, tests, and CI checks before committing to ensure code quality.
  • Use Case: After making several unrelated changes to a project, use this Skill to automatically create separate, well-documented commits for each logical change, rather than one large, messy commit.

Quick Start

Use the git-commit skill to commit all current uncommitted changes into small, logical commits with clear messages.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I automatically split uncommitted changes into logical git commits?

To split uncommitted changes into logical git commits, this Skill stages all tracked and untracked files and divides them into small, focused commits based on logical separation, ensuring a clean working tree.

Can I run pre-commit hooks and tests before staging my code changes?

Yes, you can run pre-commit hooks, tests, and CI checks before staging code changes. This Skill automatically executes these validation checks prior to each commit to ensure code quality.

What is the best way to commit multiple unrelated changes without creating one large commit?

The best way to commit multiple unrelated changes without creating one large commit is using automated logical commit splitting. This Skill separates mixed working tree modifications into multiple well-documented, focused commits.

Does this automated commit workflow push changes to the remote repository?

No, this automated commit workflow does not push changes to a remote repository. It strictly handles local staging, pre-commit validation, and commit creation, leaving the working tree clean without pushing.