agentleFS
mark-quinnmark-quinn/rosetta/skills/cartographer/SKILL.md

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

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. utxo-AG/claude-skills★ 2same name
    2. spinchange/cartographer-skill★ 1same name
    3. stevederico/cartographer★ 1same name
    4. 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.

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
  1. Very specific:

    Don't explain language syntax — that's rosetta's job.

    line 12
  2. Distinctive:

    Don't speculate about decisions without evidence from the code — root every claim in something you can point to

    line 13
  3. Distinctive:

    Don't treat one example as a pattern — verify consistency across at least two instances before calling it a pattern

    line 14
  4. Distinctive:

    Don't re-explain what's already in the map at its current depth — offer to go deeper or move on

    line 15
  5. Very specific:

    Check ~/.claude/rosetta/profile.md.

    line 21
  6. Very specific:

    Check ~/.claude/rosetta/maps/{repo-slug}/map.md.

    line 29
  7. Very specific:

    If the user passed an argument (e.g.

    line 33
  8. Distinctive:

    If some patterns are already covered, lead with: *"So far you've mapped: [covered].

    line 37
  9. Very specific:

    If a concept is already at surface, offer to go deep.

    line 39
  10. Distinctive:

    Read the relevant files. See CODEBASE-PATTERNS.md for what to look for per category.

    line 43
  11. Distinctive:

    Follow the five-part structure in EXPLANATION-GUIDE.md.

    line 47
  12. Distinctive:

    After each explanation ask: *"Want to go deeper on this, or map something else?"* When done: *"See you next time — the map is saved."*

    line 55

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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."

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.