What a design spec owes an engineer

Better handoffs help. Fewer handoffs help more.

My first real job in this industry was over a decade ago as a front-end web designer at a large weekly ad shopper e-commerce platform. Pretty much any time you came across a weekly ad to browse online from the likes of Walmart, Target, RadioShack (remember them!?), etc. it was powered by us. The role was a bit unconventional even for the time, but it was a fantastic and fulfilling role. I still think about it after all these years. You don’t see roles like that much anymore. I made both website mockups in Photoshop and wrote the CSS and front-end code that turned them into real experiences. CSS has remained one of my favorite materials to design in. One of the fastest ways to get me into a flow state is to throw a cool website design in my face and let me explore the CSS implementation of it.

The big difference with many roles today is that at the time nobody handed me a file, because I was the file. If a heading broke onto a second line at some awkward width, I saw it in the browser during my testing and changed either the layout or the comp. If a button’s hover state was broken I went right over to its :hover rule for some examination. The questions an engineer usually has to ask a designer were questions I asked myself and explored together with my colleagues out loud. I’d sit there at my desk thinking about different screen sizes, content lengths, zoom settings, screen resolutions, color contrasts... I came to realize these were empathy exercises and they’ve served me incredibly well over my career. It’s good to sit and think about others, in whatever context.

I didn’t think of it as a philosophy at first—it was just the job description. Looking back, it was the last place I worked where the gap between designing something and building it had nowhere to form.

I’ve spent the rest of my career watching that gap swallow up good work at companies that could easily afford better through missed launches and features that shipped half-baked. Customers can feel the difference without knowing why.


A lot has happened since that job. We had the mobile revolution, then tablets further expanded the number of layouts to consider. Retina displays arrived and every carefully exported PNG was suddenly a bit fuzzy. By around 2013 I was championing Sass, nesting selectors, and passing variables around to give CSS some extra muscle.

A lot of the work from that stretch still holds up, and every once in a while I’ll look up one of the old sites I designed to see if it’s still up and running, and when they are, they still look and work pretty damn good. Image sprites that packed a whole icon set into one request, with background-position offsets measured to the pixel. SVG icons, once browsers allowed them, that stayed sharp on any screen. Fluid layouts built on percentages before “fluid” was a word we started using in the industry. (By the way, if I ever want to quickly size up a bar, I ask them to make a classic daiquiri and see what comes out. Similarly, I keep my ears peeled for anyone that uses the word “fluid” instead of “responsive”. If you know, you know.) These techniques worked because the person deciding how a thing should look was also deciding how it would be built.

Today the tools we have are vastly better. Design files are shared and versioned. CSS has custom properties, container queries, clamp() and view transitions. Component libraries can exist in code and the design tool at the same time. I would have died to have these things in my earlier career. Those were times that, for example, when we needed to change a button for a design spec, we had to go to every single instance of that button in the designs and change them one at a time. Components were not a thing. Every screen was bespoke. Photoshop was never meant for those workflows, but that’s what we had.

So what I find strange is that the outcomes haven’t kept up. Look at something like Apple.com: the site changes constantly, with beautiful imagery and layouts that hold together from phone to desktop. Plenty of companies with real budgets still ship awkward breakpoints and tablet layouts that read like an afterthought, with critical buttons and features cropping and overlapping with one another. Things that should be table stakes by now. I can’t measure product quality across an industry, so I won’t claim it has gotten worse, but what I can say is that a decade of better tools hasn’t closed the distance between the best teams and everyone else.

When you trace one of those defects back, you rarely find a careless person. The designer drew the page correctly at the two widths they drew. The engineer built exactly what was in the file. The PM wrote a ticket that said “match the design.” Everyone did their job, yet the shipped product is still a little worse than the one everyone thought they approved.

I call what gets lost along the way the handoff tax: everything a design loses between approval and execution. Nobody budgets for it, nobody measures it, and everybody pays it.

Widening seams

As teams have scaled, job descriptions have gotten narrower and more specific about software, like a product designer fluent in Figma or a front-end engineer fluent in React. Both are useful skills, but neither describes the person who notices a hero banner clipping vital information at one breakpoint, or copy crammed awkwardly into a space, and knows whether to fix the type scale or the container.

Our tools have also gotten so good that we can all stay inside them. A designer today can do an entire project without opening a browser and an engineer can build an entire interface without touching the underlying CSS because the framework handles it. Each side here got a more capable workspace but fewer reasons to visit the other half.

Modern team processes generally pass work instead of sharing it. Requirements in one document, owned by a PM. Screens in a design file, owned by a designer. Code in one repository, owned by an engineer. Three artifacts (I’m dramatically oversimplifying here), three owners (another simplification), and two handoffs (again) before anything reaches a user.

