Imported from zenodefault/codesentinel (
skills/git-archaeologist/SKILL.md). Install upstream withnpx skills add zenodefault/codesentinel --skill git-archaeologist. Copyright stays with the author.
git-archaeologist
Purpose
Reconstruct why a file changed by mining git history, linked ticket IDs, ownership drift, and downstream impact.
Inputs
repoPath: local repository pathfilePath: file path inside the repository
Behavior
- Run
git log --followfor the target file. - Extract commit hash, subject, author email, authored date, and Jira ticket IDs.
- Enrich the result with Jira summaries and org-membership checks when credentials are available.
- Persist decision history, ghost-author data, and module passports into Durable Memory.
Environment
JIRA_BASE_URL,JIRA_EMAIL,JIRA_API_TOKENfor ticket enrichmentGITHUB_TOKENfor GitHub org membership lookupANTHROPIC_API_KEYfor module passport risk summaries
