agentleFS
suxiao1824308603suxiao1824308603/Qoder-devtools-skills/skills/commit-message/SKILL.md

commit-message

Skill3 starsChanged 9 months agoMITView on GitHub

Generate clear, conventional commit messages by analyzing staged git changes. Use when the user asks for help writing commit messages, wants to commit changes, or needs to format commits following conventional commits specification.

62 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-description, changelog and 8 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

    pr-description

    Draft Nacelle PR titles, pull request descriptions, commit titles, commit descriptions, and squash commit messages. Use when asked for PR or commit wording, a branch summary, or a PR description that can be used in a commit. Omit validation sections from commit bodies and remove filler.

    Also in 9 projects that use this

  • HashiCorpSkill

    changelog

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

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • GoogleSkill

    grilling

    Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

    Also in 3 projects that use this

  • OpenAISkill

    brainstorming

    You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

    Also in 3 projects that use this

  • GoogleSkill

    improve-codebase-architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    Also in 3 projects that use this

  • +1 more from google

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 51 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    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 35
  2. Distinctive:

    Write subject (imperative, no period, max 50 chars)

    line 38
  3. Distinctive:

    Add body if changes need explanation

    line 39
  4. Very specific:

    Use ! after type/scope for breaking changes

    line 78

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

Generate well-structured commit messages following the Conventional Commits specification.

Format

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

<body>

<footer>

Types

TypeWhen to Use
featNew feature
fixBug fix
docsDocumentation only
styleFormatting, no code change
refactorCode restructuring, no behavior change
perfPerformance improvement
testAdding or fixing tests
choreBuild, config, dependencies

Workflow

  1. Run git diff --staged to see changes
  2. Identify the primary change type
  3. Determine scope from affected files/modules
  4. Write subject (imperative, no period, max 50 chars)
  5. Add body if changes need explanation

Examples

Example 1: Simple feature

Staged changes: Added new login button component

Commit message:
feat(auth): add login button component

Example 2: Bug fix with context

Staged changes: Fixed null pointer in user service when email is empty

Commit message:
fix(user): handle empty email in validation

Previously, the service would crash when email field was null.
Added null check before validation logic.

Example 3: Breaking change

Staged changes: Changed API response format from array to object

Commit message:
feat(api)!: change response format to object structure

BREAKING CHANGE: API now returns { data: [], meta: {} }
instead of plain array. Update client code accordingly.

Rules

  • Subject line: imperative mood ("add" not "added")
  • Subject line: max 50 characters
  • Body: wrap at 72 characters
  • Use ! after type/scope for breaking changes
  • Reference issues in footer: Fixes #123

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.