Skip to content
Back to skills

Commit Message

ASecurity

Use when writing a git commit message. Turns staged changes into a clear Conventional Commits message with an accurate summary and body.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 3, 2026
ai-agentsgit

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add babarmuhammad/claudectl --skill commit-message --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit Message?

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

Security grade badge for Commit Message
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/babarmuhammad-commit-message/badge)](https://www.skillsdirectory.com/skills/babarmuhammad-commit-message)

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-message
description: Use when writing a git commit message. Turns staged changes into a clear Conventional Commits message with an accurate summary and body.
---

# Commit message writer

Write a commit message that explains **what changed and why**, from the staged diff.

## Steps

1. Inspect the staged changes (`git diff --staged`). If nothing is staged, say so and stop.
2. Pick a type: `feat`, `fix`, `docs`, `refactor`, `test`, `perf`, `build`, `ci`, or `chore`.
3. Write the subject: `type(scope): summary` — imperative mood, ≤ 72 chars, no trailing period.
4. Add a body only when the change isn't self-evident: what changed, and the reason/impact. Wrap at ~72 cols.
5. Note breaking changes with a `BREAKING CHANGE:` footer.

## Rules

- Describe intent, not the mechanical diff ("prevent double-submit", not "add if-check").
- One logical change per commit — if the diff spans unrelated concerns, suggest splitting.
- Never invent changes you can't see in the diff.

<!-- archeus starter skill. Conventional Commits pattern (conventionalcommits.org);
     inspired by community commit skills in alirezarezvani/claude-skills. -->

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.

Comments

Loading comments…