dependency-analyzer

Detects dependency issues in shell and Python code via graph analysis.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ribatshepo/cc-auto-orchestrate --skill dependency-analyzer-ribatshepo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-analyzer
Source: https://github.com/ribatshepo/cc-auto-orchestrate/tree/main/claude-code/skills/dependency-analyzer
Command: npx skills add https://github.com/ribatshepo/cc-auto-orchestrate --skill dependency-analyzer-ribatshepo

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Dependency analysis and architecture validation to surface circular dependencies, layer violations, and high coupling in codebases.

Core Features & Use Cases

  • Dependency Parsing: extract dependencies from shell scripts and Python modules
  • Graph Building: construct a dependency graph to visualize relationships
  • Cycle Detection: identify circular imports or dependency loops
  • Layer Validation: enforce layering rules so higher layers do not improperly depend on lower ones
  • Coupling Analysis: surface highly-coupled modules for refactoring

Quick Start

Run the Dependency Analyzer against your codebase to generate a dependency report and highlight architecture issues.

Frequently Asked Questions about dependency-analyzer

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

FAQPage Schema
How do I detect circular dependencies in Python and shell script repositories?

Detect circular dependencies by scanning shell and Python sources to build a dependency graph, identifying import loops and dependency cycles for remediation. The analyzer outputs a structured report highlighting these architectural issues.

What is architectural layer validation and how does it surface coupling issues?

Architectural layer validation enforces layering rules to prevent higher layers from improperly depending on lower ones. It analyzes the dependency graph to surface highly-coupled modules, cycles, and layer violations for targeted refactoring.

Can I extract and visualize dependencies from both shell scripts and Python modules?

Yes, dependency extraction parses both shell scripts and Python modules to construct a dependency graph. This graph visualizes module relationships, detects cycles, and validates architectural layer constraints across the codebase.

What is the best way to analyze codebase architecture for dependency violations?

The best way to analyze architecture is running a dependency analyzer that scans sources, builds a dependency graph, and validates layer constraints. It generates a structured report summarizing dependencies, cycles, and suggested fixes.

Does dependency analysis work with repositories using lib and scripts-style code structures?

Yes, dependency analysis applies directly to repositories with lib and scripts-style code structures. It scans these sources to build a dependency graph, surfacing cycles, couplings, and layer violations specific to that architecture.