Inspiration

Every codebase is haunted. Pull requests nobody will ever merge, dependencies several major versions behind, TODOs older than the people who wrote them. Code-health tools bury all of this in lists and charts nobody opens, so nobody fixes it. We wanted tech debt to be something you can see, and something that makes you want to fix it.

What it does

Paste any public GitHub repo URL (or click one of three demo repos) and Necropolis raises a graveyard under a full moon. Every spooky element is a real signal:

  • 🧟 Zombie hands: branches and open pull requests with no activity for 90+ days
  • ⚰ïļ Cobwebbed crypts: npm dependencies that are deprecated or 2+ major versions behind
  • ðŸ‘ŧ Ghosts: TODO/FIXME/HACK comments and skipped tests
  • ðŸŠĶ Tombstones: dead code, meaning files or exports nothing in the repo imports

A gauge shows the repo's health (0–100) with a one-word verdict, from Resting to Cursed. Click any grave to open its autopsy: the cause of death (the evidence), the exorcism (the exact fix, ready to copy) and how to keep it buried. "Exorcise the 3 worst graves" copies their fixes in one click, and the gauge projects the score you'd reach. The Caretaker, a small lantern-carrying ghost, always tells you which grave to start with and why. Even the errors stay in character and still tell you how to fix the problem.

Try moment/luxon to see all four grave types, or expressjs/express to see its 55 graves.

How we built it

Entirely with Kiro's agent in the Kiro IDE, spec-first. Kiro turned the idea into a requirements → design → tasks spec for the scanner and built it task by task. Every detector is a pure function covered by unit tests and fast-check property-based tests (242 tests in 12 files). Four steering docs (product, tech, structure and a full spooky design system) kept every session consistent, and an agent hook re-runs the test suite whenever Kiro saves scanner code. Context7 MCP gave Kiro up-to-date library docs.

The front end is Next.js 16 with Tailwind CSS v4 and a hand-built SVG silhouette scene (moon, dead trees, mausoleum, bats, four grave shapes) with Framer Motion. It respects reduced-motion, meets WCAG AA contrast, and has optional synthesized sound (off by default). It's deployed on Vercel.

Challenges we ran into

  • Trust. Our first scan of Express scored 0/100, flagged library entry points as dead code and found a branch "open for 20,783 days" (a date bug). We rebuilt the rules (entry points, invalid dates, a per-type cap on the health score) and pinned them with property tests, so the graveyard tells the truth.
  • Scale and rate limits. Big repos and GitHub's 60-requests-per-hour limit meant we pre-cache the demo repos, read at most 500 files, and tell the user honestly when dead code wasn't checked.
  • One loud type drowning the rest. Express has 50 abandoned PRs. Each grave type now gets a fair share of the hill, and tombstones stand in the front row so they're never hidden.
  • Credits. We ran out of free Kiro usage mid-build and waited for the hackathon credits rather than switching tools, so the whole app was built with Kiro.

Accomplishments that we're proud of

A spooky interface where the scariness is the information. Every grave maps to a real, fixable problem, with a friendly guide, clear next steps and accessibility built in.

What we learned

Spec-driven development plus steering docs makes an AI agent far more consistent across many sessions: we never had to re-explain the design language or the Caretaker's voice. Property-based tests caught edge cases (empty repos, malformed dates and packages) we would never have written by hand.

What's next for Necropolis

A GitHub Action that posts a graveyard report on every pull request, a README health badge for maintainers, dead-code analysis for large repos and monorepos, more languages than JavaScript/TypeScript, and an Exorcise button that generates a ready-to-run Kiro spec for each grave.

Built With

  • fast-check
  • framer-motion
  • github-api
  • kiro
  • next.js
  • npm
  • svg
  • tailwindcss
  • typescript
  • vercel
  • vitest
Share this project:

Updates

Submission history