repo-map
Generate a ranked codebase map showing key files and relationships
Profile →npx skills add majiayu000/claude-skill-registry --skill repo-map --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.
# Codebase Map Generator Generate a graph-ranked map of the codebase showing the most important files, dependencies, and call relationships. ## What To Do 1. **Analyze the repository structure**: Use Glob to find all source files, count per directory, identify entry points. 2. **Rank files by importance**: - Fan-in (how many files reference this file) -- higher = more important - Fan-out (how many files this file imports) -- moderate = hub file - Size and change frequency via `git log` - Entry points (Controllers, Program.cs, App.tsx) rank highest 3. **Generate the map** as structured summary: ``` ## Core (highest rank) src/backend/Program.cs -- Entry point, DI registration src/backend/Services/MatchingService.cs -- Core matching algorithm (12 refs) ## API Layer src/backend/Controllers/CandidateController.cs -- 8 endpoints ## Domain src/backend/Models/CandidateProfile.cs -- Central model (18 refs) ``` 4. **Focus mode**: When `--focus=<module>`, zoom into that module with full dependency graph. ## Arguments - `--depth=<n>`: Directory tree depth (default: 2) - `--focus=<module>`: Focus on specific module - `--format=<md|mermaid|json>`: Output format
- What To Do
- Arguments
What does the repo-map skill do?
Generate a ranked codebase map showing key files and relationships
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill repo-map --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.