squash-branch
CommunitySquash a branch into a single clean commit.
Authorkang8
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Squash all commits on the current branch into a single commit and produce a clear final message based on the combined changes, then stop before pushing so you can review and force-push yourself.
Core Features & Use Cases
- Local squash workflow: collapses all commits on the active branch into one, preserving the final state.
- Message synthesis: drafts a final commit message from the diff and original commit notes.
- Safe handoff: provides guidance on pushing with --force-with-lease and makes no automatic pushes.
Quick Start
Ask the AI to squash the current branch into a single commit locally.
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-branch Download link: https://github.com/kang8/.dotfiles/archive/main.zip#squash-branch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.