DEV Community

Brian Ezekiel
Brian Ezekiel

Posted on

How Kiro's Spec-First Workflow Built My Hackathon App

I used to vibe-code everything: prompt, paste, pray. For Kiroween 2026 I tried
the opposite — and it changed how I'll build software forever.

The project

VoxResearch is a voice-first research assistant: speak or type any question
and Meta's Muse Spark streams back a search-grounded answer with live,
hoverable citations. Around it sits a 90-format visualization engine (charts,
tables, timelines, flowcharts — all on demand), one-click styled PDF export,
Gemini-style chat sessions, and a wipe-proof device quota. Try it here:
https://voxresearch-app.vercel.app

Specs before code

Before touching code, I wrote .kiro/specs/voxresearch.md: the goal,
functional requirements (voice input, grounded answers, result cards),
non-functional constraints (FastAPI, React + Vite + Tailwind, env-var keys),
and explicit out-of-scope items. Every build session started from that file.

The payoff was immediate. In past projects my AI assistant would drift —
Flask here, inline styles there, a mystery dependency by Friday. With the spec
as ground truth, dozens of iterations stayed architecturally coherent. When
Kiro suggested something off-spec, the spec itself was the referee.

Steering as guardrails

.kiro/steering/stack.md pinned the stack: FastAPI not Flask, Tailwind not
plain CSS, orange-on-dark Halloween theme, small single-purpose components.
Across 50+ generated features, Kiro never once introduced an off-stack
dependency or broke the theme. Steering docs are code review that runs
before the code exists — my single favorite Kiro feature.

Hooks for safety

.kiro/hooks/pre-commit.json scans every commit for hardcoded API keys. My
Meta key lived in the environment from day one and never touched git. I
verified the finished repo with a secret scan: zero findings. That one JSON
file replaced an entire category of worry.

Crew for scale

Two landmark Kiro Crew sessions shipped a 20-feature round (sessions,
templates, PWA, voice, PDF export) and a 30-feature round (visualizations,
batch search, compare mode) in single sittings. Later sessions added the
visualization engine and the PDF renderer with pixel parity to the chat. Weeks
of work, compressed into days, without the spaghetti that usually comes with
speed.

What I learned

  1. Specs beat vibes. Sessions that started from the spec shipped mergeable work; the one time I skipped it, I paid in refactoring.
  2. Constraints breed craft. The 60-second serverless limit forced parallel API calls and render batching that made the app faster for everyone.
  3. Probe the happy path. Raw-stream captures caught an undocumented event format, a WAV-only speech endpoint, and a network block — all before users could trip on them.

Kiro didn't just help me build VoxResearch. It taught me a better way to
build everything after it.

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

"Specs beat vibes" is the line I needed today. I used to build the same way — prompt, paste, pray — and the drift you describe is exactly what happened to me: a mystery dependency by Friday, and no single file to point to and say this is what we agreed. Your steering file is the part I want to copy first: pinning FastAPI, not Flask, and Tailwind, not plain CSS, in .kiro/steering/stack.md, then having 50+ generated features with never once an off-stack dependency, is a much stronger claim than just saying the spec helped. And the pre-commit hook scanning for hardcoded keys, with zero findings in the final scan, is the kind of safety that matters most when the code is moving fast. When you skipped the spec that one time and paid in refactoring, what did you change in the spec itself afterward — did you add a rule, or was the fix simply never to skip it again?