Jinho (Roy) Yon
Back to Projects

SeeniorAI-Powered Developer Onboarding

Paste a public GitHub URL and get an onboarding report for the codebase: written documentation, four interactive diagrams, and a quiz to check what you took away.

Engineering at a glance

Ownership
Gemini analysis prompts and route, the documentation view, all four diagram views, and the results page. My teammate built the GitHub layer and the quiz.
Hardest problem
Getting diagrams from an LLM that actually render: a strict JSON contract in the prompt, then syntax repair and a parse check before anything reaches the page.
Implemented
Architecture, feature-flow, class, and dependency-map views with clickable nodes; documentation with scroll-synced contents and in-page search.
Limits
Hackathon prototype: reads at most 50 files per repository, no retry when a diagram fails, and no user testing. It didn't place.
Role
AI analysis prompts and the documentation and diagram UI
Team
Team of 2 · IBM Bob Hackathon · May 2026
Build time
About 33 hours of a 48-hour online event
Tools
IBM Bob and Claude Code (AI-assisted development)
Tech Stack
Next.js · TypeScript · Gemini API · Octokit · Mermaid.js · XYFlow
Seenior report for expressjs/express showing the Architecture view: a flowchart of the browser, Express application, middleware stack, route handlers, view renderer and data storage, with a side panel describing each module
The Architecture view for expressjs/express. Boxes are colour-coded by type, and the panel on the right describes each module; clicking a box selects its description.
01

Overview

The problem and the product

Why I built it

Large repos don't come with a map

School assignments kept handing me large existing codebases to extend. Before writing a line, I'd spend a long time opening files one by one, trying to work out where a request enters, which modules matter, and how they connect. The README rarely answered that.

The IBM Bob Hackathon asked for tools that improve how software is built, with IBM's Bob as an AI development partner. A teammate and I took on that problem: give someone a first map of an unfamiliar repository before they start reading code.

from first commit to submission
~33 h
people on the team
2
projects submitted to the event
503
participants across the event
5,628
What Seenior does

One URL, three ways into a codebase

The landing page takes a GitHub URL and three checkboxes. The report opens in tabs, so a reader can start with prose, pictures, or questions.

Seenior landing page with a GitHub URL field and checkboxes for Documentation, UML / Flowchart and Quiz
The starting point: a repository URL and a choice of outputs. The "60 seconds" headline was our pitch line. It's roughly how long a report takes to generate, not how long understanding takes.

Documentation

An eight-part written overview: purpose, architecture, key components, file structure, technologies, setup, APIs and examples. A contents list follows your scroll position, and in-page search highlights matches.

Diagrams

Four views: a module-level architecture flowchart, step-by-step feature flows through real files, a class diagram when the code has one, and a file-level dependency map.

Quiz

Ten multiple-choice questions with explanations, for checking what you took away.

Seenior documentation tab for expressjs/express with a numbered contents list on the left, a search field, and the Project Overview section
Documentation for expressjs/express. The contents list on the left tracks where you are as you scroll.
02

Engineering

Decisions, tradeoffs, and limits

How it works

From URL to report in one request

  1. 01The browser sends the URL and the chosen outputs to a Next.js API route.
  2. 02Octokit walks the repository and downloads up to 50 source and config files.
  3. 03Each file is trimmed to its first 2,000 characters and packed into the prompt.
  4. 04Gemini is called once per output: documentation as Markdown, diagrams and quiz as JSON.
  5. 05The results page renders the Markdown, the Mermaid diagrams, and an interactive dependency graph.

Everything runs in one Next.js app: two API routes and the React pages, with no separate server or database. That kept a two-person weekend build simple to deploy on Vercel, where the demo still runs.

The model was chosen as much by budget as by quality. We started on Gemini 2.5 Flash-Lite, moved to 2.5 Flash when the diagram prompts became structured, and switched back to Flash-Lite about an hour before the deadline after hitting API usage limits. Temperature is set to 0 so the same repository gives a consistent report.

Try the live demo
Decision 01

Treat the model's diagrams as untrusted input

Mermaid is strict: one stray character and a diagram won't render. The first diagram prompt simply asked Gemini for class, sequence and component diagrams in Mermaid code blocks. That returned free-form text we had to dig diagrams out of, with nothing constraining their syntax, and class diagrams kept failing to parse.

I rewrote the diagram prompt twice on the second day, each time narrowing what the model was allowed to return.

