← Back to glossary Glossary

Spec-Driven Development

Reviewed 19 July 2026 Canonical definition Part of: AI Agent Fundamentals →

Spec-driven development is a practice where a written specification, not a prompt, is the source of truth an AI coding agent implements from. The spec states intent, constraints, and acceptance criteria up front, so the output can be checked against something concrete instead of taken on trust. The human effort shifts from reviewing generated code line by line to getting the specification right.

§01 / QUESTIONSterm: Spec-Driven Development
Questions

Common questions.

What is Spec-Driven Development?

Spec-driven development is a practice where a written specification, not a prompt, is the source of truth an AI coding agent implements from.

How does Spec-Driven Development work?

The spec states intent, constraints, and acceptance criteria up front, so the output can be checked against something concrete instead of taken on trust. The human effort shifts from reviewing generated code line by line to getting the specification right.

Which terms are related to Spec-Driven Development?

Closely related concepts include Agentic Coding, Indirect Prompt Injection, System Prompt, Watermarking (AI). Each is defined in the Prefactor glossary.

§02 / RELATEDnext: where this fits
Keep reading

Where this fits.

See how every agent performs, and make it better

Prefactor helps teams observe, evaluate, and improve their AI agents in production, across every framework and provider.