commit-diffs

Analyze code diffs and split them into atomic Git commits.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/53able/docs-site --skill commit-diffs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-diffs
Source: https://github.com/53able/docs-site/tree/main/.cursor/skills/commit-diffs
Command: npx skills add https://github.com/53able/docs-site --skill commit-diffs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you analyze your current code changes, break them down into logical, atomic commits, and execute them efficiently, ensuring a clean and understandable Git history.

Core Features & Use Cases

  • Intelligent Commit Splitting: Analyzes diffs to suggest optimal commit granularity based on logical changes.
  • Environment Agnostic: Works seamlessly with both standard Git and GitButler CLI.
  • Use Case: You've made several unrelated changes (a new feature, a bug fix, and some refactoring). This Skill will help you separate these into distinct, well-defined commits, making your review process smoother and your history easier to navigate.

Quick Start

Analyze the current changes and commit them using the commit-diffs skill.

Frequently Asked Questions about commit-diffs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I split mixed git changes into atomic commits?

To split mixed git changes into atomic commits, this Skill analyzes current code differences and categorizes them based on logical changes. It then executes these separated commits using either standard Git or GitButler CLI.

What is the best way to separate unrelated code changes for a cleaner git history?

The best way to separate unrelated code changes for a clean git history is to analyze the diff for logical boundaries. This Skill identifies features, bug fixes, and refactoring to split and commit them as distinct, well-defined units.

Can I use this commit splitting tool with GitButler CLI?

Yes, you can use this commit splitting tool with GitButler CLI. The environment-agnostic design works seamlessly with both standard Git and GitButler CLI to execute intelligently separated, atomic commits.

How does intelligent commit splitting handle complex code review scenarios?

Intelligent commit splitting handles complex code review scenarios by delegating to a sub-agent for analysis. It provides detailed evaluation criteria for commit quality to ensure optimal granularity and logical change separation.

Why should I separate refactoring and bug fixes into different commits?

You should separate refactoring and bug fixes into different commits to make the review process smoother and the history easier to navigate. This Skill analyzes diffs to suggest optimal granularity based on logical change categories.