I wrote this post as part of the Kiroween 2026 hackathon.

The skeleton grows: the base, ContentBu, SupportBu, and a new app's skeleton from one APP.md

During Kiroween 2026 I built AgentBu with Kiro: a skeleton for AI agents that know each small business inside out, never invent, and never mix or leak its data. On it, Kiro built two apps: ContentBu, which writes posts with every claim linked to its source, and SupportBu, which talks to a customer without ever giving a price.

I work as a bookkeeper for small businesses, and the rule I care about most is simple: what cannot go wrong is not decided by the model, it is decided by code. Here are four times something went wrong, and what we did so it does not happen again. When I say "we", I mean Kiro and me. Claude was a support tool: it helped me write the briefs Kiro started from and review Kiro's results.

1. The model invented a year

The first task of the capture spec was a spike: could ChatGPT or Claude save research into ContentBu through MCP? They could. But in the first test, the model saved an idea titled with an invented year ("2025") from its memory.

With vibe coding we would have kept building. With a spec, the spec changed before any more code was written:

  1. A capture saved without source links is unverified, and its numbers cannot be published until the owner adds a source.
  2. A digit in an idea must come from its captures.
  3. The prompts get today's date in the business's time zone, so the model never assumes a year.

2. The hook that did not fire

The new-app hook is the heart of the skeleton: when Kiro creates apps/<name>/APP.md, the hook builds the app's skeleton and verifies it in 29.2 s (measured on a throwaway test app). For two days, it did not fire.

It had two causes:

  • Kiro's file hooks react only to files the agent creates, not to files you paste in the editor.
  • On Windows, the event carries an absolute path with backslashes, and our matcher did not accept it.

We found it with a temporary hook with no matcher, which only wrote the real event to a file. With the event in front of us, we fixed the matcher. And since the same .kiro/ folder has to work on any computer, the test hooks no longer call Windows paths: they go through one Node helper that runs on Windows, Linux and macOS.

Once it went the other way: Kiro reported that a test hook had not fired, and it had. The permission prompt waited about six and a half minutes for me to approve it, and by the time Kiro looked for the process, the run had already finished. Kiro's session log showed the hook ran 11 seconds after the save.

Lesson: from an agent, ask for evidence, not a report.

3. The "FREE estimate" nobody offered

A ContentBu draft post offered a "FREE estimate" the business never offered. And SupportBu, in production, repeated an earlier answer.

The temptation is to improve the prompt. We did not: each case became code with its own test. The no_offer check stops offers like that one, the number guard requires every number in an idea to come from its captures, and the repeat guard keeps SupportBu from repeating an answer. They run before anything goes out: before a customer reads an answer, or before the owner sees a draft.

In ReviewBu, a third app I asked Kiro for to measure the skeleton, we tried the base's checks with the real model: of 10 tricky reviews, 3 drafts broke a rule (a price, a discount, a stray number), and the code stopped all 3 before the owner saw them.

Ten tricky reviews with the real model: three drafts stopped by the code

4. A property test found an account number

We use property-based tests (Hypothesis in Python, fast-check in TypeScript) for the rules that cannot fail. fast-check generated this input:

acct 55555acct 55555

One pass of the cleaner returned [removed] acct 55555: an account number got through, because the pattern needed a word boundary that two touching items do not have. Now the cleaner repeats until nothing changes, and the property holds.

Property tests also found bugs in our own tests. Two of them looked for a generated secret as a substring, so a short secret like tru was "found" inside true. They passed most of the time and failed now and then. Now they compare exactly. A flaky test is a bug too.

What I used from Kiro

  • 12 specs, each with requirements, design and tasks.
  • 10 steering files: the rules Kiro always follows; for example, the base never names an app, and a price is never invented.
  • 7 hooks, among them new-app, new-industry, the one that checks every string exists in English and Spanish, and the ones that run the tests when a file changes.
  • A custom agent, honesty-reviewer, read-only, that checks a change against the honesty rules before commit.
  • MCP: Playwright, to check the pages at phone width.

Build your own agent on AgentBu

AgentBu is not just ours: it is made so that anyone can add a rib.

  1. Clone the repo and open it in the Kiro IDE.
  2. Ask Kiro to create apps/<your-app>/APP.md, with what your app does, who talks to it and which of the base's tools it uses.
  3. The new-app hook builds the app's skeleton (a plugin, a health route, an empty migration branch, tests, a README and a steering note) and verifies it.
  4. You write only what is specific to your app: its routes and its prompts. The rules (nothing invented, nothing private in public, no price without a check) already come from the base.

A new industry? The new-industry hook does the same from one INDUSTRY.md, with no code change.

What I take away

  • Specs are for what cannot go wrong. A spec made Kiro stop and say what it found before building. Checking a brief against the code turned up wrong assumptions: in ReviewBu it found five before writing a line of code.
  • A skeleton is worth it if the third app comes fast. ReviewBu went from APP.md to working in about 55 minutes of Kiro's time. (The plan had estimated about 17 hours of work; the build log notes the two are not the same kind of measure.)
  • The rules live in code, not in prompts. Each mistake in this post ended up as code a test checks.

The repo, the demos and the full story of how I used Kiro:

I wrote this post as part of the Kiroween 2026 hackathon (Skeleton Crew category).