hotspots
Rank repository files by change frequency and churn over a date range to show where risk and maintenance cost concentrate.
Instructions
Files ranked by how often they changed in the period, then by churn (added + deleted lines). Frequently changed, high-churn files are where risk and maintenance cost concentrate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository alias, see the git-insights://repos resource | |
| limit | No | Maximum number of items to return | |
| since | No | Start of the period (ISO date, inclusive, UTC); omit for all | |
| until | No | End of the period (ISO date, inclusive, UTC); omit for now |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| since | Yes | ||
| until | Yes | ||
| hotspots | Yes | Ranked by commits, then churn | |
| total_commits | Yes | Non-merge commits in the period |