From repo-map
Use when user asks to "create repo map", "generate repo map", "update repo map", "repo map status", or "map symbols/imports". Builds and validates an AST-based repo map using ast-grep.
How this skill is triggered — by the user, by Claude, or both
Slash command
/repo-map:repo-mappingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build and maintain a cached AST-based map of repository symbols and imports using ast-grep.
Build and maintain a cached AST-based map of repository symbols and imports using ast-grep.
/repo-map init)/repo-map update)/repo-map status)Repo map is stored in the platform state directory:
.claude/repo-map.json.opencode/repo-map.json.codex/repo-map.jsonMinimal structure:
{
"version": "1.0.0",
"generated": "2026-01-25T12:00:00Z",
"updated": "2026-01-25T12:05:00Z",
"git": { "commit": "abc123", "branch": "main" },
"project": { "languages": ["typescript", "python"] },
"stats": { "totalFiles": 142, "totalSymbols": 847 },
"files": {
"src/auth/login.ts": {
"hash": "deadbeef1234abcd",
"language": "typescript",
"symbols": { "exports": [], "functions": [], "classes": [] },
"imports": [ { "source": "./utils", "kind": "named" } ]
}
}
}
map-validator after init/updateIf a user asks for drift detection, documentation alignment, or repo analysis and repo-map is missing:
Repo map not found. For better analysis, run:
/repo-map init
Keep outputs concise:
npx claudepluginhub works-yesed-scriptedit/awesome-slash --plugin repo-mapOrchestrates parallel subagents to map any codebase, creating docs/CODEBASE_MAP.md with architecture, file roles, dependencies, and navigation. Updates incrementally via git or scans.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.