Commit Msg

Commit Message Generator

jrswab 04b5594 996 B Updated

File contents

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

  • feat — new feature
  • fix — bug fix
  • refactor — code change that neither fixes a bug nor adds a feature
  • docs — documentation only
  • test — adding or updating tests
  • chore — maintenance (deps, CI, build)
  • perf — performance improvement

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.

jrswab/axe/tree/main/examples/commit-msg/skills/commit-msg commit 04b5594e17

Frequently asked questions

npx skillmds@latest add jrswab/commit-msg