By dsebastien
Organizes local git changes into clean, logical conventional commits grouped by concern. Dynamically reads project-specific commit scopes and types.
A Claude Code plugin that organizes local git changes into clean, logical conventional commits grouped by concern.
When you have a pile of local changes across many files, /clean-commits analyzes the diffs, groups them into logical commits (config, CI, refactoring, features, docs, etc.), and creates them in the right order — respecting your project's conventional commit types, scopes, and pre-commit hooks.
conventional-commit-scopes.cjs, .cz-config.cjs, or commitlint.config.ts/.js/.cjstype(scope): description format with bodies when neededAdd to your Claude Code settings:
claude plugins add dsebastien/claude-code-clean-commits
Or add manually to ~/.claude/settings.json:
{
"enabledPlugins": {
"clean-commits@dsebastien/claude-code-clean-commits": true
}
}
claude --plugin-dir /path/to/claude-code-clean-commits
In any git repository with uncommitted changes:
/clean-commits
The skill will:
Discovered scopes: app, providers, auth, tray, ui, settings, cli, ci, deps, docs, config
Creating 5 commits:
| # | Type | Message |
|---|------|---------|
| 1 | chore(config) | add dev tooling, release pipeline, and update deps |
| 2 | ci(ci) | rewrite release workflow with composite actions |
| 3 | refactor(providers) | apply cargo fmt and use Rust 2024 let chains |
| 4 | refactor(app) | apply cargo fmt and use let chains in Tauri app |
| 5 | docs(docs) | add DEVELOPMENT.md, CLAUDE.md, and update README |
The plugin automatically detects scopes from:
| Config file | Format |
|---|---|
conventional-commit-scopes.cjs | module.exports = ['app', 'ui', ...] |
.cz-config.cjs | scopes: [{ name: 'app' }, ...] |
commitlint.config.ts/js/cjs | 'scope-enum': [2, 'always', ['app', ...]] |
Falls back to standard conventional commits if no config is found.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub dsebastien/claude-code-clean-commitsAutonomous AI copywriter agent that creates SaaS marketing content while you sleep. Uses the Ralph Wiggum pattern for iterative content creation from trends, research, and communications.
Creates git commits using conventional commit format with appropriate emojis, following project standards and creating descriptive messages that explain the purpose of changes.
AI-powered conventional commit message generator with smart analysis
Advanced commit workflows with smart staging and push automation
Structured commit messages following the Conventional Commits specification
Professional git commits with Conventional Commits, GitHub Flow branch enforcement, auto PR creation, security validation, and auto-detection
Git commit workflow: atomic commits, validation, conventions