Inspiration

Every evening at 6pm the same question: "what's for dinner?" — with a fridge full of random ingredients and no idea what they combine into. Indonesian home cooks waste food not because they can't cook, but because they can't see what their pantry already makes. Pantry Phantom started as a joke — a friendly ghost haunting your kitchen — that answers that question in seconds.

What it does

Open Pantry Phantom and fill your virtual pantry — type ingredients or tap quick-add chips by category. Every recipe instantly shows its match percentage: 100% matches glow green ("you have everything!"), the rest list exactly which ingredients you're still missing. Open any recipe for measurements and step-by-step instructions, send missing ingredients to the shopping list in one tap, save favorites, filter by spicy, time, or vegetarian, or hit "Cook tonight" and let the Phantom decide dinner. All 26 recipes are real and cookable — Nasi Goreng, Soto Ayam, Rawon, Sayur Lodeh, Rendang, Gado-Gado — wrapped in a polished dark Halloween UI with a floating ghost and pumpkin-orange accents. Your pantry never leaves your device: stored in localStorage, no account, no server.

How we built it

Built spec-first with Kiro: requirements, design doc, and a trackable task list in .kiro/specs/pantry-phantom/; steering files (product/tech/structure) in .kiro/steering/; and two v1-schema agent hooks in .kiro/hooks/ (syntax check + recipe validation on save). Kiro CLI 3.4.0 installed and verified on Linux; the project owner logged into Kiro via Google and redeemed the 4,000 Kiroween credits on Nov 30, 2026, then used Kiro Web to verify the spec tasks against the shipped repo (tasks 14-16 checked and pushed from Kiro). See KIRO_USAGE.md in the repo for the full honest record, including the one step still open: logging in to kiro-cli to enable live interactive agent sessions in the repo.

Challenges we ran into

  • The first build (Nov 18) stalled on Kiro login: the CLI needed browser OAuth (AWS Builder ID) that a headless build environment couldn't do — so the spec, steering, and hook artifacts were written following Kiro's documented format and validated by hand. Login and credit redemption were finally done by the owner on Nov 30, 2026.
  • Chromium in the build VM crashed with Playwright's default launch flags (SIGTRAP) — fixed by launching Chrome manually and connecting over CDP.
  • A real bug caught by verification on Nov 30: a TDZ error on const pantry inside matchInfo() (a local variable shadowing the global one) broke rendering completely — fixed before release; browser tests after the fix passed 14/14 with 0 JS errors.
  • Mobile screenshots came out blank on the first capture (viewport resize + smooth-scroll still running) — fixed by disabling smooth-scroll and waiting longer; mobile rendering verified good.

Accomplishments that we're proud of

  • 26 real, cookable Indonesian recipes with verified ingredients and steps.
  • Matching engine tested 14/14 in a real browser, 0 JS errors.
  • Fully static, works offline, zero tracking — the pantry never leaves the device.
  • Complete .kiro spec, steering, and hooks package, verified by Kiro Web itself.

What we learned

  • Spec-first beats vibe coding when the spec is the contract: Kiro checked the shipped repo against tasks.md and verified each item instead of guessing.
  • Honest Kiro usage matters more than claiming it: the write-up records exactly what Kiro did and what it didn't (no live agent session has run in the repo yet — the CLI login is still open).
  • Data quality wins: recipe data had to be real — invented ingredients would be caught by the first cook who tried them.

What's next

  • More recipes (seasonal sets), share pantry via link, metric/imperial toggle.
  • Optional: log in to kiro-cli and re-run the spec tasks through a live agent.

Built With

Share this project:

Updates

Submission history