dependency-audit

Audit TypeScript module dependencies to detect circular imports and analyze package coupling.

12|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/guyowen/typegraph-mcp --skill dependency-audit-guyowen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-audit
Source: https://github.com/guyowen/typegraph-mcp/tree/main/skills/dependency-audit
Command: npx skills add https://github.com/guyowen/typegraph-mcp --skill dependency-audit-guyowen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and resolve issues related to module dependencies, such as circular imports and high coupling, which can lead to code fragility and maintenance difficulties.

Core Features & Use Cases

  • Circular Dependency Detection: Automatically finds import cycles within the project.
  • Module Coupling Analysis: Quantifies the interconnectedness of modules or packages to identify areas for refactoring.
  • Dependency Mapping: Visualizes direct and transitive dependencies between modules and packages.
  • Use Case: When refactoring a large codebase, use this Skill to ensure that breaking apart modules doesn't introduce new circular dependencies or negatively impact existing package relationships.

Quick Start

Use the dependency-audit skill to find any circular dependencies in the project.

Frequently Asked Questions about dependency-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect circular imports in a large TypeScript project?

You can find circular dependencies by running an audit that analyzes module imports, detects cycles, and quantifies module isolation to help you understand and resolve structural coupling issues.

What is module coupling analysis and how does it help with refactoring?

Module coupling analysis quantifies the interconnectedness between packages to identify fragile areas, ensuring that breaking apart modules during refactoring doesn't introduce new circular dependencies or negatively impact existing boundaries.

Can I filter dependency analysis to target specific files or packages?

Yes, this Skill supports targeted dependency analysis by allowing you to apply file or package filters, enabling you to focus on specific module boundaries and evaluate coupling within isolated scopes.

How do I visualize direct and transitive dependencies between modules?

This Skill maps and visualizes both direct and transitive dependencies between modules and packages, providing a clear structural view to help you evaluate module boundaries and maintain code health.

When should I audit module dependencies to prevent code fragility?

You should audit module dependencies when refactoring large codebases or evaluating module boundaries, as detecting high coupling and circular imports early prevents code fragility and long-term maintenance difficulties.