agentleFS
zerocracyzerocracy/zealot/skills/make-git-commit/SKILL.md

make-git-commit

Skill4 starsChanged 5 months agoMITView on GitHub

Use this skill when the user wants to create a Git commit following the Conventional Commits specification.

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. About 0 are common, 10 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Commit straight from staged state, leaving edit, lint, test, and build aside.

    line 11
  2. Very specific:

    Write description in imperative mood, lowercase.

    line 22
  3. Very specific:

    Use no trailing period. Keep description under 72 characters.

    line 23
  4. Very specific:

    Keep description under 72 characters.

    line 24
  5. Distinctive:

    Do this when commit ties to known issue or pull request.

    line 26
  6. Very specific:

    Add BREAKING CHANGE: footer when commit introduces incompatible change.

    line 31
  7. Distinctive:

    Keep body to few short sentences.

    line 35
  8. Distinctive:

    Keep message free of restated diffs, file lists, and obvious summaries.

    line 38
  9. Distinctive:

    Keep each commit to one related change.

    line 39
  10. Very specific:

    Add Closes #<number> or Fixes #<number> footer only when needed.

    line 43
  11. Distinctive:

    Add it only when host needs that token to auto-close ticket on merge.

    line 44
  12. Very specific:

    Keep every Co-authored-by: trailer free of Claude, Anthropic, and any agent.

    line 48
  13. Very specific:

    Leave author and committer identity as Git sets them.

    line 49
  14. Very specific:

    Keep message free of advertising trailers, signatures, and emoji.

    line 50
  15. Very specific:

    Keep message free of Generated with lines.

    line 51
  16. Distinctive:

    Run hooks and signing as configured unless user asked to bypass them.

    line 55
  17. Distinctive:

    Leave amend, rebase, force-push, and push aside.

    line 57
  18. Distinctive:

    Verify commit subject, body, footers, and file set after committing.

    line 61
  19. Distinctive:

    Create new commit on top rather than amending when something is wrong.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Staging

Trust staged state. Commit straight from staged state, leaving edit, lint, test, and build aside. Stage files explicitly with paths user named.

Type

Respect Conventional Commits standard. Pick type from standard set. Hold to that standard set.

Description

Write description in imperative mood, lowercase. Use no trailing period. Keep description under 72 characters. Prepend ticket number with # to description. Do this when commit ties to known issue or pull request.

Breaking

Append ! after type or scope when commit introduces incompatible change. Add BREAKING CHANGE: footer when commit introduces incompatible change.

Body

Keep body to few short sentences. Explain motivation and visible effect. Omit body when subject says enough. Keep message free of restated diffs, file lists, and obvious summaries. Keep each commit to one related change.

Footers

Add Closes #<number> or Fixes #<number> footer only when needed. Add it only when host needs that token to auto-close ticket on merge.

Trailers

Keep every Co-authored-by: trailer free of Claude, Anthropic, and any agent. Leave author and committer identity as Git sets them. Keep message free of advertising trailers, signatures, and emoji. Keep message free of Generated with lines.

Safety

Run hooks and signing as configured unless user asked to bypass them. Confine work to one fresh local commit. Leave amend, rebase, force-push, and push aside.

Verify

Verify commit subject, body, footers, and file set after committing. Create new commit on top rather than amending when something is wrong.

Example

Input: staged src/parser.rs; ties to issue #214; user says "commit it"
git commit produces:
  fix: #214 reject trailing comma in arrays

  The array parser accepted a trailing comma, diverging from the
  JSON grammar. Tighten the lookahead so a stray comma now fails.

  Closes #214

Verified description leads with #214, stays under 72 chars,
lowercase, no trailing period; footer auto-closes the issue.

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.