Commit Message Writer
Generate a commit message for the currently staged changes.
Instructions
- Read the staged diff using
git diff --staged - Analyze the changes to determine the type, scope, and subject
- 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