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.