commit-discipline

Enforce one change per commit with clear message guidelines in Athena.

Updated Jul 5, 2026
One-click install
npx skills add https://github.com/harrymcdonagh/athena --skill commit-discipline-harrymcdonagh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-discipline
Source: https://github.com/harrymcdonagh/athena/tree/main/.claude/skills/commit-discipline
Command: npx skills add https://github.com/harrymcdonagh/athena --skill commit-discipline-harrymcdonagh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that every commit in Athena is clean and focused on a single concern, maintaining a clear audit trail and promoting maintainable codebases.

Core Features & Use Cases

  • Single Concern Per Commit: Encourages best practices for committing code by enforcing the rule of one change per commit.
  • Commit Message Guidelines: Provides guidance on writing clear and informative commit messages, including prefixing conventions and message structure.
  • Pre-commit Check: Offers a pre-commit message that users can run to ensure their commits adhere to the rules before they are committed.

Quick Start

Before committing code in Athena, run the commit-discipline skill to ensure each commit is focused on a single concern.

Frequently Asked Questions about commit-discipline

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

FAQPage Schema
How do I enforce clean commit messages in my development environment?

To enforce clean commit messages, run the commit-discipline skill before committing to ensure each commit is focused on a single concern and follows clear message guidelines. This maintains a readable audit trail.

What is the best way to maintain a single concern per commit in git?

The best way to maintain a single concern per commit is to use a pre-commit check that validates your changes. This skill provides rules ensuring one change per commit to promote a maintainable codebase.

How do I write clear git commit messages for code audits?

Clear git commit messages require specific prefixing conventions and message structure. This skill provides guidelines for writing informative commit messages that maintain code quality and ensure a clear audit trail.

Can I use commit rules to improve code quality before pushing?

Yes, you can use commit rules to improve code quality before pushing. The skill offers a pre-commit message check to run before committing code, ensuring your commits adhere to single-concern rules.

Why does my git commit history lack readability and maintainability?

Your git commit history lacks readability when commits mix multiple changes. Enforcing one change per commit and using clear commit message guidelines resolves this by maintaining a clean codebase.

Does commit-discipline work without external dependencies?

Yes, commit-discipline works without external dependencies. It functions as a standalone skill in your development environment to enforce commit rules and maintain code quality.