원클릭으로
refactor
Generate concrete refactoring proposals with Before/After code based on coupling analysis results.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate concrete refactoring proposals with Before/After code based on coupling analysis results.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | refactor |
| description | Generate concrete refactoring proposals with Before/After code based on coupling analysis results. |
cargo run -- coupling $ARGUMENTS to analyze| Type | Description |
|---|---|
global-complexity | Strong coupling to distant modules |
cascading-change | Coupling to volatile modules |
inappropriate-intimacy | Internal access across boundaries |
high-efferent | Too many outgoing dependencies |
high-afferent | Too many incoming dependencies |
all | All issue types (default) |
# Before refactoring
cargo run -- coupling --summary ./src > before.txt
# After refactoring
cargo run -- coupling --summary ./src > after.txt
# Compare
diff before.txt after.txt
Code pattern examples: patterns.md
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.