How this command is triggered — by the user, by Claude, or both
Slash command
/rforge:deps [package] [--format text|json]The summary Claude sees in its command listing — used to decide when to auto-load this command
# /rforge:deps - Dependency Graph Build and visualize dependency relationships in your R package ecosystem. ## What It Does Runs the in-plugin deps module to: - Parse DESCRIPTION files (`Imports`, `Depends`, `Suggests`, `LinkingTo`) - Build the internal dependency graph - Compute topological build order (leaves first) - Detect circular dependencies - Identify blocking packages ## Usage Invoke via Bash: The same logic is also importable as a Python API: ## Output Returns dependency analysis with: - **Graph Structure**: ASCII or Mermaid diagram - **Topological Order**: Safe update...
Build and visualize dependency relationships in your R package ecosystem.
Runs the in-plugin deps module to:
Imports, Depends, Suggests, LinkingTo)Invoke via Bash:
# Dependency graph for the ecosystem (terminal output)
python3 -m lib.deps --path . --format text
# Machine-readable JSON
python3 -m lib.deps --path . --format json
The same logic is also importable as a Python API:
from lib.discovery import detect_ecosystem
from lib.deps import build_graph
graph = build_graph(detect_ecosystem("."))
print(graph.layers)
Returns dependency analysis with:
🔗 DEPENDENCY GRAPH
Level 0 (Core):
└─ medfit
Level 1 (Implementations):
├─ probmed → medfit
├─ medsim → medfit
└─ sensitivity → medfit
Level 2 (Meta):
└─ mediationverse → medfit, probmed, medsim
Topological order: medfit → {probmed, medsim, sensitivity} → mediationverse
🔗 REVERSE DEPS: medfit
Direct dependents: 3
• probmed (suggests in 2 places)
• medsim (imports 1 function)
• sensitivity (depends)
Indirect dependents: 1
• mediationverse (via probmed, medsim)
Total ecosystem impact: 4 packages
/rforge:impact - See change impact/rforge:cascade - Plan coordinated updates/rforge:release - Plan CRAN submission ordernpx claudepluginhub data-wise/rforge --plugin rforge/depsAudits project dependencies for security vulnerabilities (default), lists outdated packages, or previews upgrades across detected package managers. Outputs vulnerability lists, update tables, and prioritized fix commands.
/depsDetects unused production/dev dependencies, pinned versions needing ^, and outdated packages in project directory. Confirms usage before recommending removals.
/depsScans project dependencies for vulnerabilities and outdated packages across Node.js, Python, PHP, Go, Ruby; generates markdown report with severity levels, affected packages, fixes, and upgrade commands.