gsd-map-codebase

Analyze a codebase to generate seven planning documents in .planning/codebase.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/dobrinz123/claude-skills-share --skill gsd-map-codebase-dobrinz123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-map-codebase
Source: https://github.com/dobrinz123/claude-skills-share/tree/main/skills/gsd-map-codebase
Command: npx skills add https://github.com/dobrinz123/claude-skills-share --skill gsd-map-codebase-dobrinz123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze an existing codebase to produce a standardized planning bundle that guides architecture decisions, onboarding, and future work.

Core Features & Use Cases

  • Parallel mapper orchestration across codebase areas to generate seven planning documents: STACK.md, INTEGRATIONS.md, ARCHITECTURE.md, STRUCTURE.md, CONVENTIONS.md, TESTING.md, and CONCERNS.md.
  • Brownfield readiness with consistent outputs to assist onboarding and refactoring planning.
  • Deterministic, version-controllable .planning/codebase directory structure for downstream workflows.

Quick Start

Run the map-codebase workflow to create the .planning/codebase directory and generate the seven documentation files.

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 architecture documentation for an unfamiliar codebase?

You can generate architecture documentation for an unfamiliar codebase by running a parallel mapping workflow that analyzes the source and produces seven structured planning documents in a .planning/codebase directory. These files cover stack, integrations, architecture, and conventions to guide onboarding.

What planning documents should I create before a major codebase refactor?

Before a major codebase refactor, you should create seven standardized planning documents: STACK.md, INTEGRATIONS.md, ARCHITECTURE.md, STRUCTURE.md, CONVENTIONS.md, TESTING.md, and CONCERNS.md. This bundle ensures deterministic, version-controllable outputs to guide your refactoring decisions.

How do parallel mapper agents analyze an existing codebase?

Parallel mapper agents analyze an existing codebase by coordinating orchestration across different codebase areas simultaneously. This parallel processing generates a comprehensive planning bundle that captures your project's architecture, structure, and testing conventions efficiently.

Can I use automated codebase mapping for brownfield project onboarding?

Yes, you can use automated codebase mapping for brownfield project onboarding. The workflow provides brownfield readiness by generating consistent, deterministic planning outputs that help new team members understand the existing architecture and integrations quickly.

What is the best way to maintain version-controllable codebase documentation?

The best way to maintain version-controllable codebase documentation is to generate a standardized .planning/codebase directory structure. This deterministic output supports ongoing updates and ensures your planning documents remain synchronized with your codebase during future development.

Does codebase mapping work without external dependencies or components?

Yes, codebase mapping works without external dependencies or components. The workflow operates independently to analyze your source code and produce the seven structured planning documents required for downstream workflows and architecture decisions.