Three versions of the diagram prompt

What the model returnedWhat changed next
v1
Markdown with Mermaid code blocks for class, sequence and component diagrams, plus proseSwitched to JSON so diagrams didn't have to be extracted from text
v2
JSON with a class and a sequence diagram, plus a description and category for every node. Hard size caps (≤7 classes, ≤5 actors, ≤10 messages) and plain alphanumeric namesMost of a Next.js or Express codebase is functions, not classes, so a class diagram alone missed most of it
v3
JSON with four views: architecture (5–8 modules), feature flows (3–6 features through real file paths), a class diagram only when at least 3 classes are related, and a file dependency mapThe version that shipped

The contract is enforced on both ends. On the model side: JSON response mode, temperature 0, and syntax rules written into the prompt (only the class keyword, no aliases, no generic types, no code fences). On the page, a clean-up step strips stray fences, removes edge labels Mermaid can't parse, and quotes labels that contain slashes, such as API paths. Then Mermaid's own parser checks the result before anything is rendered.

Ask for diagrams

  • Free-form Markdown with embedded code blocks
  • Any size, any syntax
  • An unparseable diagram could take the page down with it

Specify and check them

  • One JSON object with fixed keys and size limits
  • Syntax rules in the prompt, repairs on the page
  • Parse check first; on failure, show the source instead of crashing

Because every node comes with a description in the same JSON, the diagrams are clickable: selecting a box shows what that module does. I first synced on hover as well, but dimming the other nodes as the cursor moved looked like a jarring zoom, so only clicks select.

Decision 02

Lay out dependencies top-down, not by physics

The dependency map shows the 12–20 most important files and the imports between them. My first version placed nodes with a d3-force simulation, where nodes push apart and edges pull together until the layout settles. I replaced it in the next commit.

A force layout has no sense of direction, but imports do: a page calls a route, which uses a library. dagre ranks nodes into layers so dependency chains read from top to bottom, and XYFlow renders the result as a graph you can pan and zoom, with a minimap. Selecting a file shows what it does and how many files import it or are imported by it.

Evidence and limits

What it does, and where it falls short

files read per repository
≤50
characters kept from each file
2,000
Gemini calls per full report, one after another
3
user tests run
0

Seenior was a hackathon prototype. It was submitted with a live demo but didn't place, and we never tested it with users, so there's no evidence that it shortens anyone's ramp-up time. Reading the code back, these are its main limits:

  • Files are chosen by order, not importance. The crawler takes the first 50 matching files in the order GitHub lists them, and config files count. On expressjs/express, the quiz asked about the ESLint config and Dependabot settings rather than routing or middleware.
  • Each file is cut at 2,000 characters (1,500 for the quiz), so the model sees only the top of large files.
  • The three generations run one after another. Running them in parallel would shorten the wait; an unused helper in the repo already did that.
  • If a diagram still fails the parse check, the page shows its source. There's no retry.
  • Every file is a separate GitHub API request, so without a token one large repository can use up GitHub's limit of 60 requests an hour.
Seenior quiz tab for expressjs/express; the first two questions ask about an ESLint rule and the Dependabot configuration
The quiz for expressjs/express. Both visible questions are about config files, a side effect of reading files in listing order.
03

Wrap-up

Ownership and lessons

Team and takeaways

What I owned, and what I learned

My teammate set up the project and built the GitHub layer (URL parsing, repository metadata and the file crawler) and the quiz page. I wrote the Gemini prompts and the analysis route, and built the documentation view, the four diagram views and the results page. We both developed with IBM Bob and Claude Code: I wrote critiques of the UI and rendering bugs, had the agents implement fixes in phases, and checked the results in the browser.

  • Structured LLM output needs a contract on both sides. Constraining it in the prompt made failures rarer; checking it before rendering made the remaining ones harmless. Neither was enough alone.
  • What goes into the prompt matters as much as the wording. The config-file quiz questions came from which files were read, not from how the quiz prompt was phrased.
  • A headline number should say what it measures. "60 seconds" was generation time, but it read as a claim about understanding a codebase.

Open to Software Engineering opportunities.

Recent UC Davis CS&E graduate looking for full-time roles in fullstack and applied AI/LLM engineering.

Jinho (Roy) Yon — Software Engineer.
Fullstack and applied AI.

© 2026 Jinho Yon.