Help us improve
Share bugs, ideas, or general feedback.
From coding-workflow
Intelligently detects when too many files are staged and automatically groups them by feature or functionality using Conventional Commits with user language preference
npx claudepluginhub chaorenex1/coding-workflow --plugin coding-workflowHow this skill is triggered — by the user, by Claude, or both
Slash command
/coding-workflow:git-batch-commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill optimizes version control workflows by detecting when too many files are staged for commit and automatically organizing them into logical, feature-based batches with Conventional Commit messages.
Executes git commits with conventional commit message analysis, intelligent staging, and message generation. Use when asked to commit changes or when /commit is invoked.
Groups uncommitted git changes (staged/unstaged/untracked) into atomic commits by logical purpose and generates conventional commit messages with bodies. Use for splitting multiple changes or 'smart commit' requests.
Analyzes Git changes, groups staged/unstaged files into logical commits by feature/type/scope, and executes them one-by-one using conventional commit format.
Share bugs, ideas, or general feedback.
This skill optimizes version control workflows by detecting when too many files are staged for commit and automatically organizing them into logical, feature-based batches with Conventional Commit messages.
Git repository state:
Formats accepted:
Results include:
Output structure:
{
"analysis": {
"total_files": 25,
"threshold": 10,
"requires_batching": true,
"recommended_batches": 3
},
"batches": [
{
"batch_id": 1,
"commit_type": "feat",
"scope": "authentication",
"files": ["auth.py", "login.py"],
"message": "feat(authentication): add OAuth2 login support"
}
],
"execution_summary": "Created 3 commits across feat, fix, and docs types"
}
Example 1 - Auto-detect and batch: "Analyze my git staging area and create appropriate batch commits"
Example 2 - With language preference: "Create batch commits in Chinese for all these staged files"
Example 3 - Custom threshold: "Use a threshold of 15 files and batch my commits accordingly"
Example 4 - Specific commit types: "Group these changes and use 'feat' and 'refactor' commit types"
git_analyzer.py: Parses git status/diff, detects file counts, analyzes change typesbatch_committer.py: Groups files by feature, generates Conventional Commit messages, executes commitscommit_language.py: Handles multilingual commit message generationStandard Types Used:
Scope Examples: (api), (ui), (auth), (database), (core)
Optional configuration via git_batch_config.json:
{
"threshold": 10,
"default_language": "en",
"preferred_scopes": ["api", "ui", "core", "tests"],
"commit_types": ["feat", "fix", "docs", "refactor", "chore"],
"auto_execute": false
}