/claude-impl-tools:depsfrom claude-impl-tools
Visualizes project dependency graphs and detects circular dependencies across domains, modules, and files. Use before refactoring or architecture reviews.
Ships in claude-impl-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Visualize dependency relationships across the project, detect circular dependencies, and analyze coupling between domains.
/deps — Analyze all domain dependencies/deps <domain> — Dependencies for a specific domain/deps --cycles — Detect circular dependencies only/deps <file> --tree — Dependency tree for a file/deps --matrix — Cross-domain dependency matrixReceive /deps [target] [options]
|
v
[1] Scope Resolution
|
v
[2] Domain Discovery
|
v
[3] Import/Require Parsing (Dependency Extraction)
|
v
[4] Graph Construction
|
v
[5] Cycle Detection
|
v
[6] Cross-Domain Coupling Analysis
|
v
[7] Output results
| Input | Scope |
|---|---|
| (none) | All project domains |
| Domain name | That domain's internal + external dependencies |
File + --tree | File's dependency tree |
Domain identification criteria (in priority order):
domains definition in .claude/project-team.yamldomains/<domain-name>/ directorysrc/<domain-name>/ directoryLayers vs. Domains:
api/, services/, models/, utils/order/, member/, product/, payment/| Language | Pattern |
|---|---|
| Python | from x.y import z, import x.y |
| JS/TS | import ... from '...', require('...') |
| Go | import "..." |
# Python
grep -rn "^from \|^import " --include="*.py" <target-path>
# JS/TS
grep -rn "import.*from\|require(" --include="*.ts" --include="*.js" <target-path>
Node: Domain or module
Edge: Dependency relationship (directed)
- from: the depending side
- to: the depended-on side
- weight: number of imports
| Level | Description | Severity |
|---|---|---|
| Domain level | A -> B -> A | CRITICAL |
| Module level | A -> B -> C -> A | HIGH |
| File level | A <-> B | MEDIUM |
| Metric | Description | Calculation |
|---|---|---|
| Ca (Afferent) | Incoming dependency count | Number of external domains that depend on this domain |
| Ce (Efferent) | Outgoing dependency count | Number of external domains this domain depends on |
| I (Instability) | Instability index | Ce / (Ca + Ce) |
| Grade | Cross-dependencies | Assessment |
|---|---|---|
| Loose | 0–2 | Healthy |
| Moderate | 3–5 | Manageable |
| Tight | 6–10 | Consider refactoring |
| Tangled | 11+ | Refactoring required |
See references/output-formats.md for detailed output format.
Analysis results are saved to .claude/architecture/dependencies/:
domain-graph.mmd — Mermaid diagrammodule-graph.json — Module-level dependenciesapi-graph.json — API call relationships| Aspect | /impact | /deps |
|---|---|---|
| Analysis unit | Single file | Domain / full project |
| Primary output | Impact report | Mermaid diagram |
| Core function | Change impact scope | Circular deps, coupling |
| Purpose | Pre-change analysis | Architecture review |
| Skill | When to Link | Purpose |
|---|---|---|
/impact <file> | When circular dependency is found | Check file-level impact |
/changelog <domain> | When dependency changes occur | Recent change history |
/architecture | After full analysis | Update architecture documents |
references/output-formats.md — Output format detailsreferences/examples.md — Usage examplesWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub insightflo/claude-impl-tools --plugin claude-impl-tools28 skills in this plugin
/agileAgile Sprint Master for regular user check-ins and sprint management. Use this for /agile, /sprint, starting a sprint, checkpoint requests, or any time you are running structured iterative development. Triggers on "start sprint", "checkpoint", "sprint status", "run task", or whenever you need to manage layered build progress across Skeleton → Muscles → Skin./architectureQuery and visualize the full project architecture. Use this during project onboarding, before code reviews, before adding new domains, or whenever you need to understand the tech stack. Responds to questions like "show me the overall structure", "list all APIs", "what's the tech stack", or "explain the domain structure". Triggers on /architecture./Other plugins' skills for the same job