gsd-map-codebase

Map and analyze a codebase to generate a CODEBASE-MAP.md architecture overview.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/optivent/gsd-kimi-cli --skill gsd-map-codebase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-map-codebase
Source: https://github.com/optivent/gsd-kimi-cli/tree/main/skills/gsd-map-codebase
Command: npx skills add https://github.com/optivent/gsd-kimi-cli --skill gsd-map-codebase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Map and analyze a project's codebase to produce a CODEBASE-MAP.md architecture overview.

Core Features & Use Cases

  • Map directory structure and detect common project layouts (e.g., src/, package.json, go.mod) to surface an architecture overview.
  • Identify entry points and dependencies, surfacing patterns to accelerate onboarding and refactoring.
  • Use Case: Onboard a new codebase, plan a rewrite, or document an existing project.

Quick Start

Run the codebase mapper against a repository to generate CODEBASE-MAP.md automatically.

Frequently Asked Questions about gsd-map-codebase

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

FAQPage Schema
How do I map a codebase architecture for project onboarding?

To map a codebase architecture for project onboarding, you can run an automated analysis tool against your repository to generate a structured CODEBASE-MAP.md file. This overview identifies directories, entry points, dependencies, and patterns to accelerate understanding.

What is the best way to document an existing codebase structure and dependencies?

Documenting an existing codebase structure is best achieved by generating a CODEBASE-MAP.md architecture overview. This file captures key files, dependencies, architecture patterns, and maintenance notes, providing a structured reference for future development.

Can I analyze a multi-language repository to find entry points and dependencies?

Yes, you can analyze a multi-language repository to find entry points and dependencies. The codebase mapping process detects common project layouts across different languages and surfaces architectural patterns for refactoring or onboarding.

How do I generate an architecture overview before refactoring a project?

Generating an architecture overview before refactoring involves mapping the codebase to produce a CODEBASE-MAP.md file. This document highlights key files, dependencies, and existing patterns, enabling you to plan rewrites with full structural context.

Does codebase mapping work without configuring external dependencies?

Codebase mapping works without configuring external dependencies, as it requires no prior setup or installed packages. You simply run the mapper against your repository directory to automatically generate the architecture documentation.