squash-commits
CommunitySquash commits with AI-generated summary.
Authormixomat
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill squashes all commits in a feature branch into a single commit with a well-structured, AI-generated summary message, facilitating clearer history and simpler PRs.
Core Features & Use Cases
- Safety & Backups: Creates a backup branch before squashing and checks for uncommitted changes.
- Base Branch Detection: Auto-detects main, master, or develop as the base branch.
- Commit Type Inference: Determines commit type from branch name (including JIRA patterns) or a mapping.
- AI-Generated Message: Produces a concise, well-formatted commit message with a list of functional changes.
- Approval Workflow: Presents the message and asks for user approval before executing.
- Output: Produces a single, squashed commit on top of the base branch.
Quick Start
Example: On branch feature/TVFUS-12345-add-auth, say "squash commits" to generate and execute the squash flow, with the system asking for approval before committing.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: squash-commits Download link: https://github.com/mixomat/claude-plugins/archive/main.zip#squash-commits Please download this .zip file, extract it, and install it in the .claude/skills/ directory.