Semantic Commit
This skill analyzes your staged changes and proposes a split into multiple focused commits, each with a semantic message following conventional patterns. It groups related files by feature, change type, or dependency, then walks you through approval and execution—with a dry-run mode to preview splits before committing.
Semantic Commit breaks staged changes into logical, well-organized commits with standardized messages.
AI-generated summary based on this skill's SKILL.md
Install
wasabeef/claude-code-cookbook/semantic-commit · repository language: Shell
git clone https://github.com/wasabeef/claude-code-cookbook
cp -r claude-code-cookbook ~/.claude/skills/semantic-commitgenerated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub
npx skillfed install wasabeef/claude-code-cookbook/semantic-commitFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is semantic commit and how does it work?
Semantic Commit analyzes your staged changes and proposes a split into multiple focused commits, each with a semantic message following conventional patterns. It groups related files by feature, change type, or dependency, then walks you through approval and execution—with a dry-run mode to preview splits before committing.
How to write semantic commits with proper format?
Semantic Commit enforces standardized commit message formats across your codebase by validating messages for semantic compliance. The skill generates or parses semantic commit information automatically, ensuring each commit follows conventional patterns with appropriate prefixes and structured messaging to maintain consistency across your repository.
Can Semantic Commit enforce commit standards automatically?
Yes, Semantic Commit enforces standardized commit message formats across a codebase as its primary function. It validates and lints commit messages for semantic compliance, preventing non-conformant messages from being committed and maintaining consistent conventions throughout your project.
What are semantic commit types and prefixes?
Semantic Commit recognizes conventional commit types and prefixes that categorize changes—such as feat, fix, docs, style, refactor, perf, and test. The skill uses these prefixes to classify your staged changes, group related files intelligently, and generate properly formatted commit messages that communicate the nature and scope of each change.
Does Semantic Commit integrate with CI/CD pipelines?
Semantic Commit can integrate semantic commits into CI/CD pipelines, enabling automated validation of commit messages as part of your build and deployment workflow. This ensures that all commits meeting your repository's semantic standards are enforced at the pipeline level.
Can I preview commit splits before executing them?
Yes, Semantic Commit includes a dry-run mode that lets you preview how your staged changes will be split into multiple focused commits before they are actually executed. This allows you to review the proposed semantic messages and groupings, then approve or adjust them before finalizing the commits.