Is a heading that breaks badly at 820px a design problem, an engineering problem or a product problem? Yes. This ambiguity is exactly why it ships: each person can reasonably say it belonged to someone else. Meanwhile the person who pays for it is a customer squinting at a cropped banner on their tablet, who never cared whose problem it was.

What a mockup owes

The items below are the ones a design spec should answer. I’ve written specs from both ends: what the designer can put in the file what the engineer otherwise has to guess, and what the builder and PM owe back. The short version of all this is the Build Test: seven questions I run on a feature before it goes to whoever builds it. The items fall into four groups: the system (values, tokens, type, spacing, motion), how things behave (containers, states, inputs), the real world (content and its limits), and the record (annotations).

Which values are deliberate

Every spec has two kinds of numbers: the numbers somebody chose and the ones that just happened to land where they are. An engineer can’t tell these apart, so both get reproduced faithfully, so for example a 13px gap nobody intended becomes a value in the codebase’s design system and token library. Mark what’s deliberate—or better—make the deliberate values the only ones available.

Tokens instead of values

Every color, size, space, radius, shadow and duration should point to a named token, not a raw value. When something in a design has no token or component behind it, that’s the early warning for silent substitution: a component rebuilt from scratch because nobody knew an equivalent already existed, or a new color added from an unintended one in the design spec. A year of this is how a library with a tight set of tokens and components becomes a product with hundreds of one-offs from small to big. The complexity exponentially increases as well, because all of the smaller atomic pieces are then used across all the bigger, complex ones like hero banners and promotion templates so doing any cleanup becomes a major refactor.

Type between the drawn widths

A standard mockup typically shows type at two or three breakpoints, but the real product shows it at every width. The file should give the minimum, preferred and maximum size (in CSS terms, a clamp()), the line length it’s aiming for, and what a heading does when it wraps. “16px on mobile, 24px on desktop” leaves the engineer to invent everything between the design spec’s explicit widths.

Spacing as a system

Define the scale and say which relationships are fixed and which are proportional. Does the gap between a card’s image and its title stay at 16px or grow with the card? A layout that looks right at 1440px and wrong everywhere else is usually spacing that was measured by the engineer rather than specified in the designs.

Motion with a spec

Motion is the most-guessed part of builds today because a static frame can’t show it. It’s also the most forgotten and inconsistent part of most products. Back in the day it was responsive layouts or retina images, but today it’s motion and it’s a key opportunity for any team looking to build a best in class experience. Each animation or transition needs a duration, an easing curve, a trigger, whether it plays once or every time, and what happens when someone has ‘reduced motion’ set on their device. Tokenize motion the way you tokenize color: a few named durations and a couple of easing curves can cover nearly everything and it really sets an experience apart from its peers with little to no overhead for the designers.

Components that respond to their container

A component drawn in one spot tends to work best in that specific spot, but that shouldn’t be the case. Describe how the component behaves when its container is narrow or wide, not only when the screen itself is. Container queries make this easily buildable, but the spec still needs to capture what should happen. Media queries had a good run. Container queries are where the real magic happens.

The states nobody drew

Designs mostly get drawn with the content that makes them look the best, but the real product will have things like an empty search results page, failed checkout, product names that run long, photos that a user uploaded sideways, and more. When these states aren’t designed, then engineering invents them under deadline. This is what I call state amnesia and it’s why so much of what people see on a bad day was never intentionally designed by anyone.

Interactions for every input

Hover, focus, pressed, disabled, keyboard order and touch targets. Some of these carry particular risk and harm: if focus states aren’t in the file, then accessibility gets retrofitted late or skipped, and so those who rely on a keyboard find out first. The legal risk is real too: more than 3,000 website accessibility lawsuits were filed in US federal court in 2025 alone and most of the companies and clients I’ve worked with have been sued at some point in their past.

Real content and its limits

Real copy, character limits, truncation rules, how much a translation can grow, what happens when a field arrives empty, and constraints the design quietly ignores like a CMS field that can’t hold formatting or prices that arrive without the discount applied. These ignored constraints come back during the build phase as an argument and the decision gets re-litigated by whoever is in the room that week.

Annotations that explain decisions

Annotate the rule and the reason, not just the pixels. Annotate the exceptions, not just the default. Link the token instead of restating its value so the note can’t drift out of date. Other people will have to own and reference the designs in six, twelve, eighteen months, so the reasoning itself needs to be written down. When it isn’t, you’ll be paying for ownerless drift.

A map of the gap

Every item on this list exists because two people each hold half of an answer. As a checklist, it’s about documentation, but as a map, it marks every place work changes hands and every place where something can fall into the gap.

The first question in our Build Test isn’t about any file at all, it asks who builds the feature and whether they’ve seen it yet. They need to be shown before anyone else because they’ll answer most of the other questions faster than anyone else involved. Shortening the distance between people does more than lengthening a spec.

