Deep Dive · Dev Tooling

Floorplan: A Map of Your Codebase That You Can Actually Ask Questions

Scripts do the mechanical work — scanning files, imports, routes and requests across a dozen languages — and Claude or Codex does the part only a reader can: deciding what the parts of your app are, and saying so in plain English. Then you get a map you can click, ask, and plan against. Tested on a 40,000-line app written by hand and a 700,000-line one that was not.

Floorplan walkthrough — video thumbnail
Video: Hal Shin 16:18 19 November 2026
Floorplan codebase visualisation Claude Code health check

🚫 What we excluded

The video is sponsored by TestSprite and the description carries an affiliate link with a commission code. None of that appears here. The sponsor segment is worth one line of substance, though, because it describes a workflow rather than a product: a browser agent found that clicking delete on a guest page did not delete the guest, which is the kind of bug a static map cannot see. That observation stands on its own; the discount code does not.

🗺 What it is 0:31

PropertyValue
Repositoryhaydenschmitty/floorplan — "an interactive, plain-English map of your codebase, drawn by Claude or Codex"
Licence, languageMIT, plain Node with no dependencies
Age and tractionCreated 27 October 2026; about 5,000 stars and 400 forks three weeks later
Runs asA plugin for Claude Code and for Codex — it uses the plan you already pay for, with no API keys
RequirementNode 18 or later
OutputA floorplan/ folder with a self-contained HTML map you open in a browser
The framing worth stealing is the split of labour. Deterministic scripts find repos, parse code in a dozen languages, match web requests to endpoints and lay out the graph. The model does the one job scripts cannot: naming the parts and describing what each file is for, in language a person would use. Most "AI understands your codebase" tools blur that line and become unfalsifiable; this one draws it explicitly.

⚙️ The pipeline 0:53

StageWho does it
Scan files, imports, routes, requestsScripts
Name the parts and describe every fileClaude or Codex
Build the map, health, screens, recent workScripts
Open floorplan/index.htmlYour browser

The video shows the intermediate artefact: a large graph.json generated from the codebase, which the model turns into the architecture and the HTML. Nodes are not decorative — each one points at real files and real code paths, and the cards carry the dependencies between them.

His example of why that matters is concrete: open the worker phone app node and it shows the people-and-company management, and the dependencies — phone screen controls from React Native, the sign-in path, the safety server that all of those APIs talk to. That is the difference between a diagram somebody drew and a diagram that is indexed to the code.
Coverage, from the documentation rather than the video: TypeScript, JavaScript, Python, Go, Rust, Java, Kotlin, Scala, Swift, C#, PHP, plus Vue, Svelte, Astro and Shopify Liquid, with lighter support for others. Endpoint detection covers Express, Fastify, Koa, Hono, NestJS, Next.js, Firebase and Supabase functions, Flask, FastAPI, Django, Go's standard library plus Gin, Echo and chi, Actix, Axum, Spring, ASP.NET Core, Laravel, Serverless Framework, Bun routes and route tables. Screens include Next.js, React Router, Vue, SvelteKit, Remix, Nuxt, Astro, Expo, Angular, TanStack, Shopify and Inertia.

🧭 Start here 3:04

The first thing a new project gives you is not the map, it is a one-minute guided tour of the whole application: company view, shared server, safety record — and as each stop is described, the relevant nodes light up.

This is the answer to the black box problem the video opens with, and it works because the narration and the highlight are generated from the same graph. A written architecture doc tells you what exists; this tells you what exists and where it is on the picture, at whatever level you chose to enter.

📐 Blueprints 4:39

The same UI, pointed at something that does not exist yet. Give it a feature description and it draws the map the feature would need, with dashed cards to show it is a plan.

Blueprint showsWhy it is useful before writing code
Every part, file, endpoint and screen the feature needsYou see the surface area before it exists
"No new endpoints" — and other explicit negativesScope gets bounded by the drawing, not by a document
Dashed cardsNothing here is confused for existing code
A review of what the plan leaves openReplaces the health check, which only makes sense on real code
A ready request to build each partThe plan turns into work without hand-transcription
Reshape from the map: "also plan out refunds"The design session happens on the diagram
The neat part is the lifecycle: once the code exists, the blueprint becomes a map of the real thing. Planning and documentation are the same artefact at different stages, which is the only way these tools avoid producing a second, stale truth alongside the code.

