/cook-en:analyze-dependencies runs instead · from cook-en
Analyzes project dependencies and evaluates architectural health, detecting circular dependencies, layer violations, and excessive coupling. Generates dependency matrix and prioritized improvement suggestions.
This skill never runs in Claude Code
It ships in cook-en at skills/, but /cook-en:analyze-dependencies (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Analyzes your project's dependencies and checks architecture health.
/dependency-analysis [options]
--visual: Visually display dependencies--circular: Detect only circular dependencies--depth <number>: Specify analysis depth (default: 3)--focus <path>: Focus on specific module/directory# Analyze dependencies for entire project
/dependency-analysis
# Detect circular dependencies
/dependency-analysis --circular
# Detailed analysis of specific module
/dependency-analysis --focus src/core --depth 5
Shows how modules connect to each other:
Dependency Analysis Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Metrics Overview
├─ Total modules: 42
├─ Average dependencies: 3.2
├─ Maximum dependency depth: 5
└─ Circular dependencies: 2 detected
⚠️ Architecture Violations
├─ [HIGH] src/domain/user.js → src/infra/database.js
│ └─ Domain layer directly depends on infrastructure layer
├─ [MED] src/api/auth.js ⟲ src/services/user.js
│ └─ Circular dependency detected
└─ [LOW] src/utils/helper.js → 12 modules
└─ Excessive fan-out
✅ Recommended Actions
1. Introduce UserRepository interface
2. Redesign authentication service responsibilities
3. Split helper functions by functionality
📈 Dependency Graph
[Visual dependency diagram displayed in ASCII art]
# Automatic CI/CD checks
/dependency-analysis --circular --fail-on-violation
# Check against architecture rules
/dependency-analysis --rules .architecture-rules.yml
# See how dependencies changed
/dependency-analysis --compare HEAD~10
rules:
- name: "Domain Independence"
source: "src/domain/**"
forbidden: ["src/infra/**", "src/api/**"]
- name: "API Layer Dependencies"
source: "src/api/**"
allowed: ["src/domain/**", "src/application/**"]
forbidden: ["src/infra/**"]
thresholds:
max_dependencies: 8
max_depth: 4
coupling_threshold: 0.7
ignore:
- "**/test/**"
- "**/mocks/**"
madge: Shows JavaScript/TypeScript dependencies visuallydep-cruiser: Checks dependency rulesnx: Manages monorepo dependenciesplato: Analyzes complexity and dependencies together# Check dependencies with package.json
cat package.json
/analyze-dependencies
"Find dependency issues in this project"
# Deep dive into a specific module
ls -la src/core/
/analyze-dependencies --focus src/core
"Check the core module's dependencies in detail"
# Compare design vs reality
cat docs/architecture.md
/analyze-dependencies --visual
"Does our implementation match the architecture docs?"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wasabeef/claude-code-cookbook --plugin cook-en39 skills in this plugin
/analyze-performancePerformance analysis based on Core Web VitalsPerformance analysis based on Core Web Vitals with UX scoring. Trigger with "analyze performance", "improve speed", "check Core Web Vitals", "page speed", "improve LCP", "identify performance issues"./check-factVerify information accuracy against codebase and docsVerify information accuracy against codebase and documentation. Trigger with "is this correct?", "fact check", "verify this", "is this accurate?"./check-promptEvaluate and improve AI prompt qualityEvaluate and improve AI prompt quality. Trigger with "check this prompt", "evaluate prompt quality", "improve this prompt"./commit-messageGenerate commit messages from staged changesGenerate commit messages from staged changes. Trigger with "suggest commit message", "generate commit message", "what should the commit say?", "write commit message"./context7Search technical documentation via Context7 MCPSearch technical documentation via Context7 MCP. Trigger with "check the docs", "look up documentation", "how to use this library?", "API reference"./design-patternsSuggest design patterns and evaluate SOLID principlesSuggest design patterns and evaluate SOLID principles. Trigger with "suggest design patterns", "which patterns apply?", "check SOLID principles", "detect anti-patterns", "evaluate code design".2 plugins ship this exact skill · first indexed Jul 16, 2026
Other plugins' skills for the same job