← ClaudeAtlas

surface_cataloguelisted

Read the host repo via the dr_* catalogue (files, languages, deps, env) BEFORE grepping or walking the tree. Query first, lazy-load the few files it points at. Use to orient in an unfamiliar repo fast.
jedbjorn/subfloor · ★ 14 · AI & Automation · score 76
Install: claude install-skill jedbjorn/subfloor
# surface_catalogue — read the repo from the map, not by grepping super-coder lives inside a host repo. The `dr_*` tables = a scan of that repo — query them first to orient, not the tree. They live in the **map db**, `.sc-state/map.db` — a separate file from your memory db (`.super-coder/shell_db.db`). Query it via `sc map-sql "…"`. NEVER map the repo yourself. The map stays fresh automatically (git hooks re-map on pull / branch-switch / rebase) and is owned by the **cartographer** shell. Empty / stale / wrong map -> flag the cartographer, don't re-map. | Table | Holds | |---|---| | `dr_repo` | the repo: name, root, remote, vcs, default_branch, file_count, mapped_at | | `dr_section` | the navigational index: `name`, `path_prefix`, `description` — "UI here / API here / docs here". Rendered in the boot `## CONNECTIONS` block; start here. | | `dr_filepath` | one row per file: `path`, `ext`, `lang`, `role` (code/doc/config/test/asset/env), `bytes`, `lines`, `desc` (cartographer one-liner, NULL until curated) | | `dr_dependency` | deps from the manifests: `manager` (npm/pip/poetry/go/cargo), `name`, `version`, `kind`, `source_file` | | `dr_env` | env-var names found in `.env.*` example files: `name`, `source_file` | | `dr_endpoint` | HTTP routes: `method`, `path`, `handler` (file:line), `framework`, `source_file` | | `dr_db_table` / `dr_db_column` | the app DB schema: tables/views + their columns (`type`, `pk`, `not_null`) | | `dr_route` / `dr_component` | UI routes (`path`, `k