git-style-commit
Installation
SKILL.md
Git Style-Aware Commit
This skill instructs the agent to autonomously analyze repository commit conventions, logically group pending changes into atomic commits, and generate matching commit messages.
🎯 Trigger Conditions
- User asks to "commit changes", "save work", or "create a commit".
- User provides specific files to commit.
- User wants to ensure commit messages follow existing repository standards.
🛠️ Execution Steps
1. Inspect Repository State and Analyze Commit Style
First inspect all pending work:
git status --short
git diff
git diff --staged