/cartographer
Maps one requested domain or flow to verified symbols, invariants, and tests in .ramos/maps/<flow>.md (≤120 lines) using git, rg, and ast-grep, with optional freshness-checked GitNexus queries.
npx skills@latest add luci-efe/skills -s cartographer- OrientStage
- 04 Context continues · 01 ObservableMethod
- .ramos/
maps/ <flow>.mdProduced artifact / output
Use when
You need one domain or flow mapped to real code before planning or editing.
Support & adapters
- Instructions usable across harnesses
Decision tree
- 01→ fresh | stale | absent/
1. Check index & working-tree freshness
Bound to one <flow> slug (never a repo-wide DOMAIN_MAP.md). Run cartographer.mjs status; if status: "blocked", resolve the reported tool error first (never an empty baseline)
unindexed | blocked - 02→ Verified symbols + live_line
2A–2B. GitNexus fresh or stale-overlay branch
If fresh + clean, query GitNexus processes/
callers; if stale or dirty files intersect, run kind-aware ast-grep verification within ±3–20 lines and stamp "stale_overlay": true - 03→ mode: baseline (rg + ast-grep)
2C. Stateless baseline branch (rg + ast-grep)
When GitNexus is absent/
unindexed or a symbol is unverified, trace 1–3 hops with literal rg and structural ast-grep (--pattern); never auto-run gitnexus analyze - 04→ .ramos/
3. Write bounded flow slice
Write .ramos/
maps/ <flow>.md (strictly ≤120 lines) with Header, Entrypoints & Call Chain, State & Invariants, Tests, and ## Unknowns / not covered maps/ <flow>.md
Prerequisites & install recipes
- gitrequired · baseline & gitnexus branches
gitbrew install git - rgrequired · baseline branch
rgbrew install ripgrep - ast-greprequired · baseline branch
ast-grepbrew install ast-grep - gitnexusoptional · gitnexus branch
gitnexusnpm i -g gitnexusoptional · PolyForm Noncommercial license, check before commercial use
Completion criteria
- .ramos/
maps/ <flow>.md exists, is strictly ≤120 lines, and maps one bounded flow (never a repo-wide static DOMAIN_MAP.md). - Every symbol and invariant cites a verified path:line in the live checkout (live_line when stale_overlay is true).
- Includes an explicit ## Unknowns /
not covered section for unresolved dynamic edges, unindexed external services, or untested branches. - Missing required tools (git, rg, ast-grep) return status: "blocked" with install commands (exit 2); never auto-runs gitnexus analyze, setup, or clean.
Want something like this built for your company?
Book a callMessage me on LinkedInSee Agentic Engineering