What problem does it solve?
Understanding the scope, type, and atomicity of changes within a Git commit is crucial for effective code reviews and project management, but manually analyzing diffs can be time-consuming. This skill automates the analysis of Git changes, providing insights into file statistics, commit types, and atomicity, saving you time and improving review efficiency.
Core Features & Use Cases
- Change Analysis: Provides detailed statistics on added, modified, and deleted lines, giving a clear overview of the changes.
- Type & Scope Detection: Automatically identifies the type (e.g., feat, fix, refactor) and scope of a commit, aiding in categorization.
- Atomicity Assessment: Evaluates if a commit represents a single, logical change, promoting cleaner history.
- Use Case: A reviewer needs to quickly understand the impact of a pull request. They use this skill to analyze the commits, getting a summary of changes, identifying the primary purpose (e.g., a new feature vs. a bug fix), and assessing if the changes are logically grouped, streamlining the review process.
Quick Start
Use the commit-analysis skill to analyze the changes in the last Git commit.