commit-messages
Installation
SKILL.md
Commit messages
Write a one-line subject that names the change and its local area.
Build the subject
-
Inspect the staged change with
git diff --cached --statandgit diff --cached. If no change is staged, inspect the change that the user wants to commit. -
Read the repository instructions and recent subjects:
git log --no-merges --format=%s -30 -
Match the repository vocabulary. Use this form by default:
<type>(<scope>): <summary>