Skip to main content
command CX Codex

dependency-mapper · qdhenry — Claude Code command: dependency map

The dependency-mapper command connects code dependencies, Linear tasks, and Git history into project maps. Use it to spot cycles, blockers, and task order.

no license ★ 1,357 updated 2026-03-01

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/dependency-mapper.md
Open on GitHub

What dependency-mapper does

dependency-mapper examines JavaScript, TypeScript, and Python imports, file relationships, Git history, and Linear task links. It can render the result as a tree, Mermaid diagram, or dependency matrix. The command also detects cycles and derives a task sequence with a topological sort.

For Linear work, it reads blocking links, parent and child tasks, referenced task IDs, and related tasks from the same project. File analysis separates internal modules, external npm packages, and connected Linear tasks. If Linear MCP is unavailable, the command falls back to code analysis.

Install it as .claude/commands/dependency-mapper.md with no leading space in the path. After that, ask Claude Code to inspect a module, a task, or the project dependency graph.

What it helps with

  • find circular dependencies in a codebase
  • connect project files to Linear tasks
  • identify blockers between tasks
  • calculate a task execution order
  • render relationships as a tree or Mermaid diagram

Example prompts for the agent

  • Show the dependency map for task LIN-123.
  • Map dependencies for the src/auth module.
  • Check the codebase for circular dependencies and suggest a task order.

How to install dependency-mapper

Manually: put the files in place

.claude/commands/dependency-mapper.md

Call it with /dependency-mapper. For all projects use ~/.claude/commands/

Questions about dependency-mapper

How do I install dependency-mapper in Claude Code?

Save the command file at .claude/commands/dependency-mapper.md with no leading space in the path.

What does dependency-mapper do?

It analyzes code links, Linear tasks, and Git history, then produces dependency maps. It can also detect cycles and calculate task order.

Can it work without Linear MCP?

Yes. When Linear MCP is unavailable, it runs code-only analysis.

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

dependency-mapper by other authors comes first.

dependency-mapper davila7 dependency-mapper builds a dependency graph for code and tasks, detects cycles and calculates the critical path. Useful before sprint planning or a refactor. CX Codex +1 274installs team-knowledge-mapper davila7 team-knowledge-mapper — a Claude Code command that maps team expertise and spots skill gaps. It reads git history and the codebase, then returns learning recommendations. CX Codex +1 235installs openai-symphony-autonomous-agents reason-machines openai-symphony-autonomous-agents guides the setup of OpenAI Symphony to run autonomous coding agents in isolated branches based on project tracker tickets. CX Codex +1 1,400installs cyrus-setup-repository cyrusagents cyrus-setup-repository registers Git repositories in Cyrus so the agent knows which codebases to work with. Handy on first setup or when a new project joins the queue. CX Codex +1 1,100installs implement-task-linear PinguApps implement-task-linear — a skill for Claude Code bundles multiple Linear issues into a single branch and pull request. It coordinates ticket states, incremental commits, and pre-PR reviews before merging. CX Codex +1 346installs complete-work PinguApps The complete-work Claude Code skill takes supplied work through implementation, PR checks, and an authorized merge. It uses an isolated branch or worktree, with a manual handoff keeping the merge for a person. CX Codex +1 317installs ticket ChrisWiles Handles the full ticket workflow: fetch task details from JIRA or Linear, explore related code, implement changes, and create a linked PR. Reduces manual sync between issue tracker and repository. CX Codex +1 ★ 6,091repo stars

From the same set112

The whole set →
knowledge-mapper knowledge-mapper turns a subject into a map of concepts: nodes, typed links, clusters and routes between ideas. Handy when a topic is too big to keep in your head at once. CX Codex ★ 1,357repo stars full-stack-developer full-stack-developer — a subagent for full-cycle web engineering that crafts interfaces, builds server logic, and connects databases. Useful when delivering end-to-end features across the entire stack. CX Codex ★ 1,357repo stars handoff-continue handoff-continue writes a handoff document about the current work and starts a fresh Claude session in a Zellij pane with that document as its input. CX Codex +1 ★ 1,357repo stars decision-navigator decision-navigator structures complex choices, scores trade-offs, and quantifies risk factors. Useful when you need to assess the reversibility and consequences of technical plans. CX Codex ★ 1,357repo stars test-engineer test-engineer writes unit, integration and end-to-end tests for the code you just finished, then reports coverage by line, branch and function. Useful when a feature works but nothing guards it. CX Codex ★ 1,357repo stars audit-layer-boundaries audit-layer-boundaries analyzes architectural layer boundaries in Rust projects. It catches mixed responsibilities, misplaced database logic, and boundary leaks. CX Codex +1 ★ 1,357repo stars skill-generator-agent skill-generator-agent turns a skill spec into files on disk: SKILL.md, helper scripts, reference docs. Then it checks frontmatter and layout. CX Codex ★ 1,357repo stars milestone-tracker milestone-tracker aggregates milestone data from Linear, GitHub, and git history to calculate burn-down velocity and spot schedule risks. CX Codex +1 ★ 1,357repo stars

Project sponsors

Companies that keep this analytics open