What problem does it solve?
This Skill addresses the complexity of managing large code changes that span multiple files by breaking them down into smaller, manageable, and logically ordered commits. This makes code reviews easier, debugging more efficient, and the overall project history more understandable.
Core Features & Use Cases
- Wave-based development: Organizes changes into distinct "waves" based on logical concerns (e.g., types, factories, contracts, infrastructure, consumers).
- Atomic and Buildable Commits: Ensures each commit represents a single logical concern, is focused, and leaves the codebase in a buildable state.
- Dependency Ordering: Provides a heuristic for ordering waves based on file dependencies, ensuring foundational changes are made before dependent ones.
- Use Case: Refactoring a core API. You would first commit changes to the types, then to the factory functions, then to the API contracts, then to any supporting infrastructure, and finally to the consuming applications, with each step being a separate, verifiable commit.
Quick Start
Use the incremental-commits skill to break down a large feature into atomic commits following the wave pattern.