dotts-h/claude-skills/mapping-codebases

Claude Code and agent skill by dotts-h/claude-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generates and maintains docs/CODEBASE_MAP.md — module layout, entry points, the primary data-flow path, and architectural seams. Use this whenever onboarding to a repo, after a structural change (new package, moved boundary, renamed entry point), or when the user asks to map, diagram, explain, or document how the codebase is organized or "where things live" — even if they don't say the word "map".

Install

npx vskill@latest install dotts-h/claude-skills/mapping-codebases

SKILL.md

The same SKILL.md was published earlier as dotts-h/claude-skills/mapping-codebases.

Mapping codebases

A codebase map answers "where does X live and how does data move" in one screen, so a fresh agent (or teammate) can navigate without re-deriving the structure every time.

When to use

  • Onboarding a repo with no docs/CODEBASE_MAP.md.
  • After adding/moving a package or changing an entry point — the map drifts fast.
  • When asked where something lives, how a request flows, or to explain the layout.

Workflow

  1. Inventory the modules deterministically (don't eyeball a large tree):

``bash scripts/module-inventory.sh `` It lists packages with LOC and exported symbols (Go/TS/Python-aware) — the raw material for the module table.

  1. Trace the primary data path end to end and write it as an arrow chain. The

point is to capture the spine of the system, because that's what newcomers follow. (This repo: `cmd → web/Hub → copilot.Client → SDKClient → Events() → convo reducer → SSE fragments`.)

  1. Identify seams (the interfaces where layers meet and could be swapped/mocked)

and mark which packages are pure core vs thin edges — that distinction is the single most useful thing a map conveys about a clean architecture.

  1. Write docs/CODEBASE_MAP.md from references/map-template.md.
  2. Link out, don't duplicate: point to docs/ARCHITECTURE.md for depth and

docs/CONTRACTS.md for the exact signatures. The map is the index, not the encyclopedia.

Keep it honest

A map that lies is worse than none. When code and map disagree, fix the map — and if the drift reveals a structural problem (a layer importing something it shouldn't), hand that to improving-architecture, don't quietly absorb it.

This repo

Seed the module table from the existing docs/ARCHITECTURE.md#module-map (it already lists cmd, internal/web, convo, copilot, ctxforge, telemetry, config). The central seam is copilot.Client; the purity rule is "pure core, thin edges".

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dotts-h/claude-skills/mapping-codebases/badge)](https://verified-skill.com/skills/dotts-h/claude-skills/mapping-codebases)

Something wrong with this skill or its page? Tell us.