Commit Message Writer

Generates conventional commit messages from staged git diffs. Activates when the user requests a commit message and produces type(scope) subject format.

jeremylongshore af0f371 601 B Updated

File contents

Commit Message Writer

Generate a commit message for the currently staged changes.

Instructions

  1. Read the staged diff using git diff --staged
  2. Analyze the changes to determine the type, scope, and subject
  3. Output the commit message in conventional commit format

Examples

Input: A diff showing a new function added to auth.ts Output: feat(auth): add token refresh endpoint

jeremylongshore/j-rig-skill-binary-eval/tree/main/packages/core/fixtures/packages/valid-skill commit af0f3719f2

Frequently asked questions

npx skillmds@latest add jeremylongshore/commit-message-writer-2