From stephendolan
Commit changes, save work, create git commit. Use when done coding, ready to commit, need to save progress, or "commit this". Creates conventional commit messages focused on why, not what.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stephendolan:commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a high-quality commit with a message that captures the intent, not just the mechanics.
Create a high-quality commit with a message that captures the intent, not just the mechanics.
Run in parallel:
git diff --cached # Staged changes (or git diff if nothing staged)
git status # What's changed
git log --oneline -5 # Match repository style
Before writing the message, identify:
The diff shows what changed. The message explains why.
type(scope): concise summary in imperative mood
Optional body explaining WHY this change was made.
Not what changed (the diff shows that), but why.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Before committing, verify:
git add [files] # Stage if needed
git commit -m "..."
| Type | Use For |
|---|---|
feat | New feature or functionality |
fix | Bug fix |
refactor | Code restructuring (no behavior change) |
docs | Documentation only |
chore | Maintenance, dependencies, config |
test | Adding or modifying tests |
perf | Performance improvements |
Good: Explains intent
feat(auth): add rate limiting to login endpoint
Prevents brute-force attacks by limiting attempts per IP.
Bad: Just describes the diff
feat(auth): add rate limiter middleware and config
Good: Specific
fix(api): handle null response from payment provider
Bad: Vague
fix(api): fix bug
Add a body when:
Include scope when changes focus on a specific module. Skip when changes span multiple areas or scope is obvious from context.
feat(auth): add OAuth2 provider
fix(api): handle null response
refactor(database): normalize user schema
chore: update dependencies
git log and follow existing patternsnpx claudepluginhub stephendolan/dotfiles --plugin stephendolanGenerates Conventional Commits messages for staged git changes and commits them. Follows v1.0.0 spec with types like feat, fix, refactor. Use for standardized commits or /commit invocation.
Creates semantic git commits with conventional commit format, stages changes, and pushes to remote. Handles pre-commit hooks and writes meaningful commit messages.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.