agentleFS
agentsdanceagentsdance/agentskills/skills/git-commit-message/SKILL.md

git-commit-message

Skill3 starsChanged 11 months agoApache-2.0View on GitHub

Generate clear, conventional commit messages following best practices. Use when the user wants help writing commit messages, needs to follow conventional commits format, or wants descriptive git history.

11 other projects use 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. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 3

    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 git diff --staged to see changes

    line 64
  2. Distinctive:

    Write concise subject line

    line 67
  3. Distinctive:

    Add body if changes need explanation

    line 68

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

Git Commit Message Generator

Generate well-structured commit messages following conventional commits specification.

Conventional Commits Format

<type>(<scope>): <subject>

<body>

<footer>

Commit Types

TypeDescription
featNew feature
fixBug fix
docsDocumentation changes
styleFormatting, missing semicolons, etc.
refactorCode restructuring without behavior change
perfPerformance improvements
testAdding or updating tests
buildBuild system or dependencies
ciCI/CD configuration
choreMaintenance tasks

Rules

  1. Subject line: Max 50 characters, imperative mood, no period
  2. Body: Wrap at 72 characters, explain what and why
  3. Footer: Reference issues, breaking changes

Examples

feat(auth): add OAuth2 login with Google

Implement Google OAuth2 authentication flow with automatic
account creation for new users. Tokens are stored securely
in encrypted cookies.

Closes #123
fix(api): handle null response from payment gateway

The payment gateway occasionally returns null instead of
an error object. Added null check to prevent TypeError.

Fixes #456

Usage

  1. Run git diff --staged to see changes
  2. Analyze the nature of changes
  3. Determine appropriate type and scope
  4. Write concise subject line
  5. Add body if changes need explanation

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.