🩺 Health check 5:29

A quality check on the codebase — not on the running app. On the hand-written project it flagged a key written into a layout file; on the vibe-coded one, oversized files and assorted cleanup.

What it looks for, per the documentationComment
Keys in the code, or sent to the browserThe classic one, and the one that hit a false positive in this video
Supabase tables anyone can read, open Firebase rulesGenuinely common in AI-built apps
Stripe webhooks anyone could fakeA specific, testable property
Endpoints with no sign-inMaps directly to the route graph
Oversized filesAn agent-optimisation signal, not a correctness bug — he says so himself
"Unfortunately, this one's a bit of a dud — the secret that it's talking about is actually just the analytics code, and that is kind of meant to be visible."
A false positive on a heuristic is the most useful thing in the section, because it tells you how to read the panel: it is a check, not an audit — those are the project's own words — so every finding needs a human decision. The valuable one in his run was the oversized files, which he suspected and had not fixed. And the interaction that makes it actionable is the fix button: one click produces a paste-ready prompt for Codex with the context already gathered.

Two details from the documentation worth knowing: the health check never stores or shows secret values, only where they are, and the fix prompts are ready to paste rather than auto-applied — the tool does not edit your code.

🟢 Recent work 7:01

He calls it "not revolutionary, a nice-to-have", then gives the justification that makes it essential: when ten agents are pushing features in parallel, a recap of what changed and why is the only thing keeping the picture coherent.

SignalWhat it replaces
Cards that changed light up greenReading a diff to find out what was touched
A note on how each change serves what you asked forA commit message written by the agent for itself
This is the feature that keeps the map from going stale in the way that matters. A static diagram decays silently; a board that marks what just changed makes the decay visible, and gives you a second reason to open the tool after the novelty wears off.

🖼 Screens and flows 7:22

The screens view is the one that finally shows the full request lifecycle for a single page: the authentication form with its three routes, the account-setup choices, the registration forms, the sign-in failure categories above them, the account request node holding the auth APIs — and then the worker sign-in request travelling to the company database connection and the Postgres database.

ViewAnswers
Screens"Everything behind this page" — frontend components, APIs, database
Flows"What happens when a user does this" — step by step
Search and right-click on any cardJump from a name to the code it refers to
The two small things he notices are the ones that decide whether a tool survives: the initial run generates two flows on its own guess about what you will want, and a flow you ask for in plain words is persisted in the Flows tab. Between those two, the tool is guessing your questions before you ask them — which is either helpful or noise, depending entirely on the codebase.

💬 Ask the map 8:30

The chat box reuses the subscription that generated the map — no second account, no API key. He asks how account deletion works and what happens afterwards, and the answer is right, down to the detail he wrote by hand a year earlier.

BehaviourDetail
Searches the pre-generated map firstFinds the delete-account nodes cheaply
Then reads the actual codeGrounds the answer in both cache and source
Answers with a flow diagramSettings page → user router → entity → cron job that deletes daily
The diagram is temporaryNavigate away and it is gone; ask in Flows to keep it
"Account deletion starts a 30-day grace period followed by anonymization, not removal of every record. And this is exactly correct, because that's exactly how I wrote it by hand about a year ago."
Double-checking against the source is the design decision that makes this trustworthy: a map-only answer would be a summary of a summary. Reading the map to know where to look, then reading the code to confirm, is the same loop a careful engineer runs — and it is why the answer can include a detail like a daily cron job rather than a plausible generalisation.
And the interaction cracks here too: the conversation produces a plan for a new feature, complete with a flowchart, and there is no button to hand it to a coding agent. Close the chat and there is no evident way back to it. The Health panel has a fix button; the chat does not — an inconsistency he flags as a rough edge, and it is the one most likely to waste your time.

📤 Export 10:26

