Skill · Marketing
Commit message
Generates conventional commit messages by analysing staged git changes. Use when the user asks to commit, write a commit message, or mentions git commits.
How to use it
- Start your plan and connect your AI once
- Ask for the task in your own words, or say it directly:
Use the Commit message skill to help me with this.Without a connection: copy the SKILL.md below into your AI's project instructions.
Commit Message Generator
Analyse the current staged changes and generate a conventional commit message.
Workflow
- Run
git diff --cached --statto see which files changed - Run
git diff --cachedto see the actual diff content - Determine commit type: feat, fix, refactor, docs, test, chore, style, perf
- Write subject line in imperative mood, max 72 characters
- Add body paragraph explaining WHY the change was made
Output Format
Output the commit message as plain text, ready to paste into git commit -m. Never wrap in a code block.