wasabeef/claude-code-cookbook/analyze-dependencies
Claude Code and agent skill by wasabeef/claude-code-cookbook
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Analyze project dependencies and evaluate architectural health. Trigger with "analyze dependencies", "detect circular dependencies", "architecture issues?", "check module coupling", "find layer violations". Generates dependency matrix, fan-in/fan-out analysis, and prioritized improvement suggestions.
Install
npx vskill@latest install wasabeef/claude-code-cookbook/analyze-dependenciesSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Analyze project dependencies and evaluate architectural health
Analyzes your project's dependencies and checks architecture health.
Usage
Options
--visual: Visually display dependencies--circular: Detect only circular dependencies--depth <number>: Specify analysis depth (default: 3)--focus <path>: Focus on specific module/directory
Basic Examples
What Gets Analyzed
1. Dependency Matrix
Shows how modules connect to each other:
- Direct dependencies
- Indirect dependencies
- Dependency depth
- Fan-in/fan-out
2. Architecture Violations
- Layer violations (when lower layers depend on upper ones)
- Circular dependencies
- Excessive coupling (too many connections)
- Orphaned modules
3. Clean Architecture Check
- Is the domain layer independent?
- Is infrastructure properly separated?
- Do use case dependencies flow correctly?
- Are interfaces being used properly?
Output Example
Advanced Usage Examples
Configuration File Example (.dependency-analysis.yml)
Tools We Use
madge: Shows JavaScript/TypeScript dependencies visuallydep-cruiser: Checks dependency rulesnx: Manages monorepo dependenciesplato: Analyzes complexity and dependencies together
Collaboration with Claude
Notes
- Run from: Project root directory
- Be patient: Large projects take time to analyze
- Act fast: Fix circular dependencies as soon as you find them
Best Practices
- Check weekly: Keep an eye on dependency health
- Write rules down: Put architecture rules in config files
- Small steps: Fix things gradually, not all at once
- Track trends: Watch how complexity changes over time
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/en/skills/analyze-dependencies/SKILL.md
Popularity
- Repository stars
- 1,132
- Repository forks
- 114
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
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
[](https://verified-skill.com/skills/wasabeef/claude-code-cookbook/analyze-dependencies)