From Claudient — Git
Write conventional commit messages from staged diff — type, scope, subject, body, breaking changes
How this skill is triggered — by the user, by Claude, or both
Slash command
/claudient-git:commit-writerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- You have staged changes and need a well-structured commit message
git commit -m "wip" and squash latergit revert generates the message automatically<type>(<scope>): <subject>
[body]
[footer]
Types:
| Type | When to use |
|---|---|
feat | New feature or capability visible to users |
fix | Bug fix |
docs | Documentation only — no code change |
style | Formatting, whitespace — no logic change |
refactor | Code restructuring with no behaviour change |
perf | Performance improvement |
test | Adding or fixing tests |
chore | Build, tooling, dependency updates |
ci | CI/CD configuration changes |
revert | Reverts a previous commit |
Rules:
BREAKING CHANGE: in the footer, or ! after the type (feat!:)Run this before invoking the skill:
git diff --staged # see what you're about to commit
Then prompt Claude:
Write a conventional commit message for these staged changes:
[paste git diff --staged output, or describe what changed]
Claude will:
If the diff contains multiple logical changes, Claude will either:
git add -pClaude outputs the commit message ready to copy-paste:
git commit -m "feat(auth): add JWT refresh token rotation
Implement sliding session windows by rotating refresh tokens on each use.
Previous tokens are invalidated immediately after rotation.
Closes #234"
Staged diff includes:
src/auth/tokens.py — new rotate_refresh_token() functiontests/test_tokens.py — tests for the new functionCHANGELOG.md — updatedExpected output:
feat(auth): add refresh token rotation
Rotate refresh tokens on each use to implement sliding session windows.
Previous tokens are invalidated immediately, reducing the window for
token theft after a session is compromised.
Closes #234
Work with us: Claudient is backed by Uitbreiden — we build AI products and B2B solutions with developer communities. uitbreiden.com · Reddit · YouTube
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub claudient/claudient --plugin claudient-git