smart-commit
Smart Commit examines your uncommitted changes, organizes them into logically cohesive groups, and generates commit messages that match your project's style conventions. By default it outputs git commands for manual review; use the `--execute` flag to run commits directly after confirmation.
Smart Commit analyzes uncommitted changes, groups them by cohesion, and generates commit messages matching your project style.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-27
Smart Commit analyzes uncommitted changes, groups them by cohesion, and generates commit messages matching your project style. Smart Commit examines your uncommitted changes, organizes them into logically cohesive groups, and generates commit messages that match your project's style conventions. By default it outputs git commands for manual review; use the `--execute` flag to run commits directly after confirmation.
Use it when
- Smart Commit's `--execute` flag automatically runs the git add and commit commands after you approve them.
- Yes.
Verify before relying
Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.
Similar skills
Install
sd0xdev/sd0x-dev-flow/smart-commit · repository language: JavaScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How does smart-commit batch commit with messages?
Smart Commit analyzes your uncommitted changes and organizes them into logically cohesive groups. It then generates commit messages for each group that match your project's style conventions. By default, smart-commit outputs the git commands for your review; you can inspect them before deciding whether to proceed.
What does smart-commit do in --execute mode?
Smart Commit's `--execute` flag automatically runs the git add and commit commands after you approve them. This streamlines the workflow by eliminating the manual copy-paste step, while still requiring your confirmation before any changes are committed to your repository.
Can smart-commit auto-generate commit messages?
Yes. Smart Commit examines your uncommitted changes and automatically generates commit messages tailored to each logical group of modifications. It learns your project's commit style conventions and applies consistent formatting across all generated messages.
Does smart-commit verify git configuration before committing?
Smart Commit verifies your git identity, signing configuration, and pre-commit checks before committing. This ensures your commits meet your repository's requirements and that your identity is properly configured.
How can I scope changes to avoid committing unrelated files?
Smart Commit supports filtering changes by session or path, allowing you to narrow the scope of what gets analyzed and committed. This helps prevent accidentally bundling unrelated modifications into a single commit batch.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Smart Commit
Analyze uncommitted changes → group by cohesion → generate commit messages → output git commands (or execute directly with --execute).
Workflow
```mermaid sequenceDiagram participant C as Claude participant U as User C->>C: Step 1a: Detect permissions C->>C: Step 1b: Learn commit style C->>C: Step 1c: Identity diagnostics C->>C: Step 1d: Signing diagnostics C->>C: Step 1e: AI guard readiness C->>C: Step 2: Pre-flight check (precommit) C->>C: Step 3: Collect changes + exclude sensitive files C->>C: Step 4: Group (high cohesion) C->>U: Show commit plan (with Author/Signing/Guard) U->>C: Confirm/adjust loop Each commit group C->>C: Read diff → generate
(truncated - see the full file via the links below)
File tree — 2 files
skills/smart-commit/SKILL.md
skills/smart-commit/references/execute-mode.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Analyze uncommitted changes and generate grouped commit messages with git commands”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
merge-prep examines source and target branches side-by-side to identify conflicts, affected files, and commit differences. It generates a detailed analysis report with conflict resolution strategies and suggested merge commands for you to execute manually. v1 is analysis-only—no automatic merging, pushing, or committing.
Cp combines staging, committing, and pushing into a single streamlined action. It auto-generates conventional commit messages based on your changes, protects against accidental pushes to main branches, and scans for leaked secrets before committing.
Create Commit analyzes your staged changes and generates properly formatted conventional commits, automatically inferring commit type and scope from the diff. It detects breaking changes and flags potential secrets before committing, while enforcing pre-commit hooks to maintain code quality standards.
This skill analyzes your repository's commit history to detect its message style, then generates a subject line and optional body that fit the established pattern. It stages unstaged changes when needed, respects pre-commit hooks and signing requirements, and confirms the commit with a log preview.
Commit Summary analyzes staged or unstaged git changes and generates properly formatted Conventional Commit messages with the right type, scope, and breaking-change markers. It groups unrelated changes into logical commits, detects unsafe files, and can stage and create commits after your approval.
Automatically generate conventional commit messages by analyzing your git changes. The skill examines staged or unstaged modifications, groups related files by module and change type, and produces properly formatted messages with appropriate commit types and scopes. Use it to split large changesets into logical commits or review changes before committing.
More skills Commit Message (unlicensed)