Use when generating conventional commit messages from staged git changes. Trigger with phrases like "create commit message", "generate smart commit", "/commit-smart", or "/gc". Automatically analyzes changes to determine commit type (feat, fix, docs), identifies breaking changes, and formats according to conventional commit standards.
This skill is limited to using the following tools:
assets/README.mdassets/commit_template.txtassets/example_diff.txtreferences/README.mdscripts/README.mdscripts/commit_analyzer.pyscripts/commit_formatter.pyscripts/git_utils.pyBefore using this skill, ensure:
git addtype(scope): descriptionGenerates conventional commit messages in this format:
type(scope): brief description
- Detailed explanation of changes
- Why the change was necessary
- Impact on existing functionality
BREAKING CHANGE: description if applicable
Examples:
feat(auth): implement JWT authentication middlewarefix(api): resolve null pointer exception in user endpointdocs(readme): update installation instructionsCommon issues and solutions:
No Staged Changes
git add <files> before generating commit messageGit Not Initialized
git init or navigate to repository rootUncommitted Changes
git stash for unrelated modificationsInvalid Commit Format