HACKATON AIbyTrans.eu

talk · day 1 · 14:30

Spec-driven
development_

First LastnameJob title, Company

01

Why specs first

Agents are fast. Without a spec they are fast in the wrong direction.

the idea

Agents don’t need more code. They need better specs.

A good spec has

  1. GoalOne sentence a user would recognise.
  2. ConstraintsWhat must not change, what it must run on.
  3. Acceptance testsHow the agent knows it is done.

Live demo

claude "implement SPEC.md, run the tests"

reading SPEC.md · 3 goals · 7 acceptance tests
writing src/route-planner.ts
running tests…
✓ 7 / 7 passed

The spec file

# SPEC.md
goal: suggest the cheapest carrier for a load
accept: price within 2% of the manual quote
constraints: no new dependencies

p(done) =0.87

of tasks finished overnight by agents without a human touching the keyboard.

Before / after

Prompting

  • Long chat threads
  • Context lost every morning
  • “Make it better”

Spec-driven

  • One file, versioned
  • Agents resume on their own
  • Tests decide when it’s done
The spec is the product. The code is just its current build.
— someone at 3 a.m.

questions

Thank you_

First Lastnamename@company.com · linkedin.com/in/name

00:00