squash-merge
CommunitySafely squash merge PRs with GitHub.
Authormjbellantoni
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of squash merging pull requests directly via GitHub's API, ensuring commit messages adhere to project standards and preventing accidental merges.
Core Features & Use Cases
- Drafts Commit Messages: Generates a commit message following specific formatting rules (subject line, body wrapping, imperative mood).
- Two-Phase Workflow: Separates message drafting from the actual merge, requiring explicit user approval before execution.
- GitHub API Integration: Uses
gh pr mergefor a clean, server-side merge, avoiding local Git complexities. - Use Case: When a pull request is ready for merging and the team wants to consolidate its history into a single, clean commit, this skill can be used to draft the appropriate commit message and then perform the squash merge.
Quick Start
Use the squash-merge skill to draft a commit message for the current PR and await approval before merging.
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-merge Download link: https://github.com/mjbellantoni/scm-tools-claude/archive/main.zip#squash-merge 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 223,000+ vetted skills library on demand.