From codemap
This skill should be used when the user mentions "codebase map", "CODEBASE_MAP.md", "codemap", "dependency map", "file dependencies", "blast radius", "what imports this", "what does this file affect", "what depends on this", "impact of changing this file", "what will break", "find affected files", "side effects in codebase", or asks about navigating or understanding the structure of their codebase for making changes. It teaches Claude how to use the codebase map as a navigational aid during coding sessions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codemap:codemap-usageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The codebase map (`CODEBASE_MAP.md`) is a structural index of the project designed for LLM navigation during agentic coding. It is NOT documentation — every line answers: what is this, what does it touch, and why should you care when making changes.
The codebase map (CODEBASE_MAP.md) is a structural index of the project designed for LLM navigation during agentic coding. It is NOT documentation — every line answers: what is this, what does it touch, and why should you care when making changes.
**Dependencies:**
- <- `src/controllers/user.ts` (imports this) ← INBOUND: will break if you change this file's interface
- -> `internal:./auth/service` (uses: AuthService) ← OUTBOUND: this file depends on AuthService
- -> `external:express` (uses: Router) ← EXTERNAL: library dependency
Inbound dependencies (<-) tell you blast radius — how many files break if you change this file's exports.
Outbound dependencies (->) tell you what this file needs — if those change, this file may break.
Files with a Side Effects section have behavior that executes implicitly:
These are the #1 source of bugs during agentic coding. The LLM can't see behavior that triggers outside the direct call chain.
Files marked "Needs annotation" lack human context — treat them with extra caution.
/codemap:generate — Generate or regenerate the full codebase map/codemap:annotate — Add annotations to unannotated files interactively/codemap:status — Check map freshness, annotation coverage, file counts/codemap:generate run. Disposable.CODEBASE_MAP.annotations.yml. Preserved across regenerations. Removed files have annotations moved to orphaned section, never deleted.If the session-start hook reports the map is stale, prompt the user to regenerate before making changes. A stale map may have outdated dependency information that leads to missed blast radius.
npx claudepluginhub kaakati/codemap --plugin codemapGenerates or updates a feature-organized CODEMAP.md for any codebase, detecting frameworks and tracing end-to-end flows. Supports create, inventory, update, and section modes.
Produces evidence-cited maps of unfamiliar codebase areas with file:line references for every claim. Use before non-trivial changes, onboarding, or multi-module refactors.
Orchestrates parallel subagents to map any codebase, creating docs/CODEBASE_MAP.md with architecture, file roles, dependencies, and navigation. Updates incrementally via git or scans.