Inspiration
Every project has packages nobody has touched in years. npm outdated lists them as dull text. We wanted to see them as what they are: dead things that still hold the house up.
What it does
Paste a public GitHub repo link. The app reads every package.json and shows each package that is dead (last npm publish over 24 months ago, or deprecated) as a tombstone with its last-publish date and an epitaph. Packages that are behind the latest version show as candles: the longer overdue, the more melted. Use a flat view or a 3D graveyard with moon, fence, trees and candle light. Drag or use arrows to pan. Monorepos group results per manifest with a filter. Nothing is cloned or downloaded.
How we built it
We built it in Kiro Crew (the dashboard), using its Kiro Spec agent for specs and its default agent for execution. We did not use the Kiro IDE, CLI or Web. Crew's persistent memory carried decisions across sessions, such as the 24-month rule and the security limits, so we did not re-explain them. The result is 74 commits.
Spec-driven development. Seven specs in .kiro/specs/ drove the work:
| Spec | Type | Result |
|---|---|---|
| i-want-to-build-an | Full: requirements, design, 15 tasks | Core scanner and tombstone UI |
| the-dependency-graveyard-project-is-only | Bug: requirements, design, tasks | Outdated packages (candle) |
| i-also-want-the-tombstone | Quick | 3D tombstones, particles, sound, fonts |
| i-want-to-add-a | Quick | 3D graveyard toggle |
| in-the-3d-world-i | Quick | Drag to pan |
| i-want-to-show-a | Quick | Monorepo grouping and filter |
| create-a-demo-video-of | Quick | Remotion demo video |
Each phase stopped for our approval, and we picked from suggested options. We often cut scope, for example by moving "3D, scary, animation" out of the outdated-packages spec into its own spec. Every task got its own commit. The design wrote the security rules down before any code: no clone or download, only api.github.com and registry.npmjs.org, no redirects, 10 s timeout, response caps, repo text always escaped.
Spec versus vibe coding. We skipped the spec once, for the three.js rework ("just build it"). It was fast, but we judged by eye and then needed a second round (candles up front, link input in 3D, saved view choice). The specced features needed fewer reworks. Vibe coding suited look and feel. Specs suited logic and safety.
Property-based testing. fast-check runs in seven test files: classify, parseGithubUrl, pan, particles, stoneSeed, tilt, world. For parseGithubUrl, random hostile URLs (github.com.evil.com, .. segments, userinfo) must never be accepted. That is the trust boundary, so random input beats hand-picked cases. For classify, random dates fall around the 24-month line. The other files check that output stays in bounds and is the same for the same seed. In total 362 tests passed on our last run.
Memory and lessons instead of steering. There are no steering docs in .kiro/steering. Crew's saved lessons did the same job: PowerShell must write UTF-8 without BOM (it once corrupted button icons), commit after each task, and one spec phase at a time. The encoding lesson stopped a repeat bug.
MCP. One server, fetch (mcp-server-fetch), served our research on API docs and package pages. The app itself does not use MCP. It calls GitHub and npm directly.
Not used. Custom agents, agent hooks and Kiro powers. We used only the built-in Kiro Spec and default agents, and commits followed a saved preference, not a hook.
Other tools. Next.js, TypeScript, three.js, semver, Vitest, Playwright (to record real app clips) and Remotion (demo video).
The app is one streaming route, POST /api/scan, so results appear as they arrive. It reads the file tree through the GitHub API, fetches package.json as text, then asks the npm registry for release dates. The 3D world is three.js. Particles are a small canvas layer.
Challenges we ran into
- Registry records are huge (
typescriptis 16 MB,@types/node11 MB), so our 5 MB cap failed on real scans. We raised it to 40 MB. - Next.js needs inline scripts, so the CSP differs from the original design.
- Our first outdated-packages idea (flower and lantern) looked ugly. We kept only the candle.
- Write approvals timed out while we were away, and runs paused until we came back.
- A repo with no
package.jsonneeded a clear error, not a joke.
Accomplishments that we're proud of
- A real scan of
expressjs/expressfinds 13 graves and 15 outdated packages. - Safe by design: two hosts only, no redirects, escaped text.
- 362 passing tests, with lint,
tscand build clean. - A demo video made from recordings of the real app.
What we learned
- Small specs with approval gates beat one big spec.
- Properties find bugs at trust boundaries that examples miss.
- Judge the look after the first build. Cutting a bad element is cheap.
- Saved lessons cut repeat mistakes.
What's next for Dead dependency graveyard
- PyPI support, then other registries.
- Private repos with an optional token.
- Repo hooks and steering docs, which we skipped.
- Share a link to a graveyard.
Built With
- kiro
- nextjs