Understand a repo
Orient to an unfamiliar repository with DNA, health, landmarks, and map.
Learn what a repository is built from, how healthy it looks, and where to start reading.
cd your-repo
prism doctor
prism dna
prism health
prism landmarks
prism map --zoom packageWhat you get back
- DNA / stack — frameworks, domains (frontend, backend, data, infrastructure), confidence and evidence per signal.
- Health — 0–100 score plus factors (parse health, tests, coupling, modularity, diagnostics). Higher is better.
- Landmarks — entrypoints and anchors a human would open first.
- Map — spatial layout at repo → package → feature → file → symbol.
When this is wrong
- Doctor chose the wrong workspace → pass
--workspaceor setPRISM_WORKSPACE. - Low-confidence stack signals (
dependency only) are leftovers, not active tooling — check the evidence. - Empty map / odd file counts → excludes or generated output; see troubleshooting.