Identify high-priority refactoring targets using hotspot scoring. Ranks modules by issue severity and coupling count.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add nwiizo/cargo-coupling --skill hotspots --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Hotspots?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/nwiizo-hotspots)More formats (shields.io, HTML) on the badges page.
---
name: hotspots
description: Identify high-priority refactoring targets using hotspot scoring. Ranks modules by issue severity and coupling count.
argument-hint: [path]
---
# Hotspots - Refactoring Priority
## Execution Steps
1. Run `cargo run --release -- coupling --ai $ARGUMENTS` (default: `./src`)
2. Calculate hotspot score for each module
3. Display ranked list with recommendations
## Commands
```bash
# Default (top 5)
cargo run -- coupling --hotspots ./src
# Top 10
cargo run -- coupling --hotspots=10 ./src
# With explanations
cargo run -- coupling --hotspots --verbose ./src
```
## Scoring Formula
| Factor | Weight | Description |
|--------|--------|-------------|
| Issue count | x30 | Number of coupling issues |
| Coupling count | x5 | In/out dependency count |
| Health: Critical | +50 | Critical health status |
| Health: Needs Review | +20 | Needs review status |
| Circular dependency | +40 | Part of a cycle |
## Output Format
```markdown
## Refactoring Hotspots
### 1. [Module] (Score: XX)
- **Issues**: [Types and count]
- **Coupling**: In X / Out Y
- **Recommended action**: [Specific improvement]
```
## Analysis Dimensions
1. **Why problematic** — Issue types, coupling patterns
2. **Priority** — Blast radius, difficulty, expected benefit
3. **Refactoring proposals** — Interface separation, dependency inversion, module splitting, facade
## Notes
- Score 0 = no issues
- Circular dependencies = highest priority
- Focus on top 5 for actionable results
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.
一个全面的 Claude Code 会话验证系统。
Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.