/mr-sparkle:code-historyfrom mr-sparkle
Traces 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".
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.
Investigate code history and synthesize narrative explanations of why code is the way it is.
Parse the query — determine what to research (file, function, line, concept, pattern)
Research using git archaeology:
--follow to track through renamesgit blame for line-level attributiongit log -S (pickaxe) and git log -G for concept/pattern searchesgh pr list --search "<hash>" --state allSynthesize a narrative, not a list:
Return in this structure:
# Summary
[Direct 2-3 sentence answer to the question]
# Historical Evolution
[Chronological narrative with dates and commit hashes]
# Reasoning
[Why decisions were made — problems, constraints, alternatives considered]
# Supporting Evidence
[Relevant commits quoted, PR discussions, code snippets showing evolution]
# Assessment
[Is this still the right approach? Technical debt? Context changed?]
# Gaps in Historical Record
[What's unclear or missing — only if applicable]
--followWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 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./commitCommit changes with smart messages. Supports full and partial commits. Use whenever committing changes or handling pre-commit hook failures./githubUse the gh CLI for GitHub interactions, plus setup and pushing. Use when interacting with GitHub, setting up GitHub tools, or pushing to remote.npx claudepluginhub racurry/neat-little-package --plugin mr-sparkle