Writes clear Conventional Commit messages from a staged diff. Use when the user asks for a commit message, or after changes are staged and ready to commit.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Commit Message Writer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/aixisstudio-commit-message-writer)
---
name: commit-message-writer
description: Writes clear Conventional Commit messages from a staged diff. Use when the user asks for a commit message, or after changes are staged and ready to commit.
---
# Commit message writer
## Procedure
1. Run `git diff --staged` (and `git log --oneline -10` to match this repo's style).
2. Decide the single dominant intent. If the diff mixes unrelated changes, say so and suggest splitting the commit.
3. Write the message:
```
<type>(<scope>): <imperative summary, max 72 chars>
<why this change was needed, in 1-3 lines>
<notable side effects or follow-ups, if any>
```
Types: `feat`, `fix`, `docs`, `refactor`, `test`, `perf`, `build`, `ci`, `chore`.
## Rules
- Imperative mood: "add", not "added".
- Explain **why**, not what; the diff already shows what.
- No ticket spam, no emoji unless the repo already uses them.
- Never claim tests pass unless you ran them.
- If the project's recent log uses another convention, follow the project.