Create a proper git commit with quality checks and conventional message
Create git commits with quality checks and automatic issue ID detection from branch names. Use it to enforce conventional commit format, run pre-commit hooks, and maintain consistent commit history across your team.
/plugin marketplace add TaylorHuston/ai-toolkit/plugin install ai-toolkit@ai-workflow-marketplace[message] [--files FILES] [--amend] [--no-verify] [--interactive]claude-sonnet-4-5WHAT: Create git commit with quality checks and conventional message formatting.
WHY: Ensure consistent commit messages, enforce quality gates, enable semantic versioning and automated changelogs.
HOW: See git-workflow.md for commit conventions, type inference rules, and branch-based message generation.
# Basic
/commit # Interactive with quality checks
/commit "feat: add user auth" # Direct with message
/commit --files "src/auth.js" # Commit specific files
# Advanced
/commit --amend # Amend last (safety checks)
/commit "fix: typo" --no-verify # Skip hooks
/commit --interactive # Interactive staging + commit
/commit "docs: update" --amend --no-verify # Combine flags
Argument Parsing:
--amend: Amend mode with safety checks--no-verify: Skip pre-commit hooks--interactive: Interactive staging first--files: Stage only specified filesBranch-Aware Message Generation:
git branch --show-currentgit-workflow.md for branch naming patterncommit_type_inference config
type(ISSUE-ID): descriptionStandard Flow:
--no-verifyAmend Mode (--amend):
git log @{u}..HEAD)No-Verify Mode (--no-verify):
--no-verifyInteractive Mode (--interactive):
git add -i or git add -pPrimary: code-reviewer (change assessment, quality validation) Supporting: test-engineer (test validation), security-auditor (security-sensitive changes)
Auto-includes issue references from branch:
# On feature/TASK-001
/commit "add user authentication"
# → feat(TASK-001): add user authentication
# On bugfix/BUG-003
/commit "fix login timeout"
# → fix(BUG-003): fix login timeout
# On develop (no issue)
/commit "refactor database connection"
# → refactor: refactor database connection
# Manual override
/commit "feat(TASK-001): add user auth"
# → Uses as-is: feat(TASK-001): add user auth
Benefits: Auto issue tracking, no need to remember IDs, links commits to tasks
Interactive: /commit → Review → Generate message → Confirm
Direct: /commit "add auth" → Adds issue → Quality checks → Commit
Selective: /commit --files "src/auth.js" → Specific files with issue
Amend: /commit --amend → Safety checks → Amend
Skip hooks: /commit "fix typo" --no-verify → Fast commit
Interactive staging: /commit --interactive → Choose hunks → Commit