From ship
Analyzes Git diff and generates Conventional Commits format commit messages. Handles staged changes, suggests type/scope, and presents options for user selection.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ship:commit [context or issue reference]When to use
コミットして, コミット作成, commit changes
[context or issue reference]haikuThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Context or issue reference: `$ARGUMENTS` (optional)
$ARGUMENTS (optional)$ARGUMENTS is empty → analyze staged changes only| Step | Action |
|---|---|
| 1 | Read staged: git status, git diff --staged (parallel) |
| 2 | Generate 3 candidates (varied scope/wording, see Type Detection + Rules) |
| 3 | Present via AskUserQuestion → user selects or customizes (Other) |
| 4 | Execute selected commit (sandbox-compatible) |
Infer type from diff context:
| Type | When to use |
|---|---|
| feat | New functionality or capability |
| fix | Bug fix or error correction |
| refactor | Code restructuring without behavior change |
| docs | Documentation only changes |
| test | Adding or updating tests |
| chore | Config, dependencies, maintenance |
| perf | Performance optimization |
| style | Formatting, whitespace, linting |
| ci | CI/CD configuration changes |
Default to feat if unclear.
| Rule | Guideline |
|---|---|
| Subject | ≤72 chars, imperative, lowercase, no period |
| Footer | BREAKING CHANGE:, Closes #123, Co-authored-by: |
feat(auth): add OAuth2 authentication support
feat(api)!: remove deprecated endpoints # BREAKING CHANGE
# Multi-line: file-based
cat > /tmp/claude/commit-msg.txt << 'EOF'
<message>
EOF
git commit -F /tmp/claude/commit-msg.txt
mv /tmp/claude/commit-msg.txt ~/.Trash/ 2>/dev/null || true
# Single-line: multiple -m flags
git commit -m "subject" -m "body"
| Error | Action |
|---|---|
| No staged files | Report "Nothing staged" |
| Empty diff | Return minimal message |
| No git repository | Report "Not a git repo" |
| Pre-commit failed | Report hook error |
## Commit Preview
> <type>(<scope>): <description>
<body>
`<footer>`
Committed: [short-hash] ():
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub thkt/dotclaude --plugin toolkit