<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: muhamadrizki025</title>
    <description>The latest articles on DEV Community by muhamadrizki025 (@muhamadrizki025).</description>
    <link>https://dev.to/muhamadrizki025</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4254095%2F4ebfce86-564c-4e4f-8331-ae844a883363.png</url>
      <title>DEV Community: muhamadrizki025</title>
      <link>https://dev.to/muhamadrizki025</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/muhamadrizki025"/>
    <language>en</language>
    <item>
      <title>Buku Bon: building a voice-first ledger skeleton for Indonesia with Kiro (Kiroween 2026)</title>
      <dc:creator>muhamadrizki025</dc:creator>
      <pubDate>Thu, 19 Nov 2026 15:20:33 +0000</pubDate>
      <link>https://dev.to/muhamadrizki025/buku-bon-building-a-voice-first-ledger-skeleton-for-indonesia-with-kiro-kiroween-2026-4dfo</link>
      <guid>https://dev.to/muhamadrizki025/buku-bon-building-a-voice-first-ledger-skeleton-for-indonesia-with-kiro-kiroween-2026-4dfo</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is written as part of the **Kiroween 2026 hackathon&lt;/em&gt;* (Skeleton Crew category).*&lt;/p&gt;

&lt;p&gt;In Indonesia, a lot of money is tracked on paper or not at all. The &lt;em&gt;warung&lt;/em&gt; (corner shop) owner remembers who bought rice on credit this week. The &lt;em&gt;ojol&lt;/em&gt; (ride-hailing) driver guesses at night whether today's orders covered fuel. Nobody wants to type numbers into an app with one hand while serving a customer or waiting at a red light.&lt;/p&gt;

&lt;p&gt;But everyone can say one sentence:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;"Bu Sri ngutang lima belas ribu"&lt;/em&gt; — Bu Sri owes fifteen thousand&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;"isi bensin goceng"&lt;/em&gt; — fuel, five thousand (in street slang)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is &lt;strong&gt;Buku Bon&lt;/strong&gt;: a voice-first ledger &lt;strong&gt;skeleton&lt;/strong&gt;, and two very different apps built on it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live demo: &lt;a href="https://muhamadrizki025.github.io/buku-bon/" rel="noopener noreferrer"&gt;https://muhamadrizki025.github.io/buku-bon/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Code (MIT): &lt;a href="https://github.com/muhamadrizki025/buku-bon" rel="noopener noreferrer"&gt;https://github.com/muhamadrizki025/buku-bon&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Demo video and submission: &lt;a href="https://devpost.com/software/buku-bon" rel="noopener noreferrer"&gt;https://devpost.com/software/buku-bon&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  One skeleton, two apps
&lt;/h2&gt;

&lt;p&gt;The Skeleton Crew challenge asks for a template that is lean but flexible enough for two distinct apps. My rule was strict: &lt;strong&gt;an app is only a config file&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;skeleton/      parser.js · store.js · voice.js · app.js · style.css
app-warung/    index.html + config.js   (Kasbon Warung)
app-ojol/      index.html + config.js   (Dompet Ojol)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kasbon Warung&lt;/strong&gt; — a shop's credit book. Say who owes what; balances per customer update instantly. &lt;em&gt;"Pak Budi lunas"&lt;/em&gt; settles his whole balance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dompet Ojol&lt;/strong&gt; — a driver's daily net. &lt;em&gt;"dapat orderan dua puluh tiga ribu"&lt;/em&gt;, &lt;em&gt;"isi bensin dua puluh ribu"&lt;/em&gt;, &lt;em&gt;"target hari ini 200 ribu"&lt;/em&gt;, with progress and a 7-day chart.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A config declares the intents, their keywords and sign, and a summary view. This is the whole "debt" model of the warung app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="n"&gt;intents&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'utang'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'Utang'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sign&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;keywords&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'ngutang'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'utang'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'hutang'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'kasbon'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'ngebon'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'bon'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'pinjam'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'bayar'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'Bayar'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sign&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;settle&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;keywords&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'bayar'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'nyicil'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'cicil'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'lunas'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'lunasin'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'setor'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No framework, no build step, no runtime dependencies. Data stays in the browser, the app works offline through a service worker, installs as a PWA, and exports CSV. If the browser has no speech recognition, typing the same sentence works.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hard part: Indonesian numbers, spoken
&lt;/h2&gt;

