Technote

Development workflow Intro

Series From design file to WordPress — the handoff Part 1 of 8

Hand over rules, not just screens

Hand over twenty screens and the developer asks about the twenty-first. What lets them build the screens you never drew is a set of rules — and rules travel in a different form from compositions.

The questions start the moment you hand the design over. “How do these cards sit when there are three?” “What if the title wraps to two lines?” “What shows when the list is empty?” You handed over twenty screens, and the twenty-first still is not drawn.

Trying to solve that by drawing more screens never ends. The number of possible layouts grows with the content, and the day a designer has drawn them all does not arrive. The goal of a handoff is not to draw every screen; it is to make sure the developer can build the screens you never drew.

A screen is a result; a rule is what produced it

Every composition contains dozens of decisions: why this gap is 24, why this text is 18, why this grey differs from that one. Hand over only the file and those decisions become values that have to be measured back out. The developer reads 24 here, reads 26 on the next screen, cannot tell which one was intended, and comes back to ask.

Send one line alongside it — “spacing is chosen from a four-based scale” — and the same developer decides for themselves which of 24 and 26 is the slip. Rules do not replace compositions; they answer the questions a composition cannot.

The handoff bundle — four parts

What actually travels is four things, listed in order of importance.

The handoff bundle — compositions come last, so they read as examples of the rules

The token scales are the complete list of values this site is allowed to use: ten colours, twelve spacing steps, eight type sizes — with the promise that nothing outside the list gets used. Given a list, nobody has to invent a value when a new screen appears.

The component list is a set of name tags for the repeating pieces — card, badge, notice, button — and the developer uses the same names. The next part is about nothing but getting those names to match.

States and edge cases are the most frequently omitted and the most expensive to omit. Ship only the happy path and the empty state and the error state get imagined during implementation, and that imagination rarely matches what you had in mind.

What goes wrong when a part is missing

The same design — but what you hand over decides the shape of both the build and the review

The short version: a composition is the artefact that is easiest to see and carries the least information. Without the decisions behind it, those decisions get made again during implementation, and this time the designer is not the one making them.

WordPress is a good container for these rules. Put the tokens into the theme’s style layer and every later screen is built from that list, so editors can write freely without the design drifting. Related articles live in the development workflow archive, and the order the work actually runs in is published on our process page.

Next part

We start with the second item in the bundle: matching component names. When design and code use different words for the same thing, every conversation carries a permanent translation step.

More on this topic

All technotes

Development workflow Practical

Turning taste arguments into rule checks

"It feels a bit cramped" can be neither argued with nor fixed. Spacing off the scale, colour off the palette, contrast below threshold, missing states — four rules…

Designers 9 min read

Development workflow Practical

Do not swap everything at once

A full swap makes every problem appear at the same moment — which means none of them can be attributed. So you switch one template at a time.

Designers 6 min read

Development workflow Practical

Adding an SCSS build, and whether to commit the output

WordPress themes are expected to deploy without a build step, which leads to the opposite conclusion from ordinary application code — and to its own costs.

Developers 7 min read

₩270,000 · Join the program