The honest answer to what a mockup owes an engineer is twofold.

On the one hand, the file owes everything on the list, every time, because handoffs aren’t going away and we should always strive for great handoffs. But at the same time, we need to strive for fewer handoffs so the list gets shorter. We need better handoffs and fewer of them. Neither works without the other: a perfect spec thrown across a wide gap still loses something, yet a team that sits together and writes nothing down re-litigates decisions.

When making gets cheap

AI tools are getting so good at the producing part of each of these jobs. Photoshop to Figma has dramatically shifted our capabilities over the last decade, but the capabilities we’re seeing with AI tools are something else entirely. These tools can draft a screen from a description, turn the screen into components and a larger tokenized design system, write the requirements doc, and then build it all. Each of these pieces used to take a specialist most of a day or even an entire week.

When producing gets cheap, judgment and taste are what’s left: knowing the hero banner shouldn’t crop on tablet, that the motion easing feels wrong and inconsistent, or that the product carousel swiping gestures feel unresponsive and janky. A tool that converts a design file into React will convert it faithfully, including the states nobody drew. It just ships the guess faster.

This changes the math for narrow roles. A designer who only draws, an engineer who only implements, or a PM who only writes requirements are each standing on a piece of the job an AI model now does in minutes.

I still watch this play out. A designer spends three days on a spec that covers half of what the build needs. Then an engineer skims it, asks maybe a few questions, if any, and fills in the rest with their own taste. Two weeks before launch a dozen stakeholders open the staging link and find a bunch of problems. Everyone gets a little upset and everyone is a little right. Then the team holds a retro, agrees to communicate better, and does the exact same thing next quarter.

Bluntly: every step of this sequence is work an AI tool now does in minutes, and it won’t need a retro afterward. The people who get more valuable are the ones who can carry an idea across the seam, who know what great looks like and can hold it all the way to launch while the tools do more of the typing.

I work this way now. This site was designed and built in code with AI-assisted tools, with no design file handed to anyone, and so were several of the products I’ve built for myself and clients. The design and the build happen in the same place, by the same people. It’s the arrangement I had in that first job (with far better tools) and it means there’s nowhere for gaps to form. For a recent client, I built a high-fidelity prototype of their new homepage in a few days: the updated design, fully responsive and interactive, running in a real browser. Nobody had to imagine how it would behave on a tablet, they could pick one up and check. This small team was making decisions faster than competitors ten times its size, because nothing was waiting on a handoff. It was reviewed and approved in a day over email.

I should caveat this a little: this works for people like me partly because I spent years on both sides before these tools arrived. A designer who has only ever drawn screens can generate code now, but generating it and knowing whether it’s right are different skills. This is similarly true for engineers, PMs, marketers, etc. Gaps don’t just exist in the handoff between design and engineering. These new tools lower the cost of crossing the seam but they don’t supply the judgment required on the other side.

What fewer, better handoffs look like

None of this is an argument against specialists. I want someone deep on the database, on security, on accessibility, and others. The seam especially worth closing is a narrower one: between deciding how something should look and behave, and making it do that. It’s the seam where splitting the work costs the most—in things like user trust, performance, accessibility, literal time—and saves the least.

Make tokens the shared contract. Color, type, spacing and motion need to live as named values that the design system and the codebase both reference. When a designer changes a token, production changes with it, and nobody has to transcribe anything.

Prototype in the real medium. The browser shows what a static frame can’t: a hero banner cropping vital information at 820px, an easing curve that feels sluggish, a list with 400 items in it. A rough prototype in code answers more of the list above than any mockup does.

Let people cross. Have a designer ship one small change to production this quarter. Have an engineer own one design decision from sketch to release. Have a PM build a working prototype instead of writing the requirements for it. Each one of these narrows the seam by a little and doesn’t need any sort of reorg.

Hire for span. When you’re interviewing, don’t ask about which tools they know, ask about the last time they worked on the other side of a handoff. Tool fluency is the part that’s getting cheaper (if tool fluency really ever mattered, but I won’t get started on that tangent).

For the handoffs that remain, run the Build Test with the person who’s going to build it (early enough that an answer can still change the design). There’s no score. Count the blanks, put a name next to each one, and run it again before handoff.

When I used to sit at my desk over a decade ago thinking about screen sizes, zoom levels and color contrast, I didn’t have a name for it. Every state you design, every token you name, and every question you ask before the build is a way of caring about the person on the other end of the product—empathy. The fewer gaps our care and craft has to cross, the more of it reaches the people we’re building for.

Next time a design is about to go to engineering, ask the first question: who is building this and have they seen it yet? If the answer is no, the best design spec in the world is just a letter to a stranger.

Next step

Losing something in the handoff?

SUPERBOLD Design Lab is a design practice in Chicago. Bold work that survives the handoff.