&lt;p&gt;Speech recognizers return a mess of words and digits. The parser has to understand all of these as the same kind of thing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;words: &lt;em&gt;dua ratus lima puluh ribu&lt;/em&gt; (250,000), &lt;em&gt;satu juta dua ratus ribu&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;contractions: &lt;em&gt;sejuta&lt;/em&gt;, &lt;em&gt;seratus&lt;/em&gt;, &lt;em&gt;setengah&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;digits and units: &lt;em&gt;15rb&lt;/em&gt;, &lt;em&gt;Rp 15.000&lt;/em&gt;, &lt;em&gt;1,5 juta&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;slang: &lt;em&gt;cepek&lt;/em&gt; (100), &lt;em&gt;gopek&lt;/em&gt; (500), &lt;em&gt;goceng&lt;/em&gt; (5,000), &lt;em&gt;ceban&lt;/em&gt; (10,000), &lt;em&gt;gocap&lt;/em&gt; (50,000)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It uses three accumulators (millions, thousands, the current group) and is checked by a &lt;strong&gt;property-based test&lt;/strong&gt;: for random &lt;code&gt;n&lt;/code&gt;, &lt;code&gt;parseAmount(say(n)) === n&lt;/code&gt;, where &lt;code&gt;say()&lt;/code&gt; speaks the number in Indonesian words. That one property found more edge cases than a page of unit tests would have.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I used Kiro
&lt;/h2&gt;

&lt;p&gt;Everything Kiro reads lives in &lt;code&gt;/.kiro&lt;/code&gt; at the repo root.&lt;/p&gt;

&lt;h3&gt;
  
  
  Steering: the rule that shaped every change
&lt;/h3&gt;

&lt;p&gt;Three steering files are always included: &lt;code&gt;product.md&lt;/code&gt; (who the users are, speak first / type second, confirm before saving, Indonesian copy and rupiah), &lt;code&gt;tech.md&lt;/code&gt; (plain ES modules, a pure DOM-free parser, Web Speech &lt;code&gt;id-ID&lt;/code&gt; with typed fallback) and &lt;code&gt;structure.md&lt;/code&gt; (the app-is-a-config contract).&lt;/p&gt;

&lt;p&gt;The single most useful line was: &lt;em&gt;"extend the skeleton generically instead of special-casing an app."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When I asked Kiro to add &lt;em&gt;"Pak Budi lunas"&lt;/em&gt; (settle a whole debt) and a driver's daily target, it did not write &lt;code&gt;if (app === 'warung')&lt;/code&gt;. It added two generic intent flags to the skeleton — &lt;code&gt;settle&lt;/code&gt; and &lt;code&gt;meta&lt;/code&gt; — and switched them on only in each app's &lt;code&gt;config.js&lt;/code&gt;. That is exactly the design I wanted, and I didn't have to ask for it in the prompt; the steering did that.&lt;/p&gt;

&lt;h3&gt;
  
  
  Spec-driven: requirements, design, tasks
&lt;/h3&gt;

&lt;p&gt;The spec in &lt;code&gt;.kiro/specs/voice-ledger-skeleton/&lt;/code&gt; has EARS-style requirements, a design with the parser algorithm and correctness properties, and &lt;code&gt;tasks.md&lt;/code&gt;. Working from tasks instead of vibe prompts made each Kiro turn small and checkable. Kiro also kept the spec honest: while implementing it added &lt;strong&gt;R7 (offline)&lt;/strong&gt;, &lt;strong&gt;R8 (settle balance)&lt;/strong&gt; and &lt;strong&gt;R9 (daily target metadata)&lt;/strong&gt; and ticked the tasks it finished.&lt;/p&gt;

