Spec-driven development: Unpacking one key new AI-assisted engineering practices
thoughtworks.com·7h·
Discuss: Hacker News
⚙️TLA+
Preview
Report Post

What is a spec?

A specification is definitely more than just a product requirements document (PRD). Even simply applying a more structured prompt and more explicit technical constraints can produce better code than a plain PRD.

Technically, a specification should explicitly define the external behavior of the target software — things like input/output mappings, preconditions/postconditions, invariants, constraints, interface types, integration contracts and sequential logic/state machines.

In the past, specifications were often written in highly formalized, machine-readable formats. Today, with the help of LLMs, we can describe them using natural language. Essentially, though, a specification still defines the behavior of the target software; it doesn’t just describe business …

Similar Posts

Loading similar posts...