git-metadata
Installation
SKILL.md
Git Metadata
Run these commands in the working directory and return their output; the calling skill decides what to do with it. Flag every file that appears in both churn hotspots and bug clusters as the highest-risk code.
Churn hotspots: the most-changed files in the last year.
git log --format=format: --name-only --since="1 year ago" \
| sort | uniq -c | sort -nr | head -20
Bus factor: contributors by commit count, all time and recent.
git shortlog -sn --no-merges
git shortlog -sn --no-merges --since="6 months ago"