Dependency Analysis Patterns

SkillSecurity

Dependency graph visualization, circular dependency detection, CVE scanning, and license compliance

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Dependency Analysis Patterns skill

What this skill tells your AI

The instructions your AI receives, as published by vibeeval/vibecosystem in skills/dependency-analysis-patterns/SKILL.md and read by ahel’s review.

Dependency Graph Visualization

# npm
npx depcruise --output-type dot src/ | dot -T svg > deps.svg

# Python
pipdeptree --graph-output svg > deps.svg

# Go
go mod graph | modgraphviz | dot -T svg > deps.svg

Circular Dependency Detection

# JavaScript/TypeScript
npx madge --circular src/
npx dpdm --circular src/index.ts

# Python
pydeps --cluster --no-show src/

Fix Strategies

Circular TipÇözüm
A → B → AInterface/port ile inversion
A → B → C → AShared module extract et
Barrel file circularDirect import kullan

CVE Scanning

# npm
npm audit --json | jq '.vulnerabilities | to_entries[] | select(.value.severity == "critical")'

# pip
pip-audit --format json --desc

# Go
govulncheck ./...

# Multi-tool
trivy fs --severity CRITICAL,HIGH .

CVE Prioritization

CVSSSeverityAksiyonSLA
9.0+CriticalHotfix24h
7.0-8.9HighSprint fix1 hafta
4.0-6.9MediumBacklog1 ay
<4.0LowTrackFırsatçı

License Compliance

# npm
npx license-checker --production --json --failOn "GPL-3.0;AGPL-3.0"

# Python
pip-licenses --format=json --fail-on="GPL-3.0"
LicenseCommercial OKCopyleftRisk
MITEvetHayırDüşük
Apache-2.0EvetHayırDüşük
BSD-3EvetHayırDüşük
MPL-2.0EvetKısmiOrta
LGPLDikkatKısmiOrta
GPL-3.0DikkatEvetYüksek
AGPL-3.0DikkatEvetÇok yüksek

Update Impact Analysis

# npm - outdated
npm outdated --json

# Semver risk
# patch (0.0.x) → güvenli
# minor (0.x.0) → genelde güvenli
# major (x.0.0) → breaking change riski

# Test after update
npm update <pkg> && npm test

Checklist

  • npm audit / pip-audit temiz (critical/high yok)
  • License audit pass (GPL yok)
  • Circular dependency yok
  • Lockfile committed ve güncel
  • Unused dependency yok (depcheck)
  • Renovate/Dependabot aktif
  • Major version behind ≤1

Anti-Patterns

  • Audit warning'leri ignore etmek
  • Lockfile commit etmemek
  • Pinned version kullanmamak (^, ~)
  • License check'siz production dependency
  • Dependency update'siz 6+ ay

Signals

GitHub stars
530
Forks
44
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
dependency-analysis-patterns
Source
github.com/vibeeval/vibecosystem