Automates the git workflow by creating feature branches, committing changes, and preparing GitLab merge requests.
The Smart Git Commit skill streamlines version control workflows by automatically handling branch management and commit processes. When triggered, it detects local changes, ensures work isn't committed directly to protected branches by spawning new descriptive feature branches, and generates concise commit messages. It goes beyond simple commits by pushing changes to remote repositories and utilizing the glab utility to propose or automatically create merge requests with optional squash and merge settings, making it an essential tool for GitLab-centric development teams using Claude Code.
主要功能
010 GitHub stars
02Smart Branching: Automatically moves changes to new feature branches if currently on master.
03Automated Commit Messaging: Generates short, descriptive commit messages based on observed changes.
04GitLab Integration: Leverages the glab utility to create merge requests with squash and auto-merge options.
05Change Review: Reviews all changes in the branch before proposing a merge request to ensure quality.
06Validation: Verifies that all files are correctly committed and automatically fixes missing files.
使用场景
01Rapidly pushing local fixes to a new feature branch without manual branch management.
02Automating the creation of GitLab merge requests directly from the Claude Code interface.
03Standardizing commit messages and branch naming conventions across a development team.