Add git-history skill — git history intelligence for AI agents#857
Open
m2015agg wants to merge 1 commit intoanthropics:mainfrom
Open
Add git-history skill — git history intelligence for AI agents#857m2015agg wants to merge 1 commit intoanthropics:mainfrom
m2015agg wants to merge 1 commit intoanthropics:mainfrom
Conversation
Indexes entire git history into SQLite+FTS5, computes analytics
(churn hotspots, coupling, decision points, quality metrics),
and writes health summaries to Claude's memory system.
Key features:
- Hybrid search (BM25 + vector with RRF fusion)
- Smart churn alerts (thrashing, revert chains, fix-on-fix)
- verify command ("was this tried before?")
- Dev workflow commands (/plan, /implement, /review, /finalize, /trace)
- Historical context debugging skill (3 fault types)
- Claude memory integration (auto-loaded at session start)
- LLM enrichment (commit intent/reasoning analysis)
- Nightly cron with team fetch + auto-embed
npm: @m2015agg/git-skill
GitHub: https://github.com/m2015agg/git-skill
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What This Skill Does
git-history gives AI agents institutional memory over a codebase's evolution. It indexes entire git history into SQLite+FTS5, computes derived analytics, and writes health summaries directly into Claude's memory system — so every session starts with awareness of what's churning, what was reverted, and what to avoid.
Key Capabilities
verify/plan,/implement,/review,/finalize,/trace~/.claude/projects/*/memory/git_context.mdHow It Works
Real-World Impact
From production use on a 2000+ commit codebase:
max_tokensthrashing (5 changes in one day on the same value)Articles
Files Added
Spec Compliance
namelowercase, hyphens, 1-64 charsgit-history(11 chars)namematches directoryskills/git-history/description< 1024 charsSKILL.md< 500 lineslicensefieldComplete terms in LICENSE.txtTest Plan
npm install -g @m2015agg/git-skillgit-skill config && git-skill initin a test repogit-skill doctor,git-skill hotspots,git-skill search "test"cat ~/.claude/projects/*/memory/git_context.md/git-historywalkthrough in Claude Codebash skills/git-history/scripts/check-setup.shLinks
Also by the same author: context7-cache (PR #685)