agentleFS
jenrehjenreh/appkit/.claude/skills/commit-msg/SKILL.md

commit-msg

Skill4 starsChanged 5 months agoMITView on GitHub

Generate a conventional commit message from staged (or unstaged) changes. Use when the user asks for a commit message, wants to commit changes, or says "what should my commit message be".

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use research 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.
  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    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 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 5

    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 these in parallel:

    line 14
  2. Distinctive:

    If there are staged changes (git diff --staged is non-empty), use those.

    line 34
  3. Distinctive:

    If both are empty, report "nothing to commit" and stop.

    line 36
  4. Distinctive:

    Follow the project's conventional commits style observed from git log:

    line 40
  5. Distinctive:

    If the diff spans multiple unrelated concerns, say so and suggest splitting.

    line 55

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

Generate a commit message for the current changes. Do NOT run git commit.

Step 1 — gather context

Run these in parallel:

git diff --staged
git diff
git status --short
git log --oneline -10

Step 2 — choose the diff scope

  • If there are staged changes (git diff --staged is non-empty), use those.
  • Otherwise fall back to all unstaged changes (git diff).
  • If both are empty, report "nothing to commit" and stop.

Step 3 — generate the message

Follow the project's conventional commits style observed from git log:

<type>(<optional scope>): <short imperative summary>

<optional body — only when the why is non-obvious>

Types: feat, fix, refactor, chore, docs, test, perf

Rules:

  • Summary line ≤ 72 characters, lowercase, no trailing period.
  • Imperative mood: "add", "fix", "remove" — not "added" or "fixes".
  • Body only when the diff contains a non-obvious motivation or breaking change.
  • If the diff spans multiple unrelated concerns, say so and suggest splitting.

Step 4 — output

Present the message in a code block, ready to copy:

<generated message here>

Then add one line explaining the type choice if it wasn't obvious.

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.