git-commit
Installation
SKILL.md
Execute the following steps: 0. Always navigate to the project root directory.
- Run
git fetchto get the latest changes from the remote. - Use local
gitto view staged and unstaged changes. Prefer a one-liner that lists files and diffs. - Based on the changes, generate a concise commit message suggestion, that follows the conventional commit format.
- ALWAYS ask for confirmation before executing the commit and push. The confirmation should follow the format specified below.
Confirmation format:
- Commit message:
- Changed files:
- (<concise info about added/modified/removed files, use emojis to indicate "added" and "removed" and avoid unnencessary text>) - <max 10 words summary of what and why was changed in this file>
- Same as above for , , ... up to 10 files.
The commit message should be:
- Under 50 characters for the subject line
- Clear and descriptive of what actually changed
- Follow conventional commit format:
type(scope): description