gsd-map-codebase

Analyze codebases with parallel mapper agents to generate seven structured documentation files.

60|23|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/tomascortereal/claude-code-setup --skill gsd-map-codebase-tomascortereal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-map-codebase
Source: https://github.com/tomascortereal/claude-code-setup/tree/main/skills/gsd-map-codebase
Command: npx skills add https://github.com/tomascortereal/claude-code-setup --skill gsd-map-codebase-tomascortereal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the time-consuming manual process of understanding and documenting a codebase, especially for brownfield projects or when onboarding to unfamiliar codebases.

Core Features & Use Cases

  • Parallel Mapper Agents: Spawns four specialized agents to analyze technology, architecture, quality, and concerns simultaneously.
  • Structured Documentation: Generates seven distinct documents (STACK.md, INTEGRATIONS.md, ARCHITECTURE.md, STRUCTURE.md, CONVENTIONS.md, TESTING.md, CONCERNS.md) in the .planning/codebase/ directory.
  • Flexible Usage: Can be run before project initialization (brownfield), after (greenfield), or anytime to refresh the map after significant changes.

Quick Start

Run the gsd-map-codebase skill to analyze the entire codebase or a specific area (e.g., 'api') and generate structured documentation.

Frequently Asked Questions about gsd-map-codebase

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

FAQPage Schema
How do I generate structured documentation for an existing codebase?

To generate structured codebase documentation, you can automate the analysis process using parallel mapper agents that scan your project and output seven distinct documents covering technology stack, architecture, conventions, testing, and concerns into a designated directory.

What is the best way to map an unfamiliar codebase for onboarding?

The best way to map an unfamiliar codebase for onboarding is using parallel analysis agents to simultaneously evaluate technology, architecture, quality, and concerns, generating structured documentation files for quick reference.

Can I analyze a specific area of my project instead of the entire codebase?

Yes, you can analyze a specific area of your project instead of the entire codebase by specifying a target directory like 'api' when running the analysis, generating structured documentation scoped to that section.

When should I run codebase analysis on a greenfield project?

You should run codebase analysis on a greenfield project anytime as it evolves to refresh the structured documentation map after significant changes, ensuring your technology stack and architecture records stay current.

What documents are generated when mapping a codebase?

Mapping a codebase generates seven distinct documents: STACK.md, INTEGRATIONS.md, ARCHITECTURE.md, STRUCTURE.md, CONVENTIONS.md, TESTING.md, and CONCERNS.md, stored within the .planning/codebase/ directory.