Skill: Git Commit Formatter
Goal
Generate a conventional git commit message based on the staged changes.
Instructions
- •Review the staged changes using
git diff --cached. - •Analyze the changes to determine the primary
type(feat, fix, docs, style, refactor). - •Identify the
scopeif applicable. - •Write a concise
descriptionin the imperative mood (e.g., "add feature" not "added feature"). - •Output the final commit message in the format:
<type>(<scope>): <description>.
Constraints
- •Do not use emojis.
- •Do not exceed 50 characters in the subject line.