agentleFS
aixisstudioaixisstudio/claude-skills/skills/commit-message-writer/SKILL.md

commit-message-writer

Skill2 starsChanged 2 days agoMITView on GitHub

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.

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use changelog-generator.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ArogyaReddySkill

    changelog-generator

    Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run git diff --staged (and git log --oneline -10 to match this repo's style).

    line 9
  2. Distinctive:

    No ticket spam, no emoji unless the repo already uses them.

    line 25
  3. Distinctive:

    Never claim tests pass unless you ran them.

    line 26
  4. Distinctive:

    If the project's recent log uses another convention, follow the project.

    line 27

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.