with one click
dependency-map
Generate dependency map diagram from project build files
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Generate dependency map diagram from project build files
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | dependency-map |
| description | Generate dependency map diagram from project build files |
Analyze project build and package files to generate a visual map of all external dependencies grouped by functional category. Save to .github/modernize/assessment/engines/facts/dependency-map.md.
This skill focuses exclusively on declared external dependencies (libraries, frameworks, packages). For internal application structure and component relationships, see the architecture-diagram skill.
workspace-path (optional): Path to the project to analyze (defaults to current directory)Analyze build files and produce the complete ## Dependencies section in one pass:
Analysis — examine only build and package management files (do NOT scan source code — that is the architecture-diagram skill's job):
For each dependency extract:
Also detect:
Categorize dependencies into functional groups:
| Category | Examples |
|---|---|
| Web Frameworks | Spring Web, ASP.NET Core MVC, JAX-RS |
| Database / ORM | Hibernate, Entity Framework, JDBC drivers |
| Messaging | Kafka client, RabbitMQ, Azure Service Bus |
| Caching | Redis, EhCache, MemoryCache |
| Logging | SLF4J, Log4j, Serilog, NLog |
| Security | Spring Security, Microsoft.Identity, OAuth libs |
| Observability | Micrometer, OpenTelemetry, Application Insights |
| Utilities | Guava, Apache Commons, Lombok, AutoMapper |
Rules:
Diagram — Mermaid flowchart LR:
subgraph per functional categoryLib["Library Name v1.2.3"]Example:
flowchart LR
App["MyApplication"]
subgraph Web["Web Frameworks"]
SpringMVC["Spring MVC 5.3.x"]
Thymeleaf["Thymeleaf 3.0"]
end
subgraph DB["Database / ORM"]
Hibernate["Hibernate 5.6"]
PgDriver["PostgreSQL Driver 42.6"]
end
subgraph Messaging
Kafka["Kafka Client 3.4"]
end
subgraph Cache["Caching"]
Redis["Jedis 4.3"]
end
subgraph Log["Logging"]
SLF4J["SLF4J 1.7"]
Logback["Logback 1.2"]
end
subgraph Sec["Security"]
SpringSec["Spring Security 5.7"]
end
subgraph Util["Utilities"]
Lombok["Lombok 1.18"]
Jackson["Jackson 2.14"]
end
App -->|"web"| Web
App -->|"persistence"| DB
App -->|"messaging"| Messaging
App -->|"caching"| Cache
App -->|"logging"| Log
App -->|"security"| Sec
App -->|"utilities"| Util
SLF4J -.->|"implementation"| Logback
Textual explanations (write immediately after the diagram):
Collect all test-scoped dependencies (excluded from the main diagram) and produce the complete ## Test Dependencies section:
Save to .github/modernize/assessment/engines/facts/dependency-map.md with this exact structure:
# Dependency Map
A brief introduction (1-2 sentences) stating project name and total dependency count.
## Dependencies
< Mermaid flowchart LR here >
### Dependency Summary
[Table: Category | Count | Key Libraries | Notes]
### Version & Compatibility Risks
[Short paragraph on outdated or end-of-life dependencies]
### Notable Observations
[2-4 bullet points on noteworthy findings]
## Test Dependencies
[Table: Framework | Version | Notes]
Total test-scope dependencies: N
[1-2 sentences on test infrastructure observations, or "No test dependencies detected."]
Utils["12 utility libraries"]) and only show individually the top dependencies by importanceThe diagram must parse cleanly under Mermaid >= 9.x. Anything outside the legal subset crashes the entire diagram with Syntax error in text.
flowchart LR@, #, $, %, &) in node labels — use plain text-->|"label"|subgraph for grouping, with a display name in quotes if it contains spaces-.-> (dotted arrow) for transitive/indirect relationships\n for line breaks inside node labels. The literal \n escape was removed in modern Mermaid and is the #1 cause of "Syntax error in text".<br/> instead: Node["First line<br/>Second line"].Spring["Spring Boot\n2.5.12"]Spring["Spring Boot<br/>2.5.12"] or Spring["Spring Boot 2.5.12"]\n — replace each with <br/>. Zero \n must remain.subgraph is closed by end.> ERROR: Unsupported project type. This skill supports Java, .NET, JavaScript, and TypeScript projects only.> ERROR: No recognized build files found at {workspace-path}. Verify the path is correct.Note["Some dependencies could not be fully resolved"].github/modernize/assessment/engines/facts/dependency-map.mdGenerate API and service communication contracts with sequence diagram
Generate architecture diagram with component relationship details from project analysis
Run application assessment for a single repository
Generate core business workflow documentation with sequence diagram
Generate comprehensive configuration and externalized settings inventory
Create a modernization plan to migrate the project to Azure