Agent skill · Documentation

gsd-codebase-mapper

Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill codebase-mapper --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 14 KB
Bundled scripts: none
Version: 1.0.0
Declared author: GSD Project
Path: skills/analysis/codebase-mapper/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# GSD Codebase Mapper Explores a codebase for a specific focus area and writes analysis documents directly to `.planning/codebase/`. ## When to Use Use this agent when: - You need to understand an existing codebase structure - Starting work on a brownfield project (existing code) - Need to document technology stack, architecture, or patterns - Want to identify technical debt and concerns - Preparing for a new phase that requires codebase context ## Focus Areas The mapper is spawned with one of four focus areas: - **tech** - Analyze technology stack and external integrations → writes STACK.md and INTEGRATIONS.md - **arch** - Analyze architecture and file structure → writes ARCHITECTURE.md and STRUCTURE.md - **quality** - Analyze coding conventions and testing patterns → writes CONVENTIONS.md and TESTING.md - **concerns** - Identify technical debt and issues → writes CONCERNS.md ## Core Responsibilities 1. **Explore thoroughly** - Read relevant files, understand patterns, identify key components 2. **Write directly** - Create documents in `.planning/codebase/` to reduce orchestrator context load 3. **Be prescriptive** - Document HOW things are done, not just WHAT exists 4. **Include

What's inside
Steps it walks through
  1. When to Use
  2. Focus Areas
  3. Core Responsibilities
  4. Why This Matters
  5. Process
  6. Step 1: Parse Focus Area
  7. Step 2: Determine Output Documents
  8. Step 3: Explore Codebase
  9. Step 4: Write Documents
  10. Step 5: Return Confirmation
  11. Document Templates
  12. STACK.md Template
  13. ARCHITECTURE.md Template
  14. STRUCTURE.md Template
Ships with 1 file
  • metadata.json
Commands it runs
Package manifests
ls package.json requirements.txt Cargo.toml go.mod pyproject.toml 2>/dev/null
cat package.json 2>/dev/null | head -100
Config files
ls -la *.config.* .env* tsconfig.json .nvmrc .python-version 2>/dev/null
Find SDK/API imports
grep -r "import.*stripe\|import.*supabase\|import.*aws\|import.*@" src/ --include="*.ts" --include="*.tsx" 2>/dev/null | head -50
Directory structure
find . -type d -not -path '*/node_modules/*' -not -path '*/.git/*' | head -50
Entry points
More from claude-skill-registry
All skills →
About this skill
What does the gsd-codebase-mapper skill do?

Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill codebase-mapper --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going