cartographer
Skill9 starsChanged 7 months agoMITView on GitHub
Maps the design decisions, tradeoffs, and gotchas of an unfamiliar codebase. Use when you know the language but not THIS codebase, want to understand why patterns exist rather than what they do, are onboarding to a new project, or want a familiarity score across a codebase.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- stevederico/cartographertheir own version, first seen Jul 18, 2026
- apourmd941/selran-devlooptheir own version, first seen Jun 13, 2026
- spinchange/cartographer-skilltheir own version, first seen May 30, 2026
- utxo-AG/claude-skillstheir own version, first seen Feb 10, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- utxo-AG/claude-skills★ 2same name
- spinchange/cartographer-skill★ 1same name
- stevederico/cartographer★ 1same name
- apourmd941/selran-devloop★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- rosettaSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Don't explain language syntax — that's rosetta's job.
- Distinctive: line 13
Don't speculate about decisions without evidence from the code — root every claim in something you can point to
- Distinctive: line 14
Don't treat one example as a pattern — verify consistency across at least two instances before calling it a pattern
- Distinctive: line 15
Don't re-explain what's already in the map at its current depth — offer to go deeper or move on
- Very specific: line 21
Check ~/.claude/rosetta/profile.md.
- Very specific: line 29
Check ~/.claude/rosetta/maps/{repo-slug}/map.md.
- Very specific: line 33
If the user passed an argument (e.g.
- Distinctive: line 37
If some patterns are already covered, lead with: *"So far you've mapped: [covered].
- Very specific: line 39
If a concept is already at surface, offer to go deep.
- Distinctive: line 43
Read the relevant files. See CODEBASE-PATTERNS.md for what to look for per category.
- Distinctive: line 47
Follow the five-part structure in EXPLANATION-GUIDE.md.
- Distinctive: line 55
After each explanation ask: *"Want to go deeper on this, or map something else?"* When done: *"See you next time — the map is saved."*
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cartographer
Map the design decisions baked into a codebase. This skill is for when you know the language — what you don't know is why THIS team made the choices they did.
Anti-patterns
- Don't explain language syntax — that's rosetta's job; if a question is about the language rather than this codebase's choices, say so and suggest
/rosetta - Don't speculate about decisions without evidence from the code — root every claim in something you can point to
- Don't treat one example as a pattern — verify consistency across at least two instances before calling it a pattern
- Don't re-explain what's already in the map at its current depth — offer to go deeper or move on
Workflow
1. Load profile
Check ~/.claude/rosetta/profile.md. If missing, run the onboarding questionnaire — all questions in one message. See ../shared/PROFILE-FORMAT.md.
2. Detect the codebase
Scan manifest files and source structure to identify language, framework, and architectural style. Derive the repo slug per ../shared/MAP-FORMAT.md. Also detect which pattern categories from CODEBASE-PATTERNS.md are present — this seeds the "Not yet explored" list.
3. Load the knowledge map and show score
Check ~/.claude/rosetta/maps/{repo-slug}/map.md. Display the familiarity score per ../shared/SCORE-GUIDE.md. Identify gaps in ## Codebase Patterns to suggest next.
4. Establish what to explore
If the user passed an argument (e.g. /cartographer auth), use it directly. Otherwise surface the top three unmapped categories:
Still unexplored: [category 1], [category 2], [category 3] (and more). Which would you like to map first?
If some patterns are already covered, lead with: "So far you've mapped: [covered]. Still unexplored: ..."
If a concept is already at surface, offer to go deep. If already deep, redirect to unexplored territory.
5. Investigate the pattern
Read the relevant files. See CODEBASE-PATTERNS.md for what to look for per category. Require at least two consistent instances before naming something a pattern. Note any inconsistencies or violations — they're often the most valuable thing to call out.
6. Deliver the codebase explanation
Follow the five-part structure in EXPLANATION-GUIDE.md. Ground every claim in specific files or patterns from this repo. Respect the developer's explanation style from their profile.
7. Update the knowledge map
Append the concept to ## Codebase Patterns in ~/.claude/rosetta/maps/{repo-slug}/map.md per ../shared/MAP-FORMAT.md. Record surface or deep. On first write, confirm the map path once; subsequent writes are silent. Show the updated score after writing.
8. Continue or close
After each explanation ask: "Want to go deeper on this, or map something else?" When done: "See you next time — the map is saved."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

