Skip to content
alinaqi avatar

Commit Hygiene

Commit-size thresholds, atomic commit patterns, and PR splitting guidance to keep git history reviewable.

CCM score
56 of 100
skills.sh installs
306
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers when to commit based on file count, line totals, and elapsed time, with yellow and red zone limits
  • Includes a check-commit-size.sh script that reports changed files and lines and flags threshold breaches
  • Provides splitting strategies by layer, feature slice, refactor-first, and risk level, plus PR size guidelines
  • Designed for developers who want small, self-contained commits and PRs under roughly 400 changed lines

Install

$ npx -y skills add alinaqi/maggy --skill commit-hygiene -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Commit Hygiene Skill

Purpose: Keep commits atomic, PRs reviewable, and git history clean. Advise when it's time to commit before changes become too large.


Core Philosophy

Details

Repository
github.com/alinaqi/maggy
Categories
Git & Releases, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the commit-hygiene skill do for Claude Code?

The commit-hygiene skill keeps commits atomic, pull requests reviewable, and git history clean. It advises when changes have grown large enough that it is time to commit, using thresholds on files changed and lines added or deleted. It also covers splitting large changes and PR size guidelines.

When should I use the commit-hygiene skill?

Use it when committing code, creating pull requests, or when your change set is growing large. It gives warning thresholds such as more than 10 files or more than 400 total lines changed as signals to commit now. It suits anyone who wants smaller, easier-to-review commits.

How do I install the commit-hygiene skill?

Run npx -y skills add alinaqi/maggy --skill commit-hygiene -y in your project. Once installed, the agent can check the size of your current changes and suggest when to commit or how to split a large change set.

Which other skills are in the Git & Releases category?

Other popular skills in the Git & Releases category include triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit, and pr. Commit-hygiene focuses on commit size thresholds, atomic commit patterns, and PR size limits, which sets it apart from those skills.

More from alinaqi/maggy

All 54

Similar to Commit Hygiene

More Git & Releases