From git
Analyzes staged changes or recent commits to generate Conventional Commits–style messages. Also supports rewriting or squashing existing commits.
How this command is triggered — by the user, by Claude, or both
Slash command
/git:commit-suggest [N]Files this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
## Name git:commit-suggest ## Synopsis ## Description AI-powered command that analyzes code changes and generates Conventional Commits–style messages. **Modes:** - **Mode 1 (no argument)** – Analyze staged changes (`git add` required) - **Mode 2 (with N)** – Analyze last N commits to rewrite (N=1) or summarize for squash (N≥2) **Use cases:** - Create standardized commit messages - Improve or rewrite existing commits - Generate squash messages for PR merges **Difference from `/git:summary`** – That command is read-only, while `git:commit-suggest` generates actionable commit message sug...
git:commit-suggest
/git:commit-suggest # Analyze staged changes
/git:commit-suggest [N] # Analyze last N commits (1-100)
AI-powered command that analyzes code changes and generates Conventional Commits–style messages.
Modes:
git add required)Use cases:
Difference from /git:summary – That command is read-only, while git:commit-suggest generates actionable commit message suggestions for user review and manual use.
The command operates in two modes based on input:
Mode 1 (no argument):
git diff --cached1, use option 2, commit with option 3, skipgit commit with selected message if user requestsMode 2 (with N):
git logfix > feat > perf > refactor > docs > test > chore)1, use option 2, amend with option 3, skipgit commit --amend (N=1) or squash operation (N≥2) if user requests# Generate message for staged files
git add src/auth.ts src/middleware.ts
/git:commit-suggest
# Rewrite last commit message
/git:commit-suggest 1
# Summarize last 5 commits for squash
/git:commit-suggest 5
Generates 3 commit message suggestions:
Each suggestion includes:
type(scope): description)Example:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Suggestion #1 (Recommended)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
feat(auth): add JWT authentication middleware
Implement token-based authentication for API endpoints.
The middleware verifies JWT tokens and extracts user information.
Fixes: #123
Which suggestion would you like to use? (1/2/3 or skip)
Squashed from N commits: + original commit listtype(scope): description
[optional body]
[optional footer]
feat – New featurefix – Bug fixdocs – Documentation changesrefactor – Code refactoringperf – Performance improvementstest – Test additions or modificationsbuild – Build system or dependency changesci – CI configuration changeschore – Other changes that don't modify src or test filesScope: auth, api, ui, db, deps (indicates affected module)
Footer:
Fixes: #123, Closes: #456, Related: #789BREAKING CHANGE: descriptionCo-authored-by: Name <[email protected]>/git:summary – Display repository status and recent commits (read-only)npx claudepluginhub jluhrsen/ai-helpers --plugin git/commit-smartGenerates conventional commit messages by analyzing staged changes with AI, following type(scope): description format. Asks for confirmation before committing.
/commitAnalyzes git diffs or staged changes and generates conventional commit messages explaining the motivation behind the change. Also supports analyzing, staging, and validating commits.
/commitAnalyzes git diff and generates conventional commit messages with three formatting options (concise, detailed, comprehensive). Commits the selected message.
/commit-generatorGenerates a conventional commit message for staged changes, shows it for approval, commits, and optionally pushes to remote.
/commitAnalyzes all staged Git changes and generates a conventional commit message with type, scope, body, and footers, following the repository's existing commit style.
/git-commitCreates a new git commit using Conventional Commits style messages. Analyzes changes, stages files, and generates structured commit messages with type, scope, and optional body/footers.