All projects

Case study · 2026

Repo World

A Claude skill that turns any codebase into a pixel-art RPG city you can walk around: folders are districts, classes are characters you talk to, god objects are bosses.

  • 2026
  • Claude Skill
  • JavaScript
  • Canvas
Repo World
469
files in the laravel.io demo
16
districts at most
1
HTML file, no build step
3,000
commits of history read

Why

Onboarding docs go stale and nobody reads architecture diagrams. Repo World turns a codebase into a place you explore: walk into a district, talk to its classes, follow the roads between folders.

The scan

A Python script with no dependencies reads the files, classes, methods and imports (PHP, JavaScript and TypeScript with their @/ aliases, Python), finds import cycles with Tarjan's algorithm, flags god classes (450 lines or 30 methods and up), and reads up to 3,000 commits of git history for the most-edited files, the deleted ones and the contributors.

From code to city

Folders become fenced districts, files houses, classes characters, god classes bosses in dark towers. The most-edited files are houses on fire, imports are roads, import cycles are portals in "The Rift", deleted files are tombstones with their last commit message, and the top contributors stand as statues in a Hall of Heroes.

True stories only

Claude reads the real files and writes the characters' dialogue and the quests, in the user's language. One rule: never invent behaviour, every line must be true of the code. Without AI the game still runs, with generated dialogue.

The game

One HTML file on a canvas, no framework, 100 to 400 KB: quests, XP and levels, a map with fast travel, progress saved per repo, and a touch pad on phones. The laravel.io demo has 469 files, 16 districts, 779 imports, 4 bosses, 5 cycles and 24 graves, in 202 KB.