Commit Message

Write a conventional commit message from a git diff. Use when the user asks to commit, write a commit message, or summarize staged changes.

Archit-13028 Updated

File contents

Commit Message

Instructions

  1. Run git diff --staged or read the provided diff.
  2. Pick the type: feat / fix / docs / refactor / test / chore.
  3. Subject line: imperative mood, 72 chars max, no trailing period.
  4. Add a body only when the why is not obvious from the diff.

Examples

  • feat: add retry with exponential backoff to http client
  • fix: prevent duplicate rows when import runs twice
  • docs: document the --dry-run flag

Archit-13028/agent-recipes/tree/main/skills/commit-message commit e465981a0d

Frequently asked questions

npx skillmds@latest add archit-13028/commit-message