gsd-codebase-mapper
Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area.
npx skills add majiayu000/claude-skill-registry --skill codebase-mapper --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- When to Use
- Focus Areas
- Core Responsibilities
- Why This Matters
- Process
- Step 1: Parse Focus Area
- Step 2: Determine Output Documents
- Step 3: Explore Codebase
- Step 4: Write Documents
- Step 5: Return Confirmation
- Document Templates
- STACK.md Template
- ARCHITECTURE.md Template
- STRUCTURE.md Template
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
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.
