git-commit

Analyze git status and diff to create atomic commits with conventional messages.

2|2|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/NavarrePratt/claude-settings --skill git-commit-navarrepratt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/NavarrePratt/claude-settings/tree/main/skills/git-commit
Command: npx skills add https://github.com/NavarrePratt/claude-settings --skill git-commit-navarrepratt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you create well-structured, atomic git commits with properly formatted commit messages, improving history readability and review efficiency.

Core Features & Use Cases

  • Analyze current state (git status, git diff, and recent commits) to understand changes and conventions.
  • Group changes logically, optionally using git add -p for partial adds, to create atomic commits.
  • Create commits that follow conventional commit styles or project-specific conventions, with clear subject lines and explanatory bodies.
  • Use the skill to split large sets of changes into multiple focused commits, enhancing traceability and code review.

Quick Start

Provide the current git state and let the tool propose and apply atomic commits following the project's conventions.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I split multiple file changes into atomic git commits?

Atomic git commits are created by grouping logically related changes from your git diff into separate commits, optionally using git add -p for partial adds, to ensure each commit represents a single focused update.

How do I format git commit messages to follow conventional commit styles?

Formatting conventional commit messages involves analyzing recent git history to detect project conventions, then generating clear subject lines and explanatory bodies that match the established style guidelines.

Can I use git add -p to stage partial file changes for separate commits?

Yes, git add -p allows interactively staging partial file changes, enabling you to split mixed modifications across files into precise, atomic commits with well-formatted messages.

What's the best way to automate grouping uncommitted changes into focused commits?

Automating focused commits involves analyzing the current git state, including status and diff, to determine a commit strategy that splits large sets of changes into multiple logically grouped, atomic commits.

Does this approach work with project-specific git commit conventions?

Yes, this approach works with project-specific conventions by analyzing recent commit history to understand existing styles, ensuring new commit messages follow your project's unique formatting rules.