map-codebase

Detect tech stack and map features to DB access patterns in code-map.md.

16|3|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/YehudaFrankel/clankbrain --skill map-codebase-yehudafrankel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: map-codebase
Source: https://github.com/YehudaFrankel/clankbrain/tree/main/.claude/skills/map-codebase
Command: npx skills add https://github.com/YehudaFrankel/clankbrain --skill map-codebase-yehudafrankel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes the codebase to generate a navigable code-map that traces each major feature from entry point to routing, logic, and DB access, enabling developers to understand structure without exhaustive grep.

Core Features & Use Cases

  • Feature discovery: Identify major features/flows and produce a code-map.md that traces each feature from entry point → routing → logic → DB.
  • Architecture awareness: Detect the tech stack, entry points, and key logic files across common stacks to reveal how software components connect.
  • On-boarding & refactors: Quickly bootstrap navigation for new developers after large structural changes or migrations, reducing ramp time.

Quick Start

Run the code map workflow to generate the initial code-map from your repository.

Frequently Asked Questions about map-codebase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a code map for an unfamiliar codebase?

Generate a code map by running the mapping workflow to detect the tech stack, identify entry points, locate major logic files, and trace DB access patterns, producing a structured code-map.md file.

What is the best way to trace features from entry points to database access?

Trace features from entry points to database access by mapping and documenting the codebase, locating routing and logic files to reveal how software components connect to DB interactions per feature.

Can I document codebase architecture to reduce onboarding ramp time for new developers?

Yes, you can document codebase architecture to reduce onboarding ramp time by generating a navigable code-map that bootstraps navigation for new developers after structural changes or migrations.

Does the code map generation work across different tech stacks?

Yes, code map generation works across common tech stacks to detect the stack, identify entry points, and locate key logic files, enabling developers to understand structure without exhaustive grep.

How do I locate major logic files without exhaustive grep?

Locate major logic files without exhaustive grep by applying the codebase analysis workflow to detect the tech stack and identify entry points, mapping them to DB access patterns in a structured code-map.md.