/mr-sparkle:commitfrom mr-sparkle
Commit changes with smart messages. Supports full and partial commits. Use whenever committing changes or handling pre-commit hook failures.
Ships in mr-sparkle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Interpret arguments — $ARGUMENTS could be any of:
Use judgment based on context. Don't ask unless unclear — infer if possible.
Analyze repository state:
git status — see all changesgit diff and git diff --staged — see what's changedStage files:
git add .)Generate or use commit message following these requirements:
fix:, feat:, refactor:, etc.)Good: prevent race condition in session cleanup, rate limiting middleware
Bad: fix: correct bug, updates, add new feature ✨, fix bug.
Commit:
git commit -m "message"
Handle pre-commit hook failures:
Pre-commit hooks (formatters/linters) sometimes auto-modify files during commit, causing it to fail because git won't commit when the working directory changes mid-process.
git add . then git commit --amend --no-editgit log -1 --format='%an <%ae>' — never amend someone else's commitVerify: git status and git log -1 --oneline
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub racurry/neat-little-package --plugin mr-sparkle9 skills in this plugin
/chezmoiIdioms and gotchas for managing dotfiles with chezmoi — source-state naming/attributes, when to use templates vs modify_ scripts vs run_ scripts, package installation, externals, secrets, and machine differences. Use when adding, editing, or structuring chezmoi-managed dotfiles, or writing chezmoi templates/scripts./code-historyTraces code history via git blame and log to explain why code exists in its current form. Use when asked about code history, reasoning behind changes, or "when/why did this change"./githubUse the gh CLI for GitHub interactions, plus setup and pushing. Use when interacting with GitHub, setting up GitHub tools, or pushing to remote./lintUniversal polyglot linting and per-project config management. Use when you need to lint files, understand tool selection logic, invoke linting from commands/agents, or manage mr-sparkle config./merge-conflictsResolves git merge conflicts by analyzing intent from both sides. Use when merge conflicts are detected or when git operations fail with conflict errors./prCreate a pull request with Problem/Solution format. Can optionally commit first. Use when opening PRs or when branch changes are ready for review.