Sub topic 13
Reviewing the handoff with the developer
This chapter covers the last step of a handoff: a structured review with the person who will build the design. It assumes you have worked through the earlier chapters: you can organize a file, name tokens, specify layout, type, and color, export assets, document component states, and annotate interactions and accessibility. It also assumes you can read basic HTML and CSS.
Why a review is a separate step
A handoff file can be complete and still fail. The designer knows what each frame means. The developer sees it for the first time, with a different mental model: components, data, framework limits, and browser behavior. A review finds the gaps between those two views before code is written, when a fix costs minutes. After the build, the same fix can cost days.
A review has three jobs:
- Confirm that the developer can find everything: tokens, states, assets, annotations.
- Surface questions and technical constraints while the design can still change cheaply.
- Record decisions, so that nobody has to rely on memory later.
A review is not a presentation of the design. The developer should spend most of the time reading and asking, not listening.
Prepare before the meeting
Do a self-check first. If the developer finds a missing hover state in the meeting, the meeting becomes a repair session. Walk through the file as if you were the developer and look for gaps.
| Area | What to check |
|---|---|
| File structure | Pages and frames follow the naming scheme. A "Ready for dev" page exists and holds only final frames. Old explorations sit on a separate page. |
| Tokens | No raw hex values or one-off pixel sizes in the final frames. Every color, space step, and radius uses a named token. |
| Layout | Each frame states its grid, margins, gutters, and max content width. |
| Type and color | Each text style has a size, weight, line height, and token. Text and background pairs meet contrast targets. |
| Assets | Every exportable asset has a name, a format, and the scales it needs. Photos have alt text drafted. |
| States | Each interactive component shows default, hover, focus, active, disabled, loading, error, and empty states where they apply. |
| Responsive | Each breakpoint is shown or described, with what changes and what stays fluid. |
| Interaction and accessibility | Motion has a duration, easing, and trigger. Focus order, labels, and reduced-motion behavior are written down. |
Send the link to the developer a day ahead, with a short note listing the pages to open and anything you already know is unresolved. Developers who read the file first ask better questions.
Run the review in a fixed order
Follow the same order each time, so nothing depends on how the conversation drifts. The order below moves from the foundations up to the details, which matches the dependencies in the earlier chapters: tokens come before specs, and specs come before states.
A practical agenda for a medium-sized page or feature:
- Scope (5 minutes). State which frames are in scope and which are not. Name anything intentionally left to the developer's judgment.
- Tokens and layout (10 minutes). Confirm the token names match what the codebase already uses. Check the grid, spacing steps, and max width.
- Components and states (15 minutes). Go component by component. For each, ask which existing component it maps to and whether any state is missing.
- Assets (5 minutes). Confirm formats, scales, and file names. Check that the developer can export or download what they need.
- Responsive, motion, accessibility (10 minutes). Walk through each breakpoint change, each animation, and the keyboard path.
- Wrap-up (5 minutes). Read the question log aloud with owners and dates.
Ask questions that expose gaps
Closed questions such as "Does this make sense?" invite a polite "yes". Ask questions the developer must answer with specifics:
- "Which of these components already exist in the codebase, and which are new?"
- "What happens when this title is 120 characters long?"
- "What does this list show when the request fails? What does it show before data arrives?"
- "Is there anything here the current stack cannot do, or can only do at a cost?"
- "Which values here have no token yet?"
Listen for the answers that change the design. A developer might say the date picker is a native control, so the custom styling in the mock is out of reach. Or they might say the hero image comes from a CMS at one aspect ratio, so the art-directed crops need a different plan. Both are useful findings. Both need a design decision, not just a note.
Check that the tokens survived the trip
Names in the design file and names in the code drift apart easily. A cheap automated check catches this. The script below flattens a token JSON file (in the shape used in the tokens chapter) into CSS custom property names and compares them with the properties declared in a stylesheet.
import json
import re
import sys
def flatten(node, path=()):
"""Yield (css_variable_name, value) pairs from a nested token dict."""
if isinstance(node.get("value"), str):
yield "--" + "-".join(path), node["value"]
else:
for key, child in node.items():
yield from flatten(child, path + (key,))
def read_css_vars(css_text):
pairs = re.findall(r"(--[\w-]+)\s*:\s*([^;]+);", css_text)
return {name: value.strip().lower() for name, value in pairs}
def main(tokens_path, css_path):
with open(tokens_path, encoding="utf-8") as f:
tokens = {name: value.lower() for name, value in flatten(json.load(f))}
with open(css_path, encoding="utf-8") as f:
css_vars = read_css_vars(f.read())
missing = sorted(set(tokens) - set(css_vars))
extra = sorted(set(css_vars) - set(tokens))
changed = sorted(n for n in set(tokens) & set(css_vars) if tokens[n] != css_vars[n])
print("Missing in CSS:", ", ".join(missing) or "none")
print("Not in tokens:", ", ".join(extra) or "none")
print("Different value:", ", ".join(changed) or "none")
return 1 if (missing or extra or changed) else 0
if __name__ == "__main__":
sys.exit(main(sys.argv[1], sys.argv[2]))Run it as python check_tokens.py tokens.json tokens.css. With the token file and stylesheet from the earlier chapters, it reports that --color-text-default and --space-4 are missing from the CSS. Neither was used by the button, so nobody declared them. That is a typical review finding: a token that exists in the design but not in the code, found before a layout needs it.
The script is a prompt for a conversation. It does not decide anything. If a token is missing, ask whether it should be added or whether the design should stop using it.
Keep a question log
Every question raised in the review goes into one list. Do not leave questions in chat threads or scattered comments. Each entry needs four fields:
| Field | Example |
|---|---|
| Question | What is the empty state for the saved-items list? |
| Owner | Designer |
| Blocking? | Yes: the list component cannot be finished without it |
| Due | Tuesday, before the sprint starts |
Sort entries into three kinds:
- Blocking. The developer cannot finish the component without an answer. These need an owner and a date.
- Non-blocking. The developer can build a reasonable default and adjust later. State the default so the developer can proceed.
- Deferred. The item is out of scope for this release. Record that it was deferred on purpose, so it is not mistaken for an oversight.
Update the design file with every answer. If a decision lives only in the log, the next reader of the file will not see it. Link the log from the file's cover page, so there is one place to look.
Handle changes after sign-off
Sign-off means the design is ready to build against. It does not mean the design is frozen forever. Agree on a change process before it is needed:
- The developer reports a problem in the existing log, not in a private message.
- The designer decides whether the problem is a design gap, a technical constraint, or a misreading.
- Each change gets a version note on the affected frame, such as "v2: added error state for the search field".
- The developer is told about every change, even small ones. Silent edits to a file already in development are a common source of rework.
When a constraint forces a compromise, choose it deliberately. Compare the options by what the user loses, what the build costs, and how easy each is to reverse. Write down which was chosen and why.
Close the loop after the build
A review has a second half. When the developer has a working build, compare it to the design, a step called design QA. Do it in the browser, at the real breakpoints, with real states. Check these items:
- Tokens: inspect an element and confirm that computed values come from the expected custom properties.
- States: tab through the page for focus, hover each control, and force the disabled, loading, error, and empty states.
- Responsive: resize through every documented breakpoint and watch for layout jumps.
- Assets: confirm the right formats load, and check that images have dimensions so layout does not shift.
- Accessibility: use only the keyboard, zoom to 200%, and turn on reduced motion in the system settings.
File findings in the same log, marked as build issues rather than design questions. Separate them by severity so the developer can fix a broken focus ring before a 2px spacing difference.
Common errors in handoff reviews
- Reviewing too late. If the review happens after the sprint starts, any real problem collides with a deadline. Schedule it before.
- Presenting instead of reviewing. If the designer talks for 40 minutes, the developer's questions never surface. Cap the walkthrough and give the developer the controls.
- Skipping the unhappy paths. Error, empty, and loading states are the most often missing. Ask for them by name.
- Treating the developer as a pixel checker. Ask about constraints and component reuse as well. Developers see problems that are invisible in a mock.
- No owner on a question. A question without an owner stays open until someone builds the wrong thing.
- Not closing the review. End with a clear statement: "These N items are blocking, owned by these people, due on these dates." Without it the review dissolves.
Exercise
During a review, the developer says the design's custom-styled select menu cannot be built with the current component library without a large cost. The sprint starts in two days. What do you do, and what do you record?
Show answer
Classify the issue as blocking, then compare options on what the user loses, what the build costs, and how easy each is to reverse. Typical options are a native select with token-based styling, a short follow-up for the custom menu, or a custom build that delays the sprint. Choose one with the developer, update the affected frames with the chosen design, and add a log entry with the decision, the date, who decided, and the reason. If the custom menu is deferred, mark it as deferred on purpose.
Exercise
Your token check prints "Different value: --color-brand-primary". What are the two most likely causes, and who should resolve the difference?
Show answer
Either the design file changed after the code was written, or someone edited the CSS by hand without updating the token source. The designer and developer resolve it together by deciding which value is correct, then updating the other side and the token file so both agree again. Record the decision in the log.
Exercise
Name three things you should check in the browser during design QA after the build, and one thing to do in the system settings.
Show answer
Any three of these: computed values come from the expected custom properties, all documented states (hover, focus, disabled, loading, error, empty) appear correctly, the layout holds at every documented breakpoint, the right image formats load with dimensions set, and keyboard-only use works. In the system settings, turn on reduced motion to check that animations are toned down or removed.