agentleFS
bsafronovbsafronov/prosto-skills/skills/.experimental/write-commit-message/SKILL.md

write-commit-message

Skill0 starsChanged 3 months agoApache-2.0View on GitHub

Write a concise Conventional Commit message grounded in the intended change. Use when drafting a message for a diff or a commit task. Do not use for release notes, PR descriptions, or Git operations alone.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Follow explicit repository and user conventions.

    line 18
  2. Distinctive:

    Add a body only when the subject would lose material rationale, compatibility impact, security context, migration steps, or revert intent.

    line 25
  3. Distinctive:

    Stop when the message covers the intended diff, preserves material context and required trailers, and makes no unsupported claim.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Write Commit Message

Produce a message that preserves the change's intent and compatibility impact. This Skill owns wording; staging, committing, amending, and publishing require separate host handling under the user's authorization.

  1. Pin the intended diff or supplied change description. For a staged-message request, exclude unstaged work. Ask for missing scope or evidence only when it would change the message; an empty diff supports no invented change.
  2. Follow explicit repository and user conventions. Otherwise use type(scope): imperative intent, with scope only when it clarifies the affected area. Choose the type from the actual effect: fix restores intended behavior, feat adds it, and refactor preserves it.
  3. Describe the resulting behavior in the shortest clear subject. Aim for 50 characters and stay within 72 unless an explicit convention requires more. Preserve exact technical names when their identity matters.
  4. Add a body only when the subject would lose material rationale, compatibility impact, security context, migration steps, or revert intent. Mark breaking changes with ! and a BREAKING CHANGE: footer naming the incompatibility and the evidenced migration path. Never invent a workaround or deadline.
  5. Preserve required trailers and carry supplied issue IDs into the message, including partially addressed issues. Use a closing reference only when the change resolves that issue. Do not claim tests, authorship, fixes, or user impact unsupported by the evidence.

Return one ready-to-use message, without a file inventory or process narration. Stop when the message covers the intended diff, preserves material context and required trailers, and makes no unsupported claim.

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.