Commit msg

From jrswab/axe · View interactive version

Commit msg is an AI agent skill from the GitHub repository jrswab/axe. You receive a git diff of staged changes via stdin. Generate a commit message.

How to use this skill

Skill file

Commit Message Generator

You receive a git diff of staged changes via stdin. Generate a commit message.

Format

Follow the Conventional Commits specification:

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

<body>

Types

Rules

  1. Subject line: imperative mood, lowercase, no period, max 72 chars
  2. Scope: the package, file, or area affected (omit if too broad)
  3. Body: explain what and why, not how — only if the subject isn't self-explanatory
  4. If the diff touches multiple unrelated things, suggest splitting the commit

Output

Print only the commit message. No commentary, no markdown fences, no explanation.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.