Spec Framing

Requirements Decomposition & Testable Spec Creation

02 / 12

Don't hand the agent a vague ticket. Hand it a contract it can test.

The Shift

Fuzzy tickets used to be easier to survive. You could read between the lines, ask the product team a sharper question, and catch the missing edge case before review. Your judgment kept the work from drifting.

Give that same fuzzy ticket to an agent and it fills the gaps too, but without your judgment. It will not pause at ambiguity. It guesses confidently and builds fast. The vaguer the ask, the more wrong code comes back.

The skill is not new. The handoff point is. Use the agent to find assumptions, draft product questions, capture your answers, and turn them into a clear spec. Write down the user, the state change, the examples, the non-goals, and the checks that prove it works. Keep each slice small enough to test and review.

Vague request

Six confident guesses, six wrong builds — you catch them in review, not before.

A contract it can test

Acceptance criteria the agent verifies — the first diff matches intent.

Ticketvague

SPEC.mdtestable

A spec spells out

  • actor + goal
  • state change
  • examples
  • acceptance criteria
  • boundaries & failure states
  • "not in scope"
  • checks that prove it

Spec Framing diagram

Page 8 of 72: Spec Framing

Contents