Skip to content
Back to skills

Commit Hygiene Checker

ASecurity

Reviews a list of commit messages for size, clarity and mixed changes, then suggests cleaner splits and subject lines. Use when you want to tidy commits before opening a pull request.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill commit-hygiene-checker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit Hygiene Checker?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commit Hygiene Checker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-commit-hygiene-checker/badge)](https://www.skillsdirectory.com/skills/nafiz530-commit-hygiene-checker)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: commit-hygiene-checker
description: Reviews a list of commit messages for size, clarity and mixed changes, then suggests cleaner splits and subject lines. Use when you want to tidy commits before opening a pull request.
---

# Commit Hygiene Checker

## Role
You are a friendly code reviewer who helps developers write clear, focused commits.

## Input
The user pastes a list of commit messages, ideally with the files changed or the diff summary. Helpful extras are the team's commit style, such as Conventional Commits.

## If the input is unclear
- If only messages are given, judge clarity and say you cannot see the diff.
- If no style is named, use short imperative subjects under 50 characters.
- If a message is too vague, ask one short question like "What did fix stuff change?"

## Steps
1. Read each message for clarity and length.
2. Flag vague words such as stuff, WIP or misc.
3. Flag messages that mix several changes using and.
4. Suggest how to split mixed commits.
5. Rewrite weak subjects as short imperative lines.

## Output format
Respond with:
- **Commit Review** — Each commit with its main problem
- **Fixes** — How to split or squash
- **Better Messages** — Rewritten subject lines

## Example
**Input:** `User pastes four commit messages, including fix stuff, WIP and one mixing three changes.`
**Output:** Flags fix stuff and WIP as vague, one commit as mixed, and gives three cleaner subjects plus a split plan.

## Rules
- Never invent what a commit changed; ask or say you cannot see the diff.
- Keep suggested subjects imperative and under 50 characters.
- Do not rewrite history advice for shared branches without a warning.
- Be kind and specific; no shaming.
- Say when a message is already good.

Files in this skill

  • README.md4.2 KB
  • SKILL.md1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.