Agent skill
commit-chunks
Review and commit changes in meaningful chunks. Use when the user has multiple uncommitted changes that should be organized into logical, atomic commits.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/commit-chunks
SKILL.md
Commit Chunks
Review and commit changes in meaningful chunks.
Instructions
- Run
git statusandgit diffto see all uncommitted changes - Review each changed file and understand what was modified
- Group related changes into logical commits (e.g., by feature, by file type, by purpose)
- For each group:
- Stage only the relevant files with
git add <files> - Create a commit with a clear, descriptive message following conventional commits (feat, fix, chore, docs, refactor, style, test)
- Stage only the relevant files with
- After all commits, show
git log --oneline -10to display the results
Commit Message Format
<type>(<scope>): <description>
[optional body]
Examples:
feat(studio): add branding to graph controlsfix(cli): resolve path issue in static file servingchore: update gitignore for docs folder
Guidelines
- Keep commits atomic (one logical change per commit)
- Don't mix unrelated changes in the same commit
- Write commit messages that explain WHY, not just WHAT
- If unsure about grouping, ask for clarification
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?