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
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.shscript 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 -yInstalls 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- Web Content298
- Codex Review296
- Team Coordination286
- Typescript286
- Reddit Api282
- Cloudflare D1277
- Ms Teams Apps276
- Database Schema275
- Session Management273
- Ai Models271
- Firebase268
- Web Payments267
- Llm Patterns266
- Supabase Python264
- Agent Teams261
- Supabase Node258
- Existing Repo256
- Credentials254
- Aws Aurora252
- Medusa252
- Reddit Ads251
- Iterative Development250
- Gemini Review247
- Ticket Craft247
Similar to Commit Hygiene
More Git & Releasesgit-workflowasyrafhussin/agent-skills920 installsGit best practices covering commit messages, branching, pull requests, and history management for a clean, useful log.
git-hygiene-enforcerpatricio0312rev/skills272 installsEnforces git workflow guardrails with commit hooks, branch naming rules, PR templates, and review checklists for teams.
git-workflow-and-versioningaddyosmani/agent-skills77.6K installsStructured git workflow guide covering trunk-based development, atomic commits, and parallel work with worktrees.
commit-worksoftaworks/agent-toolkit4.2K installsGuided workflow that stages intended changes, splits work into logical commits, and writes Conventional Commits messages.
commitodysseus0/symphony524 installsGuided commit workflow that writes conventional commit messages from session rationale and staged diffs.
conventional-commitmarcelorodrigo/agent-skills968 installsStructured git commit guidance that enforces Conventional Commits types, scopes, and subject rules.