&lt;p&gt;In Kiro CLI sessions, Kiro implemented tasks 10–14:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Fast speech like &lt;em&gt;"satu juta dua ratus ribu"&lt;/em&gt;, with new test cases and the property test widened to 9,999,999&lt;/li&gt;
&lt;li&gt;An offline service worker&lt;/li&gt;
&lt;li&gt;The &lt;em&gt;lunas&lt;/em&gt; settle intent&lt;/li&gt;
&lt;li&gt;The ojol daily target and 7-day chart&lt;/li&gt;
&lt;li&gt;UI polish: an SVG mic, a landing page and a PWA manifest&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The condensed session logs with my exact prompts are in &lt;code&gt;docs/kiro-sessions/&lt;/code&gt; in the repo.&lt;/p&gt;

&lt;h3&gt;
  
  
  Debugging with Kiro: the collapsing bar
&lt;/h3&gt;

&lt;p&gt;After the first turn, a headless smoke test showed the weekly chart drew no bar for today and the mic emoji rendered as an empty box. Kiro fixed both, but the re-test still showed every bar at the same tiny height.&lt;/p&gt;

&lt;p&gt;I described the symptom and asked for the root cause in one line. Kiro's answer:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Percentage height on &lt;code&gt;.bar&lt;/code&gt; collapsed to min-height because &lt;code&gt;.day-bar&lt;/code&gt; flex column had no explicit height, making the percentage relative to nothing.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It fixed the CSS in the skeleton (keeping it generic) and re-ran the tests. Asking for the root cause, not just a fix, is a habit I'm keeping.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hooks
&lt;/h3&gt;

&lt;p&gt;The repo has two agent hooks in &lt;code&gt;.kiro/hooks/&lt;/code&gt;: &lt;strong&gt;run parser tests on save&lt;/strong&gt; and &lt;strong&gt;keep the skeleton generic&lt;/strong&gt; (flag words like &lt;em&gt;warung&lt;/em&gt;, &lt;em&gt;ojol&lt;/em&gt; or &lt;em&gt;utang&lt;/em&gt; inside &lt;code&gt;skeleton/&lt;/code&gt; and move them into config hooks). Hooks fire in the Kiro IDE; I worked in the CLI, so I ran the same loop by hand — asking Kiro to run &lt;code&gt;npm test&lt;/code&gt; after every task and to do the generic-skeleton check. That check caught a leftover &lt;em&gt;"tidak punya utang"&lt;/em&gt; ("has no debt") string in &lt;code&gt;skeleton/app.js&lt;/code&gt;, and Kiro moved it into a &lt;code&gt;settleEmpty&lt;/code&gt; hook in the warung config.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed in how I build
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Write the rule once, not in every prompt.&lt;/strong&gt; Steering turned "please keep it generic" from something I repeat into something the agent just does.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Small tasks beat big prompts.&lt;/strong&gt; A task list gave every turn a clear finish line and a test to pass.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Properties over examples.&lt;/strong&gt; For a parser, one round-trip property is worth dozens of hand-picked cases.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Honest notes
&lt;/h2&gt;

&lt;p&gt;The first scaffold (parser, store, voice wrapper, both configs and tests) and the first drafts of the &lt;code&gt;.kiro&lt;/code&gt; files were prepared earlier in the submission period with help from an AI assistant; Kiro CLI sessions then built tasks 10–14 on top. No third-party frameworks or starter kits are used.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;A third app (a market stall or an &lt;em&gt;arisan&lt;/em&gt; savings group) — which should be one new &lt;code&gt;config.js&lt;/code&gt; — plus voice read-back of balances and WhatsApp-friendly reminders for customers who owe.&lt;/p&gt;

&lt;p&gt;If you build something for small businesses in your own language, I'd love to hear how you handle spoken numbers.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;#KiroweenHackathon26 — written for the Kiroween 2026 hackathon.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>hackathon</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
