Published on

AI Makes Repo Demos Cheap Enough to Actually Build

Authors
  • avatar
    Name
    Ryan Todd
    Twitter

The README tells you how to run it. It rarely tells you what you're looking at.

Most repos don't explain themselves

Most repos do not explain themselves well. They may have a README. They may have some setup commands. They may even have an architecture diagram that was accurate six months ago.

What they usually don't have is a short, replayable explanation of what the system does, why it exists, and how the important pieces move together.

That used to make sense. Building that kind of explainer took real time, and time was scarce, so it was the first thing to get cut. AI changes the math — not because it can generate slides, but because it can read your repo first.

Where I ran into it

I hit this while finishing an internal platform dashboard — an observability view for an API platform, pulling alerts, topology, and a traffic-colored map of dozens of services into one place.

The system worked. The problem was explaining it.

Normally I would have opened the app, clicked around, talked through the moving parts, and hoped everyone connected the pieces fast enough to follow along. That works when the important behavior is visible on the screen. It falls apart when the value lives in alerts, topology, generated configuration, background jobs, and the way data moves through the system.

So the explainer I actually wanted — the one that shows how the system thinks — was exactly the one I never had time to build.

The useful part was that it read the code

The useful part was not that AI generated something that looked nice. It was that it read the repo first.

It looked at the implementation, the routes, the data shapes, the UI, and the behavior behind the screen — and the explainer came from the system itself, not from a vague prompt asking it to "make something cool."

It even caught things I'd gotten slightly wrong in my own head. At one point I assumed the dashboard would pick up new endpoints on its own; reading the code, the agent pointed out that the topology was baked into the container image, so production wouldn't refresh until the next deploy. That's not a detail a slide generator could surface. It came from reading the source.

That grounding is the whole difference between this and a generic "make me a slideshow" tool. Once the explanation is grounded in the code, producing it is the smaller problem.

What it produced — and what form yours could take

In my case the artifact was a two-minute animated walkthrough, intentionally boring under the hood:

demo/
  index.html
  audio/
    scene-1.m4a
    scene-2.m4a
    scene-3.m4a

One self-contained HTML file — inline SVG, CSS animations, a small JavaScript timeline, and narration generated by the text-to-speech that ships free with macOS (say). No framework, no build step, no new system to maintain. I committed it next to the code, so anyone can replay it on demand and it stays versioned alongside the system it explains. The discipline that keeps it useful is small: regenerate it when the system changes in a way that matters — and because it's grounded in the code, that's a quick task, not a project.

But the animation isn't the point. The point is a repo-grounded explanation you can commit. Depending on the repo, that might be:

  • a two-minute HTML animation
  • a generated architecture walkthrough
  • a narrated, screenless demo
  • a short onboarding explainer
  • a Mermaid diagram plus a written walkthrough
  • a plain "how this system actually works" page, committed with the repo

Pick whatever is cheapest to keep accurate. The core idea isn't the format — it's repo-grounded explanation as an artifact.

Do this for every repo that matters

I don't think every repo needs a polished, marketing-style demo. That would be too much, and most repos don't warrant it.

But every repo that someone else has to understand should have a short explainer checked in beside the code. Not a replacement for the README — a companion to it.

The README tells you how to run it. The explainer tells you what you're looking at.

That's the part I'd want people to remember.

Making it practical

A few questions worth answering before you try it:

What repos is this good for? Internal tools, dashboards, deployment systems, SRE tooling, automation, data pipelines, platform services — anything where the value lives in behavior that isn't obvious from the file tree.

What should the AI read first? The repo itself — routes, services, config, diagrams, the README, tests, and any examples. The more it's grounded in the actual code, the more accurate the result.

What should it produce? A short, committed explainer: HTML, Markdown, Mermaid, screenshots, or narration — whatever your team will actually keep up to date.

What do you still have to verify? Accuracy, security, architecture claims, and anything company-sensitive. AI will state wrong things with confidence, so hold it to the code. And don't point an external tool at a private repo without first understanding where the code goes, what your employer allows, and what's retained.

The prompts I'd start with

Two prompts do most of the work. The first forbids building anything until the understanding is right:

Read this repository and explain the system back to me.

Focus on:
- what problem it solves
- the main components
- how data moves through the system
- what is dynamic vs hardcoded
- what a live demo would fail to show

Do not build anything yet. First give me a factual walkthrough grounded in the code.

Once that walkthrough is accurate — and only then — the second turns it into the artifact:

Turn that explanation into a short, self-contained explainer I can commit to the repo.

Rules:
- five scenes / sections max
- explain intent and flow, not every implementation detail
- prefer a single file with no external dependencies
  (a self-contained HTML animation, or a Markdown + Mermaid walkthrough)
- include a short narration script or caption for each step
- call out assumptions or places where the repo is unclear

The order matters more than the wording. Grounding first, generating second.

What this actually changes

The reason these explainers don't exist isn't that engineers don't care. It's an honest cost calculation: a good one took too long, so it lost to the actual work every time.

That calculation just changed. When an agent can read a repo and help produce a committed explainer in an afternoon, the bottleneck stops being the hours and becomes the decision to do it.

The work still has to be correct, and the judgment still has to be yours. But "explaining it would take too long" is a weaker excuse than it used to be. Start with one repo that people always struggle to understand, and give it the explainer it should have had all along.