The whole map exports as a single HTML file — layout engine and fonts included — which means you can send it to someone who does not have the repository, and it opens offline.

That is a better documentation artefact than most architecture wikis, and it is the natural consequence of the "scripts do the mechanical work, model does the naming" split: the output is a static file with no server dependency. It is also, quietly, the answer to onboarding — hand a new teammate one HTML file instead of a tour.

🔧 Install and privacy 14:51

PathSteps
Claude Code pluginTwo commands: add the marketplace, install the plugin
Codex pluginAdd a marketplace in the app, or two equivalent CLI commands
Agent-drivenPaste the repository URL into your agent and say "install it" — what he does
Privacy property, per the documentationStatus
Scan, map and local server run on your machine; server accepts only local connectionsYes
No dependencies or install scripts; map works offlineYes
Questions go to your own Claude Code CLI or Codex accountYes — and it can read your code but not change it
The floorplan/ folder is ignored by git; CLAUDE.local.md goes in a private ignore listNothing is committed
No analytics or trackingPer the project
"The map may ask once whether you'd like an email when Floorplan Cloud launches" is the only line in the privacy section that hints at a commercial future, and it is worth noticing now rather than later: the tool is free, local and MIT today, and the founder's roadmap includes a hosted product. That is a normal path — and the export-to-one-HTML-file design means the local artefact survives whatever happens to the cloud.

📈 The scale test 10:50

ProjectSizeGeneration time
Safir — written by hand~500 files, 40,000 lines6 minutes
RecordOS — vibe coded~2,700 source files, 700,000+ lines17 minutes

Seventeen times the code for under three times the time is a reasonable curve, but the rendering is where it hurts: he had to close other applications to draw the busy views, and admits that one view of RecordOS was so tangled he would probably never look at it twice.

His diagnosis of the ugly view is the honest one and it is not the tool's fault: the code was added incrementally without planning, so the map faithfully renders an app that has no structure. A tool that makes your architecture legible will also make it legible when it is a mess — and "this view is useless" is information about the codebase, not the diagram.

🚧 Limitations 12:40

Limitation he hitDetail and correction
Expo screens not detected in his appExpo is supported, but the detection expects a particular project layout; his did not match. A format assumption, not a missing feature
Health produces findings you should not act onHis analytics-key case; the panel is a check, not an audit
No handoff button from the chat planA plotted plan with no way to give it to an agent — the biggest missing interaction
Temporary diagrams are lostNavigate away from an on-the-fly flow and there is no way back; ask in Flows for persistence
The graph goes stale as the code movesPartly corrected: the documentation says updates re-read only what changed, and an open map reloads itself — so it is a refresh, not another 17 minutes
Busy views are slow to renderReal on a 700,000-line app with poor structure
The staleness correction matters more than it looks. His framing — "once in a while you'll have to regenerate this file" — makes the tool sound like a snapshot you take and then drift away from. Incremental refresh with a self-reloading map is a different product: it is meant to stay open beside your agent, and the map's own Mermaid pipeline diagram shows the loop back to scan. That is the difference between documentation and instrumentation.

✅ Claims checked

ClaimVerdictEvidence
Floorplan is open source, by Hayden SmithCorrecthaydenschmitty/floorplan, MIT, created 27 October 2026
It is getting tractionCorrectAbout 5,000 stars and 400 forks in three weeks
It turns your codebase into an interactive diagramCorrectSelf-contained HTML map under floorplan/
Claude or Codex, no extra API keysCorrect"Runs on the plan you already have, with no API keys"
A graph.json is generated and used as the foundationCorrect in substanceThe pipeline scans into a graph, the model names the parts, then the map is built
Each node references real code paths and dependenciesCorrectCards carry files, endpoints and their connections
Blueprints plan features you have not builtCorrectDashed cards, from a PRD or description, with open questions instead of a health check
Health finds keys in code and open endpointsCorrectDocumented: keys, Supabase/Firebase exposure, fakeable Stripe webhooks, unauthenticated endpoints
Health flagged a genuine secretFalse positiveIt was the analytics key, intentionally client-visible
The fix button produces a prompt for an agentCorrectA ready-to-paste fix request; the tool does not apply changes itself
Recent work shows what the AI changed and whyCorrectChanged cards light up with a note per card
Chat reuses your existing subscriptionCorrectGoes through your Claude Code CLI or Codex sign-in
The chat answer about account deletion was rightPlausible and demonstrated30-day grace then anonymization, matching code he wrote a year earlier
Export is one HTML fileCorrectLayout engine and fonts included, opens offline
Map generation took 6 and 17 minutesHis measurementsOn a 40,000-line and a 700,000-line project respectively
The graph must be regenerated wholesale as code changesImpreciseUpdates re-read only what changed and an open map reloads itself
Nothing is committed to gitCorrectThe folder ignores itself; CLAUDE.local.md is in the private ignore list

