2026-12-02Gunner Technology

Give the Agent a Design Packet, Not the Keys

Give a coding agent the design context for its task, not unrestricted access to every design file and conversation. Package the approved components, states, constraints and examples in a versioned input, then verify the result against that same packet. More access feels convenient right up until the agent acts on something unfinished, obsolete or private.

What design context does a coding agent actually need?

It needs the decisions required to build and check one piece of work. That usually means the approved component or pattern, the content and behavior requirements, every relevant state, the allowed variation and examples of what should fail. A design packet is a versioned bundle of those task-specific decisions. It is not a dump of the design team's workspace.
Start with the user action the change must support. Include the normal path, empty and loading states, validation, failure and recovery. Name the design-system components the agent may use and the conditions under which it may introduce something new. If the task changes an existing flow, attach evidence of the current behavior so the agent can distinguish a deliberate constraint from an accident.
A screenshot alone is not enough. It shows one moment but hides keyboard behavior, responsive rules, permissions and what happens when the request fails. Our guide to moving product judgment into agent-ready inputs explains why the choices in someone's head have to become explicit before implementation begins.

Why not give the agent the whole design workspace?

Because access is not the same as context. A full workspace contains drafts, abandoned directions, private research, comments without authority and components that belong to other products. The agent still has to guess which material governs its task, and now a wrong guess can cross a permission boundary as well as produce a bad interface.
Broad access also makes the run harder to reproduce. If a file changes halfway through the job, the builder and reviewer may be judging different inputs. If search returns a newer draft before the approved design, the agent can faithfully implement the wrong thing. Preserve the packet's version and bind the work item to it, just as approval should belong to a specific version of the output.
Keep the source workspace behind its existing identity and permission controls. Let a trusted intake step read only the approved material and produce the packet. The coding agent receives that bounded artifact, not a reusable credential that can browse every project. If it discovers a missing decision, it asks for that decision; it does not widen its own access.

How do you keep the packet from going stale?

Give every packet an owner, a source version and a condition that invalidates it. A changed component contract, revised requirement or new accessibility rule should stop affected work until the packet is refreshed. Do not rely on an agent noticing that a nearby document has a later date.
Put durable rules in the design system and its executable checks instead of copying them into every packet. The packet should point to the exact approved component version and add only the decisions unique to this task. That keeps shared rules consistent while leaving a clear record of what the agent was told for this change.
When a reviewer corrects the same issue twice, repair the source of the context. Update the component, example, rule or packet generator so the next run starts with the correction. A private comment on one pull request fixes one output. A governed update changes the factory.

Who checks that the agent used the design context correctly?

A verifier separate from the builder checks the result, while the product or design owner keeps authority over judgment calls. Automated checks can prove component use, tokens, accessibility properties and required states. They cannot decide whether an unfamiliar interaction communicates the right thing to a person.
Make the evidence match the packet. Capture the implemented flow at the relevant viewport sizes, exercise failure and recovery, and tie those results to the exact code and packet versions. The owner should be able to compare the approved expectation with the running behavior without reconstructing the task from a conversation. Product and design ownership of checks matters because engineering should not silently rewrite the product decision while implementing its test.
The interface also has to reflect real system states, not just the happy path in a mockup. Checking whether an interface tells the truth is part of design verification, especially when permissions, delays or failures change what the user can actually do.

Where should you start?

Start with one recurring flow that already uses approved design-system parts. Ask a designer and product owner to assemble the smallest packet that would let a new teammate build it without opening the wider workspace. Then have an agent build from that packet in an isolated branch.
Deliberately remove one required state and confirm the intake check refuses the packet. Give the builder an outdated component reference and confirm the version gate stops it. Finally, introduce a visually plausible but behaviorally wrong result and confirm the verifier rejects it. Those failures tell you whether the boundary works before the factory depends on it.
The goal is not to starve the agent. It is to make every piece of context intentional, reviewable and safe to use. Give the machine what the job requires, keep the archive behind a boundary and let people decide when the design itself needs to change.

Quick answers

Can a design packet contain screenshots?

Yes, but pair them with behavior, states and constraints. A screenshot cannot describe what happens before, after or when something fails.

Should the coding agent be able to request more context?

Yes. Route the request to the packet owner, who can add an approved decision without granting the builder wider access.

Does every task need a custom design packet?

Every task needs a bounded input, but most of it can be assembled from shared, versioned components and rules. Add custom material only for decisions unique to the work.