nw-hotspot

Analyze git commit history to identify the most-changed files.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/StudentCristian/nWave-github --skill nw-hotspot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nw-hotspot
Source: https://github.com/StudentCristian/nWave-github/tree/main/.github/skills/nw-hotspot
Command: npx skills add https://github.com/StudentCristian/nWave-github --skill nw-hotspot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify the files that accumulate the most changes in a codebase by analyzing git commit history, helping teams focus reviews and refactoring on high-churn areas.

Core Features & Use Cases

  • Analyze git change frequency to surface hotspots and prioritize reviews.
  • Use as a pre-filter to scope downstream analysis or as a post-filter to reorder existing findings.
  • Supports multiple modes (Analyze, Rank, Detail, JSON export) for inline workflows.

Quick Start

Run /nw-hotspot in your repository to display the top-churn files.

Frequently Asked Questions about nw-hotspot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify the most-changed files in a git repository?

You identify the most-changed files by analyzing git commit history to calculate code churn and surface hotspots. This highlights high-churn areas to help prioritize code reviews and refactoring efforts.

What is git churn analysis and how does it help with code review?

Git churn analysis calculates how frequently files are modified by examining commit history. It helps code review by pinpointing unstable hotspots where defects are likely to cluster, focusing attention on high-risk areas.

Can I analyze git hotspots in large repositories?

Yes, you can analyze git hotspots in large repositories. The calculation applies git log-based churn analysis across small to large codebases, excluding deleted files to accurately rank current hotspots.

How do I use code churn metrics to pre-filter downstream analysis?

Use code churn metrics to pre-filter downstream analysis by scoping your review to only the top-churn files. You can also post-filter existing findings to reorder and prioritize results based on file modification frequency.

Does the git hotspot analysis support JSON export for workflows?

Yes, the git hotspot analysis supports JSON export alongside Analyze, Rank, and Detail modes. This allows you to integrate churn metrics directly into inline automated workflows.

What is excluded when calculating file churn from git history?

Deleted files are excluded when calculating file churn from git history. This ensures the analysis only ranks and surfaces hotspots for files that currently exist in the codebase.