From dmv
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".
How this skill is triggered — by the user, by Claude, or both
Slash command
/dmv:code-historyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Investigate code history and synthesize narrative explanations of why code is the way it is.
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]
--follownpx claudepluginhub racurry/neat-little-package --plugin dmvTraces the latest change for a file range or pasted snippet via git blame and entire explain lookups to explain code provenance.
Investigates GitHub repository history before risky code changes using git blame/log, PRs, review comments, and rename/cherry-pick heuristics. Use before editing API, security, concurrency, or migration code.
Traces git history to find when and why code changed, who wrote it, and root cause of bugs. Use for code archaeology, git blame, and change tracking.