commit - Smart Git Commit Workflow
Protected git commit workflow with auto-rebase and conventional commit messages
Tags
Updated: 2026-03-21Capabilities
Typical Inputs
Typical Outputs
What this skill does
- run git commands
- check current branch
- detect protected branch
- create feature branch
- fetch remote changes
- rebase onto base branch
- stage changed files
- exclude secret files
- write commit message
- create git commit
- push to origin
- handle conflicts
Inputs
- Git repository
Outputs
- Feature branch
- Git commit with conventional message
- Pushed changes to origin
- Conflict information
Requirements
- Claude Code environment
- Bash tool
- Read tool
- Grep tool
- AskUserQuestion tool
- Git repository
- Command-line interface
