I built a haunted memory palace for Kiroween 2026 — and Kiro kept me honest
I forget flashcards. Not because the facts are hard — because the cards have nowhere to live. The method of loci fixes that by anchoring each fact to a place in a building you can picture. For Kiroween 2026, I turned tha
I forget flashcards. Not because the facts are hard — because the cards have nowhere to live. The method of loci fixes that by anchoring each fact to a place in a building you can picture. For Kiroween 2026, I turned that old memory trick into Memory Manor: a six-room haunted house where every fact is a haunted object, every ghost is a quiz prompt, and every glowing door means "this room is due for review."
The loop
Add a fact, place it in a room (Lobby, Library, Kitchen, Tower, Greenhouse, Crypt), then walk the manor. The room's ghost asks the question with four choices. Answer correctly and the ghost fades; miss and the room shows you the anchor you built. Mastery raises the fact's haunting level, stretches its review interval (0d → 1d → 2d → 4d → 7d → 14d), and eventually exorcises the ghost for good. The spooky layer is not decoration — it is the interface.
Building with Kiro on a Free-tier budget
I wrote the steering and EARS requirements by hand, then let Kiro's spec mode turn them into designs and task lists. That mattered because the Free tier gives 50 credits a month: specs kept every implementation prompt scoped to a requirement I could point at, instead of open-ended vibe coding.
The parts of Kiro I leaned on:
-
Spec-driven development — two specs (
memory-manor-core,spaced-haunting) with acceptance criteria and correctness properties. - Steering — product/tech/structure always-on, plus a design-system steering file matched to CSS/components so the haunted UI stayed coherent.
- Hooks — saving a source file runs tests and typecheck; saving deck JSON runs a deck validator.
-
A custom agent —
ghost-quizmasterreviews distractors for fairness: exactly one correct answer, three distinct wrong ones, no giveaway wording. - Property-based tests — fast-check guards the scheduling math: levels stay in [0,5], intervals never shrink as level rises, and export/import round-trips losslessly.
What I learned
The hardest bug class in a learning app is silent unfairness: a duplicated distractor or a due-date that moves the wrong way makes the product feel broken even when nothing crashes. Writing those invariants as properties before the UI existed meant Kiro generated tests that actually protected the learning loop, not just the rendering.
Memory Manor runs fully offline after load, needs no account, plays by keyboard, respects reduced motion, and exports your manor as plain JSON. Built for Kiroween 2026 (Costume Contest).
Try it
- Live app: https://edanteuu.github.io/memory-manor/
- GitHub repo: https://github.com/edanteuu/memory-manor
Built with Kiro for Kiroween 2026.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.