What problem does it solve?
This Skill automates the creation of well-formatted Git commits, ensuring consistency, clarity, and adherence to best practices, thereby improving code history and collaboration.
Core Features & Use Cases
- Conventional Commits: Generates commit messages following the conventional commit format with appropriate emoji.
- Automated Staging: Stages modified and new files if none are staged.
- Branching Assistance: Prompts to create new branches from
main or master for commits.
- Pre-commit Checks: Automatically runs linters and build checks before committing (can be bypassed).
- Commit Splitting: Analyzes diffs and suggests splitting large changes into multiple atomic commits.
- Use Case: When you've made several related changes, this skill helps you craft a clear commit message, stage your files, and even suggests breaking down your work into smaller, more manageable commits if necessary.
Quick Start
Use the git-commit skill to create a new commit for your staged changes.