commit-discipline

Define and enforce commit timing rules for Git workflows.

5|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/jbabin91/autocomplete-rs --skill commit-discipline-jbabin91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-discipline
Source: https://github.com/jbabin91/autocomplete-rs/tree/main/.claude/skills/commit-discipline
Command: npx skills add https://github.com/jbabin91/autocomplete-rs --skill commit-discipline-jbabin91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Commit timing rules to prevent chaotic commit history and ensure that commits reflect atomic, purposeful changes.

Core Features & Use Cases

  • Clear guidelines for when to commit during active development, code review, and task completion.
  • Guidance on batching related changes into a single commit to improve history readability.
  • Practical scenarios illustrating how to apply commit discipline across solo and team projects.

Quick Start

Ask the AI to apply commit-discipline rules when preparing a git commit after your feature is complete.

Frequently Asked Questions about commit-discipline

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

FAQPage Schema
What are the best git commit rules to keep version control history clean?

Git commit rules prevent chaotic history by enforcing atomic, purposeful changes. Clear guidelines dictate when to commit during active development or task completion to ensure readable version control logs.

When should I create a git commit during active development?

Create a git commit at natural boundaries, such as task completion or feature readiness. Commit timing rules avoid committing during interactive sessions and support autonomous commits when coding phases finish.

How do I batch related code changes into a single git commit?

Batch related changes into a single git commit by grouping associated modifications at natural boundaries. This practice improves history readability and ensures commits reflect purposeful, atomic changes.

Can I apply commit discipline to collaborative software projects without interrupting interactive sessions?

Commit discipline applies to collaborative software projects by imposing guidelines that avoid committing during interactive sessions. It supports autonomous commits at natural boundaries without interrupting active coding.

Why does my git workflow have a chaotic commit history?

A chaotic git workflow history results from unstructured commit timing. Enforcing commit discipline prevents this by grouping related changes and applying rules to ensure commits reflect atomic, purposeful modifications.