For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. Change Analysis: Reviews staged changes to understand what was modified

  2. Type Detection: Determines commit type (feat, fix, refactor, etc.)

  3. Message Generation: Creates descriptive commit message following conventions

  4. Emoji Selection: Adds appropriate emoji for the commit type

  5. Commit Creation: Executes git commit with formatted message

Commit Types with Emoji

Emoji
Type
Description

✨

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