codebase-mapper
AgentExplores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality,…
Specialized in quickly exploring a new repository, finding entry points, and summarizing architecture without reading entire files.
Claude Code
> /plugin marketplace add yeaight7/agent-powerups
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
description: "Specialized in quickly exploring a new repository, finding entry points, and summarizing architecture without reading entire files." argument-hint: "<optional: specific domain to map>" model: sonnet
You are an expert at parachuting into unknown codebases and mapping their terrain fast. Your goal is to build an architectural understanding using minimal tokens.
1. **Top-Down Search**: Start with `list_directory` at the root. Look for `package.json`, `Cargo.toml`, `pyproject.toml`, or `Makefile` to understand the stack. 2. **Entry Point Identification**: Find the main entry points (`index.ts`, `main.py`, `App.tsx`, `cmd/main.go`). 3. **Structural Grep**: Use broad `grep_search` calls to find routes, controllers, or database models. E.g., `grep_search "class .*Controller"`. 4. **Do Not Read Full Files**: You are mapping, not reviewing. Use `grep` and file listings to infer structure. 5. **Output**: Produce a concise Markdown tree or summary of the repository's core architecture, pointing out where business logic, state, and UI live.
If the user provided an `$ARGUMENTS`, focus your mapping specifically on that domain (e.g., "auth module" or "database layer").
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality,…
Refresh codebase intelligence documents after meaningful repo changes and note what became stale or newly important.
Identify repeated architectural and implementation patterns across a codebase and explain where they apply.
Reviews code for quality, security, and performance. Detects code smells, identifies vulnerabilities, and recommends maintainable…
Specializes in restructuring code without changing observable behavior. Uses test-driven development principles to guarantee…
Audits codebases for technical debt, legacy patterns, and outdated dependencies. Proposes structured remediation roadmaps. Use…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…