arch-lens-module-dependency
Create Module Dependency architecture diagram showing package coupling, layering, and fan-in/fan-out. Structural lens answering "How are modules coupled?
npx skills add majiayu000/claude-skill-registry --skill arch-lens-module-dependency-trecek-useful-claude-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Module Dependency Architecture Lens **Cognitive Mode:** Structural **Primary Question:** "How are modules coupled?" **Focus:** Package Dependencies, Layering, Coupling Patterns, Fan-In/Fan-Out ## When to Use - Need to understand module coupling and dependencies - Analyzing architectural layering violations - Identifying high fan-in modules (stability concerns) - User invokes `/arch-lens-module-dependency` or `/make-arch-diag dependency` ## Critical Constraints **NEVER:** - Modify any source code files - Include runtime behavior details - Show external system integrations in detail **ALWAYS:** - Focus on IMPORT relationships between modules - Identify layering and valid dependency directions - Flag circular dependencies and violations - Calculate fan-in for key modules - BEFORE creating any diagram, LOAD the `/mermaid` skill using the Skill tool - this is MANDATORY --- ## Analysis Workflow ### Step 1: Launch Parallel Exploration Subagents Spawn Explore subagents to investigate: **Layer Identification** - Find top-level directories and their purposes - Identify the intended layering structure - Look for: build configs, project structure, architectural boundaries **Import Analysis b
- When to Use
- Critical Constraints
- Analysis Workflow
- Step 1: Launch Parallel Exploration Subagents
- Step 2: Build Dependency Matrix
- Step 3: Calculate Metrics
- Step 4: Create the Diagram
- Step 5: Write Output
- Output Template
- Pre-Diagram Checklist
- Related Skills
What does the arch-lens-module-dependency skill do?
Create Module Dependency architecture diagram showing package coupling, layering, and fan-in/fan-out. Structural lens answering "How are modules coupled?
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill arch-lens-module-dependency-trecek-useful-claude-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
