Analyze - Coupling Analysis

SkillDev tools

Run coupling analysis and interpret results. Use when analyzing Rust project coupling patterns and generating improvement proposals.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Analyze - Coupling Analysis skill

What this skill tells your AI

The instructions your AI receives, as published by nwiizo/cargo-coupling in .claude/skills/analyze/SKILL.md and read by ahel’s review.

Execution Steps

  1. Run cargo run -- coupling $ARGUMENTS (default: ./src)
  2. Interpret results as Balance Advisor
  3. Present concrete improvement proposals

Commands

# Basic analysis (strict mode, hides Low severity)
cargo run -- coupling ./src

# Summary only
cargo run -- coupling --summary ./src

# Japanese output
cargo run -- coupling --summary --japanese ./src

# AI-friendly output
cargo run -- coupling --ai ./src

# Show all issues including Low
cargo run -- coupling --all ./src

# Show full Not Analyzed declaration
cargo run -- coupling --blind-spots ./src

# JSON output
cargo run -- coupling --json ./src

# History timeline
cargo run -- coupling --history ./src
cargo run -- coupling --history=8 --git-months=12 --json ./src

# Baseline diff
cargo run -- coupling --baseline main ./src

# Hotspots
cargo run -- coupling --hotspots ./src

# Impact analysis
cargo run -- coupling --impact <module> ./src

# CI/CD quality gate
cargo run -- coupling --check --min-grade=B ./src
cargo run -- coupling --check --baseline main --fail-on=high ./src

Options

OptionDescription
--summary, -sSummary only
--aiAI-friendly output
--jsonJSON format
--allShow all issues including Low
--blind-spotsShow full structural blind-spot manifest in text output
--history[=N]Analyze coupling health over git history
--baseline REFCompare current issues with a baseline git ref
--fail-on SEVERITYSeverity threshold for --check and baseline ratchet
--no-gitSkip Git history analysis
--max-deps NDependency count threshold
--max-dependents NDependent count threshold
--verboseDetailed output

Interpretation

See .claude/docs/khononov-framework.md for grade meanings. See .claude/docs/issue-types.md for issue severity.

Output template: output-template.md

Signals

GitHub stars
96
Forks
2
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
analyze-nwiizo
Source
github.com/nwiizo/cargo-coupling