--- name: conventional-commit description: Generates git commit messages following Conventional Commits 1.0.0 specification with semantic types (feat, fix, etc.), optional scope, and breaking change annotations. Use when committing code changes or creating commit messages. --- # Conventional Commit Generator Generate commit messages following [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/). ## Workflow 1. Run `git status` and `git diff HEAD` to analyze changes 2. Stage files: user-specified only, or `git add -A` for all 3. Determine type and scope from changes 4. Generate commit message incorporating user hints 5. Commit using HEREDOC format to preserve formatting: ```bash git commit -m "$(cat <<'EOF' ():