agentsclimarketplace

Dependency analysis patterns

Skill vibeeval/vibecosystem/skills/dependency-analysis-patterns

AI software team for Claude Code - 138 agents, 295 skills, 73 hooks. Self-learning, multi-agent swarm, autonomous skill evolution.

Install
npx -y skills add vibeeval/vibecosystem --skill dependency-analysis-patterns

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

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

SKILL.md

2.5 KB, as published. Nobody here has run it

Dependency Analysis Patterns

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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.