Methodology

Spec-Driven Development

Building marketing systems from documented intent

The practice of writing a formal specification — defining intent, context, and success criteria — before building any system or infrastructure. The spec is reviewed and approved. Then the build executes against it. Nothing ships without one.

The core principle

Spec-Driven Development originated in software engineering, where it describes the practice of writing a formal specification before writing code. The spec defines what the software is supposed to do. The code is then written to satisfy the spec — not the other way around.

The same principle applies to any complex system. Electrical contractors don't run cable before the drawings are signed off. Litigation teams don't file before the evidence is documented. Architects don't break ground before the plans are approved.

Marketing infrastructure is the one discipline that routinely skips this step — and pays for it in systems that nobody understands, that can't be attributed, and that collapse when the person who built them leaves the engagement.

As AI agents take on more of the execution work, the spec becomes the most important document in any build. An agent executes against what's written. A vague spec doesn't get filled in with judgment — it gets filled in with guesswork at speed.

This is also where SDD becomes a structural advantage, not just a process discipline. As AI makes execution cheaper — content, code, campaign setup — the value of execution compresses. Value migrates upstream to the decisions that precede it: what to build, why, against what criteria, and how you'll verify it worked. The specification-to-verification chain is exactly that upstream layer. It can't be automated away, because it requires judgment about what correct looks like before any agent runs.

The businesses that invest in specification discipline now are building something that compounds. A well-maintained spec library makes every subsequent build faster, safer, and better aligned — because the context is already documented. An agent executing against a clear spec produces better output than one executing against informal guidance. As agentic capabilities improve, the gap between specified and unspecified systems widens. The spec is where the moat is.

Why marketing infrastructure fails without specs

Most marketing system failures trace back to one of four root causes — all of which a spec would have prevented.

Built the wrong thing

The system was built technically correctly, but it solves the wrong problem — because the problem was never formally defined before work began.

No one knows what they own

The build is complete but undocumented. The consultant knows how it works. The client doesn't. When something breaks, there's no baseline to reference.

Scope grew invisibly

Without a spec, there's no agreed definition of what was in scope. Additions accumulate. The invoice surprises everyone.

Can't evaluate if it's working

No success criteria were defined. The system is live but there's no agreed measure of whether it's performing or not.

What a marketing spec contains

A spec is not a project plan, a task list, or a scope-of-work document. It is a description of what the system is supposed to do and how you'll know if it's doing it. In practice, a marketing infrastructure spec covers five areas:

Intent

What is this system supposed to do? What business problem does it solve? Stated in plain language, not technical terms.

Context

What constraints exist? What is the existing stack? Who will use this system? What are the integration requirements?

Success criteria

How will we know if this is working? What are the measurable outcomes? What does "done" actually mean?

Ownership map

Who is responsible for each component? Who approves changes? Who maintains it after the build is complete?

Change protocol

How will deviations from the spec be handled? What requires re-approval? How are scope changes documented?

Three properties of a good spec

1

Written in plain language

A spec that only the person who wrote it can understand isn't a spec — it's a dependency. The document needs to be readable by the client, the build team, and anyone who inherits the system later.

2

Approved before work begins

The spec has no value if it's written after the fact. It must be agreed to — formally — before any build work begins. Review it. Ask questions. Change it if it's wrong. Then sign off.

3

Owned by the client

The spec belongs to the business whose system is being built. Not to the consultant. When the engagement ends, the document stays. It's the baseline for every future decision about that infrastructure.

SDD in the Yellowhead workflow

Every Architect engagement at Yellowhead is structured around the SDD principle. The three phases map directly:

Audit Discovery

The diagnostic reveals the current state — what's working, what's broken, what's missing. This is the evidence base the spec is built from.

Blueprint The Spec

The Blueprint is the spec. It defines intent, context, success criteria, ownership, and change protocol for the system being built. Reviewed and approved before any build work begins.

Build & Monitor Execution

The build executes against the Blueprint — whether execution is human, AI-assisted, or agentic. Deviations are discussed and documented, not assumed. Monitoring is held accountable to the success criteria the spec defined.

Note: SDD also informs the Audit stream. The Strategic Assessment produces an implementation roadmap — a proto-spec — that clients can use whether or not they proceed to an Architect engagement. The habit of documenting intent before building is the underlying principle at every level.

See SDD in Action

The Architect stream is where Spec-Driven Development is applied fully. Start with the free diagnostic to understand your current infrastructure — then talk to us about what a Blueprint for your business would look like.