com um clique
when-mapping-dependencies-use-dependency-mapper
// Comprehensive dependency mapping, analysis, and visualization tool for software projects
// Comprehensive dependency mapping, analysis, and visualization tool for software projects
Creates specialized AI agents with optimized system prompts using the official 4-phase SOP methodology from Desktop .claude-flow, combined with evidence-based prompting techniques and Claude Agent SDK implementation. Use this skill when creating production-ready agents for specific domains, workflows, or tasks requiring consistent high-quality performance with deeply embedded domain knowledge.
Creates sophisticated workflow cascades coordinating multiple micro-skills with sequential pipelines, parallel execution, conditional branching, and Codex sandbox iteration. Enhanced with multi-model routing (Gemini/Codex), ruv-swarm coordination, memory persistence, and audit-pipeline patterns for production workflows.
Loop 3 of the Three-Loop Integrated Development System. CI/CD automation with intelligent failure recovery, root cause analysis, and comprehensive quality validation. Receives implementation from Loop 2, feeds failure patterns back to Loop 1. Achieves 100% test success through automated repair and theater validation. v2.0.0 with explicit agent SOPs.
Comprehensive PR review using multi-agent swarm with specialized reviewers for security, performance, style, tests, and documentation. Provides detailed feedback with auto-fix suggestions and merge readiness assessment.
Automated comprehensive code documentation generation with API docs, README files, inline comments, and architecture diagrams
Complete feature development lifecycle from research to deployment. Uses Gemini Search for best practices, architecture design, Codex prototyping, comprehensive testing, and documentation generation. Full 12-stage workflow.
| name | when-mapping-dependencies-use-dependency-mapper |
| version | 1.0.0 |
| description | Comprehensive dependency mapping, analysis, and visualization tool for software projects |
| author | Claude Code |
| category | analysis |
| complexity | MEDIUM |
| tags | ["dependencies","graph-analysis","security","visualization","mece"] |
| agents | ["code-analyzer","researcher","security-manager"] |
| components | ["subagent","slash-command","mcp-tool"] |
| dependencies | ["claude-flow@alpha","graphviz (optional)","npm/pip/cargo (auto-detected)"] |
When mapping dependencies, use dependency-mapper to extract, analyze, visualize, and audit dependency trees across multiple package managers (npm, pip, cargo, maven, go.mod).
/dep-map [path] [--format json|html|svg] [--security] [--circular] [--outdated]
Task("Dependency Mapper", "Analyze dependencies for ./project with security audit", "code-analyzer")
mcp__dependency-mapper__analyze({
project_path: "./project",
include_security: true,
detect_circular: true,
visualization_format: "html"
})
{
"project": "my-app",
"package_manager": "npm",
"total_dependencies": 847,
"direct_dependencies": 23,
"vulnerabilities": {
"critical": 0,
"high": 2,
"medium": 5,
"low": 12
},
"circular_dependencies": [],
"outdated_packages": 15,
"license_issues": 0,
"dependency_tree": {...}
}
Interactive D3.js graph with:
Static GraphViz-generated diagrams
/dep-map ./my-project
/dep-map ./my-project --security --format json
/dep-map ./my-project --circular --visualization svg
/dep-map ./my-project --security --circular --outdated --format html
// Step 1: Initialize swarm for complex analysis
mcp__claude-flow__swarm_init({ topology: "hierarchical", maxAgents: 4 })
// Step 2: Spawn agents via Claude Code Task tool
[Parallel Execution]:
Task("Dependency Extractor", "Extract all dependencies from package.json and package-lock.json", "code-analyzer")
Task("Security Auditor", "Run npm audit and cross-reference CVE databases", "security-manager")
Task("Graph Builder", "Construct dependency graph and detect circular deps", "code-analyzer")
Task("Visualization Generator", "Create interactive HTML dependency graph", "coder")
{
"max_depth": 10,
"include_dev_dependencies": true,
"security_scan_enabled": true,
"circular_detection_enabled": true,
"license_check_enabled": true,
"outdated_check_enabled": true,
"visualization_default_format": "html",
"cache_results": true,
"cache_ttl": 3600
}
Solution: Ensure lock files are present (package-lock.json, yarn.lock, etc.)
Solution: Use --max-depth 5 to limit tree depth
Solution: Use cached results or run offline mode