What problem does it solve?
Unmanaged code dependencies lead to fragile builds, unexpected runtime failures, and high-risk refactors: circular imports cause deadlocks, layer violations break architectural boundaries, and excessive coupling makes modules brittle to upstream changes. This skill eliminates blind spots by automatically mapping your codebase's dependency graph and surfacing hidden anti-patterns before they reach production.
Core Features & Use Cases
- Full dependency graph generation: Builds import graphs for 7+ languages (TypeScript, Python, Java, C#, C, C++, SQL) with support for runtime, type-only, and test dependencies.
- Anti-pattern detection: Flags circular dependencies (direct, indirect, type-only), layer violations, high efferent/afferent coupling, instability mismatches, and missing module boundaries.
- Architecture compliance: Enforces layered architecture rules and calculates standard metrics (instability index, distance from main sequence) to align with 2026 best practices.
- Use Case: Before refactoring a 50-file Python service, run this skill to identify hidden circular dependencies between modules that would cause runtime import errors after code changes.
Quick Start
Use the dependency-analyzer skill to scan your project's source code for circular dependencies, layer violations, and excessive module coupling.