dtsong

Map — Development skill for Claude Code

Development community

Map a route's component tree -- trace imports, detect boundaries, cache the result.

How to install Map

Installs to ~/.claude/skills/dtsong-my-claude-setup-map/SKILL.md

Terminal
mkdir -p ~/.claude/skills/dtsong-my-claude-setup-map && curl -fsSL https://raw.githubusercontent.com/dtsong/my-claude-setup/HEAD/commands/map.md -o ~/.claude/skills/dtsong-my-claude-setup-map/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Map does


name: map description: Map a route's component tree -- trace imports, detect boundaries, cache the result

/map

Map a Next.js route to its component tree. Traces imports from the route entry point, detects server/client boundaries, captures props and hooks, and caches the result for downstream skills.

Usage

/map /dashboard
/map /settings/billing
/map --depth 5 /dashboard
/map --fresh /dashboard

Options

  • --depth N -- Trace N levels deep (default: 3)
  • --fresh --

Alternatives in Development

  • Claude API — Build apps with the Claude API or Anthropic SDK 94.1k ★
  • Outcome — /outcome - Record the Result of an Application 36.6k ★
  • Fix Imports — Fix Broken Imports 2.8k ★

Full documentation available on GitHub

View Source Repository