Analyze Git diff and generate Conventional Commits format messages
Generates Conventional Commits format messages from staged Git changes with multiple alternatives.
/plugin marketplace add thkt/claude-config/plugin install complete-workflow-system@thkt-development-workflowsinheritAnalyze staged changes and generate appropriate commit messages following Conventional Commits specification.
Implementation: This command delegates to the specialized commit-generator subagent for optimal performance and context efficiency.
When invoked, this command:
commit-generator subagent via Task tool/commit
Analyzes staged changes and suggests messages.
/commit "Related to authentication flow"
Incorporates context into message generation.
/commit "#123"
Includes issue reference in commit message.
<type>(<scope>): <subject>
[optional body]
[optional footer]
| Type | Use Case |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation |
style | Formatting |
refactor | Code restructuring |
perf | Performance improvement |
test | Testing |
chore | Maintenance |
ci | CI/CD changes |
build | Build system changes |
✅ feat(auth): add OAuth2 authentication support
✅ fix(api): resolve timeout in user endpoint
✅ docs(readme): update installation instructions
✅ perf(search): optimize database queries
❌ Fixed bug (no type, too vague)
❌ feat: Added new feature. (capitalized, period)
❌ update code (no type, not specific)
❌ FEAT(AUTH): ADD LOGIN (all caps)
The command provides:
Works seamlessly with:
/branch - Create branch first/pr - Generate PR description after commits/test - Ensure tests pass before committingThe subagent only executes git commands:
git diff --staged - Analyze changesgit status - Check file statusgit log - Learn commit style/branch - Generate branch names from changes/pr - Create PR descriptions/audit - Code review before committingThis command is optimized for minimal context usage:
Note: For implementation details, see .claude/agents/git/commit-generator.md