一键导入
hotspots
Identify high-priority refactoring targets using hotspot scoring. Ranks modules by issue severity and coupling count.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Identify high-priority refactoring targets using hotspot scoring. Ranks modules by issue severity and coupling count.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | hotspots |
| description | Identify high-priority refactoring targets using hotspot scoring. Ranks modules by issue severity and coupling count. |
| argument-hint | ["path"] |
cargo run --release -- coupling --ai $ARGUMENTS (default: ./src)# Default (top 5)
cargo run -- coupling --hotspots ./src
# Top 10
cargo run -- coupling --hotspots=10 ./src
# With explanations
cargo run -- coupling --hotspots --verbose ./src
| 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 |
## Refactoring Hotspots
### 1. [Module] (Score: XX)
- **Issues**: [Types and count]
- **Coupling**: In X / Out Y
- **Recommended action**: [Specific improvement]
Khononov's Balanced Coupling model reference. Auto-loaded when analyzing coupling patterns, reviewing architecture, or interpreting analysis results.
Run coupling analysis and interpret results. Use when analyzing Rust project coupling patterns and generating improvement proposals.
Quick health check for coupling balance score. Use for daily score verification and CI quality gates.
Modularity review using Balanced Coupling model. Combines automated analysis with semantic code review to find implicit coupling and design issues.
Start interactive web UI for coupling analysis visualization. Graph exploration with filters, hotspots, and export.
Run mutation testing with cargo-mutants to evaluate test quality. Identifies untested code paths.