Use two AI agents to turn a prototype into a front-end specification

Devin Chasanoff separates planning from documentation so Gemini can help a user design an app before building it.

DCDevin Chasanoff登壇者 · Google
チャンネル
Google Cloud Tech
公開日
2026年11月3日
動画
11:59
読了時間
3 分
スライド
3
原文
英語
YouTube で開く
スクロールすると動画は右下に小さくなって再生を続けます。字幕は閲覧言語に合わせて切り替わります。
閲覧言語2 言語で読めます
この記事はまだ日本語に翻訳されていないため、英語の原文を表示しています。
要約

30 秒でわかる

A planning agent can help turn prototype screenshots and plain-language ideas into a front-end specification, while a separate scribe records the decisions. Google’s Devin Chasanoff demonstrates the process with Gemini and a fitness app. He asks the planner to explain unfamiliar concepts, works through routes and components iteratively, and ends with a document covering navigation, state, tests and reusable components for another agent to implement.

  1. 1Ask Gemini to build the planning workflow before the specificationChasanoff explicitly tells the agent not to create the final document in the first step. Instead it prepares a set of agents and skills.
  2. 2Give planning and documentation separate rolesA conversational agent works through decisions with the user; a scribe records their agreed results.
  3. 3Use prototype screenshots to start the design conversationThe example also references an existing data architecture document and leaves room to revise the interface.
  4. 4The finished specification covers more than page appearanceIt includes navigation, reusable components, client state, data flow, tests and a change log.

ポイント

  1. Ask a planning agent to discuss decisions before it writes the final specification.
  2. Separate the conversational planning role from the scribe that records agreed decisions.
  3. Use prototype screenshots and an existing data plan as context for the front-end design.
  4. Have the agent explain unfamiliar concepts while you supply judgment and feedback.
全文

チャプターごとに整えた全文を読む

文字起こしのみ
01

Build the planning process first

Chasanoff argues for a detailed front-end specification and asks Gemini to create agents that can guide the work.

Devin Chasanoff recommends creating a detailed front-end design specification before asking an AI to build an app. Rathis than chase individual features, the specification describes the interface, layout and interactions and provides a plan anothis agent can implement.

Using Google Antigravity, Chasanoff first asks Gemini to help create a set of agents that will guide the process and explain unfamiliar concepts. The example is a smart fitness app whose prototype was made in Google AI Studio.

The initial prompt states the desired outcome: a document covering the app’s design, layout and interactivity. Chasanoff explicitly says not to write the specification yet; the immediate task is to create the agents and skills for developing it collaboratively.

A prompt separates agent setup from the final specification
スライド 1 / 3A prompt separates agent setup from the final specificationThe prompt asks Gemini to create a planning companion instead of immediately writing the design specification.
02

Separate thinking from recording decisions

The planning companion explains concepts and discusses choices; a scribe records decisions in the specification.

A main planning agent acts as a thinking partner, asking questions and helping evaluate choices. Chasanoff asks it to explain concepts to a hypothetical friend who is new to the field, so the process teaches as well as produces a document.

The prompt also describes how the agent should interact. Chasanoff explains that an agent has an underlying harness of instructions, tools and goals, and that a custom agent can adjust the experience around a specific task.

He separates planning from documentation: the planning companion works through decisions with the user, while a second agent acts as a scribe and records the agreed results in the design document. Gemini creates and implements a plan for the agent setup.

03

Develop the design with prototype screenshots

A fresh agent session uses screenshots and a data plan to work through routes, components and interactions with user feedback.

Chasanoff opens a fresh Antigravity session to give the new agent a clean context, then activates the client planning agent. It proposes a roadmap and asks where to start.

Prototype screenshots and a data specification provide context
スライド 2 / 3Prototype screenshots and a data specification provide contextThe planning session receives the fitness app’s screenshots and a reference to its existing data architecture.

He provides prototype screenshots from AI Studio and points the agent to an existing data architecture specification. The screenshots establish an initial view of the fitness app, while leaving room to refine the design.

The agent explains concepts such as routes, offers recommendations and asks for feedback. Chasanoff and the agent work iteratively through the routes, component hierarchy and othis details instead of requiring the user to know every technical term in advance.

04

Review the finished front-end specification

The final document captures navigation, components, state and tests. Chasanoff says another agent can use it as the basis for implementation.

The repeated pattern reduces the effort of organizing each step, Chasanoff says, leaving his to apply judgment and design taste. Her questions are what the app should feel like and how to make it maintainable, scalable and useful.

The finished specification covers routes, components and state
スライド 3 / 3The finished specification covers routes, components and stateThe agent summarizes the sections produced during the planning session.

The resulting design document includes navigation and view maps, page specifications, a reusable component catalog, a client-state and data-flow matrix, test plans, and a change log. It records the technical detail needed for subsequent implementation.

Chasanoff says he expressed his ideas in ordinary language while Gemini translated them into a specification anothis agent could use. He expects this planning process to produce a better foundation than repeatedly adding features and fixing bugs without a design.

同じチャンネルの記事