I wrote this post for Kiroween 2026, the Kiro hackathon, where I entered Ledger Mortis in the Costume Contest category.
Most of us cannot say where our money went last month. The charges that hurt most are the quiet ones: the gym you stopped going to, the streaming service you forgot, the cloud storage you never use. Budget apps show them as rows in a table, and rows are easy to ignore.
So I built the opposite: a place you remember.
Ledger Mortis turns pasted transactions into a graveyard at midnight. Every tombstone is a place you spent money, and the taller the stone, the more you spent. Every recurring charge (the same amount three months in a row) is a ghost that claws out of its grave and roams. The mist rising from the ground is how much of this month's budget is gone, and the moon bleeds when you overspend. Below the graveyard, each ghost waits in a coffin with a Banish button that shows what it costs you in a year. Banish it, and your yearly savings and your Soul Score go up.
It runs entirely in the browser. There is no account and no backend, nothing is stored, and phone and account numbers are masked during import. Try it at ledger-mortis.vercel.app: tap "Try with haunted sample data" and you see the graveyard in two clicks.
Spec first, then the costume
I built it in the Kiro IDE, and the most useful decision was to start with specs, not code.
The app is split into four modules: the foundation, the parsers, the graveyard and the atmosphere. Each has a spec with requirements in EARS form ("WHEN the user banishes a ghost, THE view SHALL…"), a design with correctness properties, and a short task list. By the end, the four specs held 807 acceptance criteria.
That sounds heavy for a hackathon. It paid for itself in the parsers. Money is stored as integer minor units, parsed digit by digit, with no floating point and no Date in the core. Those rules were numbered criteria from day one, Kiro turned the design properties into fast-check tests, and the rules held through four modules. The same text always gives the same graveyard.
Prototype, then spec
The look and feel could not be specified up front. "Make the graveyard scary" is not an acceptance criterion. So for the visual work we used a loop: Kiro built a prototype, I judged it in the browser, and the design I accepted went back into the spec as an owner revision with an amendment log. Seven revisions made the gate, the séance room with its talking board, the haunted graveyard and the calm ending. When a revision replaced a criterion, we marked it "Superseded" in place, so the spec still says what is really built.
Steering: rules that a test can check
Six steering files hold the project's rules, and the one that shaped everything was "every spooky element must carry data". It forced honest design decisions. When every ghost is banished, fireflies rise and the watching eyes close, but the fog and the red moon stay, because banishing a subscription does not undo what you already spent this month.
The strategy that made the biggest difference was writing each rule so that a test could check it, and then writing the test: text contrast of at least 4.5:1 computed from the design tokens, reduced motion in every style sheet, no network call anywhere in the source, no brand names in the app. A slip fails the build instead of reaching the demo.
The moment that impressed me most
The first graveyard stuttered when you scrolled. Instead of guessing, Kiro measured the built page in headless Chrome: about 15 frames per second, because every ghost, mist sheet and star lived inside one SVG with turbulence filters, so each frame repainted the whole scene. It rebuilt the scene as a stack of layers that move only by transform and opacity, kept every accessible name and the data meaning of each element, and measured again: about 45 to 50 frames per second. Then the lesson went into the steering file, and a test now enforces it.
Hooks, an auditor and a real browser
In the final days I added three more Kiro features, and each one found something:
- Agent hooks rerun the contrast and motion tests whenever a style sheet is saved, and the brand-name and network scans whenever a UI file is saved.
- A custom agent, haunt-auditor, reads the steering files and audits a change against them, read-only, with file and line for each finding. Its first full audit found eight real issues, from dead code to pure helpers that had no property tests.
- MCP with Playwright gave Kiro a real browser. It opened the app, loaded the sample and read the page the way a screen reader does. It found an image with no name around the tombstones, which unit tests had missed.
What I learned
Kiro is at its best when the rules are written down and testable. Steering told it what "good" means, the specs told it what to build, and the tests and hooks told both of us when something slipped. The costume can be as wild as you like, as long as the skeleton underneath is solid.
In the interest of honesty: for three mutation checks in the parser spec, another AI assistant gave me the steps, and I ran every command myself. Everything else was built in Kiro.
Watch the 3-minute demo: youtu.be/qa_MS1yR1ns. The code is open source under the MIT license: github.com/janganyaderrick-collabo/ledger-mortis. Summon your ghosts, and banish the ones haunting you.
