How I built PinMe with Kiro

I built PinMe for the Kiroween 2026 hackathon, using Kiro from start to finish. This post covers what PinMe is, how Kiro built it, and what happened when my laptop broke halfway through.

What PinMe is

PinMe is a messenger where you chat with a PIN instead of your phone number. You pick a name, and you get an 8-character PIN like 2A4F9C1B. You give that PIN to people instead of your number.

You can have more than one PIN. I can give one to friends and another one to people I buy and sell with online. If someone starts bothering me, I burn that PIN. They can't message it again, the PIN is never given to anyone else, and they never see my other PINs.

I built it because in Nigeria your phone number is linked to your NIN, and your bank sends OTPs to it. I didn't like that I had to give that number to every buyer, seller or delivery rider I dealt with. BlackBerry Messenger used PINs years ago, so I used the same idea and added burning.

Messages are end-to-end encrypted in the browser. The server only passes encrypted messages along and deletes them once they're delivered.

Try it: https://pinme.bakaredavid007.workers.dev
Code: https://github.com/3akare/pinme

Starting with a spec

I didn't start by asking Kiro to "build a messenger". I started with a spec in the Kiro IDE.

A Kiro spec has three files:

  1. requirements.md: what the app must do, written as rules. Mine has 25 requirements and 227 acceptance criteria.
  2. design.md: how it will be built. Kiro read the Cloudflare and libsodium docs before writing it, and it ended up with 39 correctness properties.
  3. tasks.md: the build broken into steps. Mine has 117 tasks.

The most useful rules were the ones about what the app must never do. For example: "the server shall not store any data that links one PIN to another PIN of the same user." If that breaks, burning a PIN means nothing, and it's the kind of thing that breaks quietly. Writing it as a requirement meant Kiro had to build to it and test it.

Then I clicked Run all tasks. Kiro's log shows it went through all 117 tasks in one evening, from about 5:45 pm to 8 pm.

Steering files

Steering files are rules Kiro reads while it works. I have six. Each one only loads for the part of the code it's about. The security rules are always on. The protocol rules only load when Kiro is working on server code. The UI rules only load when it's working on screens.

That kept the security rules in front of Kiro on every task, without filling every prompt with rules that didn't apply.

Hooks

Hooks run automatically while Kiro works. I set up four:

  • When Kiro saves encryption or shared code, the tests for that code run.
  • When Kiro saves server code, it checks the change against the security rules and fixes anything it finds.
  • When the message format changes, it checks that the docs still match the code.
  • When Kiro finishes, the linter runs.

Property tests

Each of the 39 correctness properties became a property-based test. Instead of me picking a few examples, the test library throws thousands of random inputs at each rule.

One example: burning a PIN twice has to leave everything exactly the same as burning it once. The project has 369 tests, and 30 of the test files are property tests.

Then my laptop broke

Halfway through the hackathon my laptop had to go in for repair, and all I had left was my phone.

I kept going with Kiro Web, which runs Kiro in cloud sessions, so my code, spec and steering were all still there. Around the same time Kiro released its Android app, and I did a lot of the remaining work from it.

The Android app did the job, but it has some problems:

  • It doesn't notify you when a task finishes, so I kept opening it to check.
  • Sometimes my prompt didn't show after I sent it. Only the reply showed, and older prompts disappeared until I restarted the app.
  • It lags sometimes.

I still finished the project, partly from a phone, which I didn't expect to be possible.

What I learned

Writing the rules first changed how I build. Before, I'd write code and test it afterwards. With Kiro, I wrote down what the app must and must never do, Kiro turned those rules into tests, and then it built against them. For an app where mistakes don't show up in a demo, like a messenger that's meant to be private, that made a big difference.

The whole spec is in the .kiro folder of the repo if you want to see how it's set up.