A Claude Code plugin that streamlines your git workflow by staging all changes, generating an AI-powered commit message based on the actual diff, and pushing to a branch — all in one command.
/plugin marketplace add PendoNL/claude-git-ship
/plugin install git-ship@PendoNL
/git-ship:ship <branch>
/git-ship:ship main
/git-ship:ship develop
/git-ship:ship feature/new-login
When you run /git-ship:ship <branch>, the plugin:
- Checks for changes — Runs
git statusto see if there's anything to commit - Stages everything — Runs
git add -Ato stage all changes - Analyzes the diff — Gets both the summary and full diff of staged changes
- Generates a commit message — Creates a professional commit message based on the actual changes
- Commits — Creates the commit with the generated message
- Pushes — Pushes to your specified branch
The plugin generates commit messages using the Conventional Commits specification:
| Prefix | Use Case |
|---|---|
feat: |
New features |
fix: |
Bug fixes |
docs: |
Documentation changes |
style: |
Formatting, whitespace |
refactor: |
Code restructuring |
test: |
Adding or updating tests |
chore: |
Maintenance, dependencies |
perf: |
Performance improvements |
ci: |
CI/CD changes |
build: |
Build system changes |
Commit messages follow best practices:
- Subject line max 50 characters
- Imperative mood ("add feature" not "added feature")
- Body wrapped at 72 characters for complex changes
- Focuses on "what" and "why", not "how"
- Git must be installed and available in your PATH
- You must be in a git repository
- You must have push access to the remote
MIT License - see LICENSE for details.