What problem does it solve?
This skill analyzes git history to produce a people-to-file ownership topology that surfaces maintenance risk, bus-factor issues, and sensitive-code ownership so teams can prioritize security reviews and remediation.
Core Features & Use Cases
- Build a bipartite graph of people and files from git history and export nodes and edges as CSV/JSON for Neo4j, Gephi, or other graph consumers.
- Compute file co-change relationships using Jaccard similarity to cluster files by how they move together and detect ownership drift.
- Flag sensitive paths with configurable rules, compute bus-factor and orphaned sensitive code, and produce a security-focused summary JSON.
- Provide bounded LLM-friendly query helpers to fetch people, files, co-change neighbors, communities, and summary slices without loading the full graph.
- Use cases: security maintainership reviews, CODEOWNERS reality checks, identifying single-owner sensitive hotspots, and importing ownership graphs into graph databases for visualization.
Quick Start
Run the ownership map on your repository to emit CSV/JSON artifacts and a security summary by executing the run_ownership_map.py runner with suitable since, out, and sensitivity options.