commit
Create well-formatted commits with conventional commit messages and emoji.
Purpose - Standardize commit messages across the team
Output - Git commit with conventional format
/commit [flags]Arguments
Optional flags like --no-verify to skip pre-commit checks.
How It Works
Change Analysis: Reviews staged changes to understand what was modified
Type Detection: Determines commit type (feat, fix, refactor, etc.)
Message Generation: Creates descriptive commit message following conventions
Emoji Selection: Adds appropriate emoji for the commit type
Commit Creation: Executes git commit with formatted message
Commit Types with Emoji
β¨
feat
New feature
π
fix
Bug fix
π
docs
Documentation changes
π
style
Code style changes (formatting)
β»οΈ
refactor
Code refactoring
β‘
perf
Performance improvements
β
test
Adding or updating tests
π§
chore
Maintenance tasks
π¨
build
Build system changes
π·
ci
CI/CD changes
Usage Examples
Best Practices
Keep commits focused - One logical change per commit
Reference issues - Include issue numbers when applicable
Review before commit - Use code review commands first
Conventional Commit Format
The plugin follows the conventional commits specification:
Example Commit Messages
Feature Commit
Bug Fix Commit
Refactoring Commit
Last updated