commit-atomic
FeaturedGroup staged changes into atomic commits with commitizen convention
Code & Development 117 stars
13 forks Updated today MIT
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Atomic Commit with Logical Grouping
Create atomic commits by logically grouping changes following the commitizen/conventional commits convention. Each commit should represent one logical change with a clear, informative message explaining the **what** and **why**.
## Usage
```bash
/commit-atomic
```
## Process
### 1. Inspect the current changes
```bash
git status
git diff --staged
git diff
```
Review all modified, added, and deleted files to understand the full scope of changes.
### 2. Group changes logically
Analyze the changes and group them into **logical, independent units**. Each group should:
- Address a single concern or feature
- Be independently understandable
- Not break the build or tests on its own
- Follow the dependency order (low-level to high-level)
**Grouping strategies:**
- By feature or concern (e.g., authentication, UI, database)
- By type (e.g., refactoring, bug fix, new feature)
- By layer (e.g., model, service, controller)
### 3. Stage each group intentionally
**Stage files explicitly with `git add <path>`.** Avoid `git add -A` or `git add --all`:
```bash
# Stage specific files
git add <file1> <file2>
# Stage specific hunks interactively
git add -p <file>
# Verify what is staged before committing
git diff --staged
```
### 4. Commit each group with a commitizen message
Follow the **commitizen conventional commits** format:
```text
<type>(<scope>): <subject>
[optional body]
[optional footer]
```
**Types:**
| Type | When to ...
Details
- Author
- jellydn
- Repository
- jellydn/my-ai-tools
- Created
- 7 months ago
- Last Updated
- today
- Language
- Shell
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
commit
Atomic, semantic-boundary git commit workflow
1 Updated 2 weeks ago
dirien Code & Development Listed
git-atomic-commit
Use when splitting a working tree into atomic commits, or when changes need to be distributed across new commits and/or edits to prior commits on the branch. Especially relevant when changes within a single file belong in different commits.
2 Updated yesterday
LandonSchropp Code & Development Solid
git-commit
Turn the working changes into one or more atomic commits with well-written messages. Use whenever the user runs /git-commit or asks to commit their work, wrap up a feature, or "commit what I have."
21 Updated 3 weeks ago
thoughtbot