agentleFS
LichAmnesiaLichAmnesia/awesome-antigravity-skills/skills/conventional-commits/SKILL.md

conventional-commits

Skill11 starsChanged 5 months agoCC0-1.0View on GitHub

Writes git commit messages following the Conventional Commits 1.0.0 spec. Use when committing changes, when the user asks for a commit message, or when a repo enforces commit linting.

38 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use changelog and code-review.

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

    changelog

    Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 37 edited versions we read keep these.

  • 2

    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:

    When creating a commit message, follow Conventional Commits 1.0.0.

    line 8
  2. Distinctive:

    Add a scope when the repo already uses them (check git log --oneline -20 for the house style).

    line 24

“Common” is measured: kept by at least 6 in 10 of the 37 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

Conventional Commits

When creating a commit message, follow Conventional Commits 1.0.0.

When to use this skill

  • The user asks to commit staged or unstaged changes.
  • The user asks "write a commit message for this diff".
  • The repo has commitlint, husky, or a CONTRIBUTING.md mentioning Conventional Commits.

How to use it

  1. Inspect the change first: git diff --staged (or git diff if nothing is staged). Never invent a message without reading the diff.
  2. Pick the type from the actual change, not the file names:
    • feat — user-visible behavior added
    • fix — user-visible bug fixed
    • refactor — behavior-preserving restructure
    • docs, test, build, ci, chore, style, perf
  3. Add a scope when the repo already uses them (check git log --oneline -20 for the house style).
  4. Subject line: imperative mood, lowercase after the colon, no trailing period, ≤ 72 chars.
  5. Body (optional): explain why, wrap at 72. Footer: BREAKING CHANGE: or issue refs (Closes #123).

Decision tree

  • Mixed unrelated changes in one diff → propose splitting into multiple commits instead of one vague chore.
  • Change is a revert → use revert: and reference the reverted SHA.
  • Unsure between fix and refactor → does an end user observe the difference? Yes = fix, no = refactor.

Done means

git log -1 --format=%s matches ^(feat|fix|refactor|docs|test|build|ci|chore|style|perf|revert)(\(.+\))?!?: .+ and the message honestly describes the diff.


Part of awesome-antigravity-skills. Browse more Agent Skills at orangebot.ai/skills.

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.