agentleFS
K95M65K95M65/AI_ONBOARD/skills/conventional-commit/SKILL.md

conventional-commit

Skill0 starsChanged 4 months agoMITView on GitHub

Writes a Conventional Commits message from the currently staged git changes. Use when the user asks to commit, wants a commit message drafted, or asks you to figure out the right commit type/scope for staged work.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use api-design, prototype and 1 more.

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

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 3 projects that use this

  • AWSSkill

    prototype

    Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

    Also in 3 projects that use this

  • AWSSkill

    grill-me

    A relentless interview to sharpen a plan or design.

    Also in 3 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 18 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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    If it reports nothing staged, ask whether to git add the intended files first.

    line 24
  2. Distinctive:

    Never invent a co-author or trailer the user didn't ask for.

    line 56

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

Draft a well-formed Conventional Commits message from what's currently staged, then commit it.

When to use

The user has staged changes (or asks you to stage them) and wants a properly formatted commit — e.g. "commit this", "write a commit message", "what type should this commit be?".

Steps

  1. Inspect the staged changes — do not guess from memory:

    bash scripts/staged-summary.sh

    If it reports nothing staged, ask whether to git add the intended files first. Never git add -A without confirming scope.

  2. Choose the type from the diff:

    TypeUse when
    featA new feature / capability
    fixA bug fix
    docsDocs only
    refactorBehavior-preserving code change
    testAdding/adjusting tests
    choreTooling, deps, config, build
    perfPerformance improvement
    ciCI config/scripts
  3. Pick a scope (optional) — the package/area touched, from the file paths (e.g. api, auth, ui).
  4. Write the subject — imperative mood, lowercase, ≤ ~72 chars, no trailing period: type(scope): do the thing. Add a body only if the why isn't obvious. Add BREAKING CHANGE: footer (or ! after the type) for breaking changes.
  5. Commit — show the message first, then:

    git commit -m "type(scope): subject" -m "optional body"

Rules

  • Base the type/scope on the actual diff, not the user's phrasing.
  • One logical change per commit — if the diff spans unrelated concerns, say so and suggest splitting.
  • Never invent a co-author or trailer the user didn't ask for.

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.