Skip to content
Back to skills

Commit Message Writer

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsgit

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add aixisstudio/claude-skills --skill commit-message-writer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit Message Writer?

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

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

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-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.

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.