dependency-extractor

Extract inter-module dependencies across multi-language codebases and generate dependency maps.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/vndkubi/code-graph --skill dependency-extractor
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dependency-extractor
Source: https://github.com/vndkubi/code-graph/tree/main/.github/skills/dependency-extractor
Command: npx skills add https://github.com/vndkubi/code-graph --skill dependency-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract and map inter-module dependencies across diverse build systems to generate a machine-readable map and a human-readable architecture diagram for fast software analysis and change impact assessment.

Core Features & Use Cases

  • Automated module boundary detection across Maven multi-module projects, Gradle, npm workspaces, .NET solutions, and Python monorepos.
  • Output generation of .github/module-dependency-map.json and .github/MODULE-ARCHITECTURE.md for automation and documentation.
  • Use Case: After restructuring modules or bootstrapping a project, regenerate the dependency map and architecture reference to reflect changes.

Quick Start

Run the dependency-extractor against the repository root to generate the module-dependency-map.json and MODULE-ARCHITECTURE.md.

Frequently Asked Questions about dependency-extractor

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

FAQPage Schema
How do I extract module dependencies across a multi-language monorepo?▼

To extract module dependencies across a multi-language monorepo, this automation reads root build files to identify modules, resolves inter-module references, and classifies modules by type to generate a machine-readable dependency map.

Can I generate an architecture diagram automatically from my Maven or Gradle build files?▼

Yes, you can generate an architecture diagram from Maven or Gradle build files. The tool parses root build configurations, verifies imports, and outputs a human-readable MODULE-ARCHITECTURE.md diagram for documentation.

Does dependency extraction work with npm workspaces and .NET solutions?▼

Dependency extraction works with npm workspaces and .NET solutions. It supports these alongside Maven, Gradle, and Python monorepos to detect module boundaries and map inter-module dependencies automatically.

What is the best way to map codebase structure for change impact assessment?▼

The best way to map codebase structure for change impact assessment is to automate inter-module dependency extraction, producing a machine-readable JSON dependency map that verifies imports and classifies modules by type.

When should I regenerate the module dependency map for my codebase?▼

You should regenerate the module dependency map after bootstrapping a project or whenever the module structure changes. This ensures the architecture diagram and dependency map accurately reflect current inter-module references.

What output files are generated when mapping inter-module dependencies?▼

Mapping inter-module dependencies generates two output files: a machine-readable .github/module-dependency-map.json for automation and a human-readable .github/MODULE-ARCHITECTURE.md for architecture reference.