commit-smart
Analyze staged/unstaged changes and create semantic conventional commits with context about WHY, not just WHAT. Auto-detects commit type and scope from the diff. Supports optional type/scope arguments. Usage - /commit-smart, /commit-smart fix, /commit-smart refactor api
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Smart Commit
- Workflow
- Step 1: Assess the working tree
- Step 2: Handle unstaged changes
- Step 3: Analyze the diff
- Step 4: Check for user overrides
- Step 5: Compose the commit message
- Step 6: Confirm and commit
Create meaningful conventional commits by analyzing your actual changes. Run these commands to understand the current state: If nothing is staged (git diff --cached is empty): 1. Show the user what files have changed 2. Suggest what to stage based on logical grouping (e.g., "these 3 files are all related to the auth refactor") 3. Ask if they want to stage all, or select specific files 4. Stage the approved files with git add If changes are already staged, proceed to analysis. Read the full staged diff: Determine the commit type from the changes: | Signal | Type | |--------|------| | New files with new functionality | feat | | New test files or test additions | test | | Changes to existing logic fixing incorrect behavior | fix | | Structural changes without behavior change | refactor | | package.json, tsconfig, CI config changes | chore | | Build/bundler config changes | build | | README, docs, comments only | docs | | Formatting, whitespace, semicolons only | style | | Performance improvements | perf | Determine the scope from the primary directory or module affected: src/api/ -> api src/components/auth/ -> auth tests/ -> tests Root config files -> omit scope Multiple unrelated are
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- davila7/claude-code-templates
- Source file
- cli-tool/components/skills/git/commit-smart/SKILL.md
- Fixed revision
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:39.492Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.