Design Documents

The worked design a feature is built to, kept where your team already keeps it, and bound to the spek that needs it.

What a design document is

When to use one instead of a spek section

A design document is not a second home for anything technical that came up. Three tests decide it, and all three have to hold.

Working a design out with Spek

A design you have not written yet is worked out in conversation, then written down, rather than being left for you to draft alone.

What an authored design records

The lifecycle record on a design Spektacular wrote with you, field by field.

How they relate to speks and plans

A design binds the work without being copied into it, and the binding runs in one direction only.

Declaring where designs live

Design sources are declared by the project, in config.yaml. A repository does not declare its own.

Working with designs from the command line

Agents reach design documents through the CLI rather than by reading files directly, as they already do for speks, plans and changelog records.

When a reference cannot be found

An unresolvable reference is reported while planning, not discovered halfway through implementation.

Why it works this way

See it in the workflow

Design documents are read during planning, before any design work begins. See where that sits in the spec-driven pipeline.