sounder25/foundational-agent-skills/12-dependency-tree-mapping

Claude Code and agent skill by sounder25/foundational-agent-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate comprehensive dependency graphs to identify "single-points-of-failure" and impact analysis chains.

Install

npx vskill@latest install sounder25/foundational-agent-skills/12-dependency-tree-mapping

SKILL.md

SKILL-012: Dependency Tree Mapping

Overview

Executes "Structural Awareness" by building a map of how different parts of the project rely on each other. It uses language-specific tools (nuget, pip, npm, cargo) to extract the graph and visualize it.

Trigger Phrases

  • map dependencies
  • show dependency tree
  • check impact of <library>
  • find point of failure

Inputs

ParameterTypeRequiredDefaultDescription
--workspace-pathstringNoCurrent directoryRoot of the project
--depthintNo3Depth of dependency recursion
--formatstringNomermaidOutput format: mermaid, json, text

Outputs

1. DEPENDENCY_GRAPH.mmd (Mermaid)

Visual graph ready for rendering:

mermaid
graph TD
A[Core.Engine] --> B[Utils.Math]
A --> C[Utils.Logging]
B --> D[External.NumPy]
C --> E[External.Serilog]
2. RISK_REPORT.md

Analysis of the graph:

  • Critical Nodes: Libraries that >50% of the project depends on.
  • Cycle Detection: Circular dependencies that might cause build failures.
  • Version Conflicts: Multiple versions of the same library requested.

Preconditions

  1. Build files must exist (package.json, *.csproj, pyproject.toml).
  2. Dependencies must be resolvable (e.g., npm list works).

Implementation

Script: map_dependencies.ps1
  1. Detects Tech Stack: (Uses WORKSPACE_PROFILE.json if available).
  2. Extracts Graph:
  • Node.js: npm list --json
  • .NET: dotnet list package --include-transitive (parsed)
  • Python: pipdeptree --json (if installed)
  1. Generates Mermaid: Transforms raw data into Mermaid syntax.
  2. Analyzes Risk: Calculates centrality of nodes to identify critical points.

Use Cases

  1. QA Auditing: Identifying "single-points-of-failure" where a single library version mismatch could crash the system.
  2. Refactoring: Knowing that changing "AuthService" impacts "UserDashboard", "AdminPanel", and "ReportingJob".

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sounder25/foundational-agent-skills/12-dependency-tree-mapping/badge)](https://verified-skill.com/skills/sounder25/foundational-agent-skills/12-dependency-tree-mapping)

Something wrong with this skill or its page? Tell us.