跳到正文
DEV Community· Shin·· 2 小時前AI 評分34

Kiro 的屬性測試如何捕捉意想不到的錯誤——為 Kiroween 2026 打造 FrontDesk

How Kiro's property tests caught a bug we never thought of — building FrontDesk for Kiroween 2026

AI 導讀

Kiro 為 FrontDesk 生成的基於屬性的測試,捕捉到店舖休息日仍可接受週日預約的錯誤,這是團隊未曾想到的情況。FrontDesk 是以 Kiro 建構、供本地服務店使用的預約範本,並設有 AI 接待員,會向未接來電者發送短訊。試點測試中,3 位測試者均首次嘗試成功預約,平均約用 14 秒。

正文

Shin

Written as part of the Kiroween 2026 hackathon.

FrontDesk is a booking template for local service shops, built with Kiro. One template, two live apps — FixIt Auto (auto repair) and BrightSmile Dental — each with its own dashboard, plus a self-serve kit so any shop owner can spin up their own page in minutes.

The problem is embarrassingly ordinary

Small shops lose bookings to missed calls. The owner is under a car or with a patient; the phone rings, nobody answers, the customer books elsewhere. FrontDesk gives the shop a booking page and an AI receptionist that texts missed callers back, so a missed call still becomes a booking.

How Kiro actually built it

This was not vibe coding. The build ran on three Kiro features, and the submission shows the receipts:

  • Specs (EARS): every feature started as a written spec — requirements, design, tasks — before any code. The spec is in the repo under .kiro/specs.
  • Steering: project rules kept the agent consistent across dozens of tasks — one header style, one colour per shop, the FenBig logo and favicon on every page.
  • Hooks: after every task, a hook ran the tests automatically. Nothing merged green by accident.

Kiro surprised us on Day 2

The property-based tests Kiro generated caught a real bug we had not thought of: bookings were accepted on Sundays, when the shop is closed. No unit test we wrote would have caught it, because none of us thought to test a day the shop never opens. That one catch changed how I build: spec first, then let the agent try to prove the spec wrong.

It works on a real shop, with a real customer

  • Hello Nails 128 (128 Rivington St, New York) runs a live FrontDesk page. Its first real customer, Roderick, booked a Basic Manicure for 14 November, 19:30.
  • In pilot testing, 3 out of 3 testers booked on their first try, in about 14 seconds on average — a brake-pad replacement in 15 seconds, an oil change in 9.

Try it

來源:DEV Community · dev.to