Basis note. Built from the full 16:18 video and checked against the repository README and documentation, which supplied the coverage lists, the privacy properties and the incremental-update behaviour that the video omits. The video is sponsored; the affiliate link, discount code and sponsor call to action are excluded and not linked here.

🔑 Key takeaways

  • Split the labour explicitly: scripts scan and lay out, the model names the parts. That division is what keeps the output honest.
  • A map indexed to real code beats a diagram somebody drew — every node points at files, endpoints and dependencies.
  • Start with a guided tour, not a wall of nodes: narrative plus highlighting is how someone learns an unfamiliar app.
  • Blueprints make planning and documentation the same artefact: dashed cards before the code exists, a real map afterwards.
  • Bounded scope can be drawn: "no new endpoints" on the blueprint is a design decision you can see.
  • A health check is a check, not an audit. Expect false positives; the value is the case you suspected and never fixed.
  • Never show secret values, only where they are — the right default for any tool that scans for leaks.
  • A fix button that produces a paste-ready prompt is the correct amount of automation: gather context, let a human decide.
  • Recent work is how the map stays trusted when ten agents are changing the codebase in parallel.
  • Answer from the map, verify against the source. Searching the graph and then reading the code is the loop that earns trust.
  • Export as one HTML file turns a map into documentation you can hand to someone without the repo.
  • Legibility cuts both ways: a faithful map of a badly structured app is a hard-to-read map, and that is information about the code.
  • Watch for the gap between a plan and a handoff: a plotted feature with no button to give it to an agent is unfinished work.
  • Staleness is fixable by incremental refresh — the difference between a snapshot you take and instrumentation you keep open.

🔗 Resources

  • The video — Hal Shin, 16:18 (sponsored by TestSprite)
  • haydenschmitty/floorplan — MIT, plugin for Claude Code and Codex
  • Live demo — a real map you can click without installing anything
  • The earlier deep dive on this site about agent-desktop, the other end of the same problem: instead of reading your app's structure, that tool operates its windows
Basis note. The sponsor segment and affiliate link were excluded. Repository figures were pulled at publication; the coverage and privacy lists come from the project's documentation rather than the video, and the incremental-update correction is this article's.

⏱ Timestamp index

0:00The black box problem
0:31Floorplan, and what the video covers
0:53Structured understanding of a codebase
1:15graph.json and what a graph is
1:43Every node is a real part of the codebase
1:57Safir, and the worker phone app node
2:34Dependencies between nodes
3:04The Start here tour
3:27Do the user flows work
4:39Blueprints: a proposal for change
5:00The map-pin feature plan
5:29Health is a codebase check
6:11A flagged secret that was a false positive
6:51Fix with Codex
7:01Recent work
7:22Screens: the auth form's routes
8:13Flows, pre-generated
8:30Chat reuses your subscription
8:41Asking how account deletion works
8:54Map first, then the real code
9:0230-day grace, then anonymization
9:37The generated flow diagram
10:06Temporary diagrams don't persist
10:26Export
10:50Codebase size comparison
11:1617 minutes versus 6
11:26Sluggish rendering
12:00When the view is useless, it may be the code
12:40Expo screens missing
13:19Health findings you should ignore
13:41No handoff from the chat plan
14:18The graph goes stale
14:51Installation
15:29Why he wants it, and credit to Hayden Smith
☰ View all