Design review feedback

From BuilderIO/agent-native · View interactive version

Design review feedback is an AI agent skill from the GitHub repository BuilderIO/agent-native. Work through persisted, element-anchored review comments on shared Design prototypes and close the loop with verified edits.

How to use this skill

Skill file

Design Review Feedback

Use the shared review actions for design feedback:

  1. Call view-screen first so the active design, screen, and review queue are

current. It reports design.review.openThread: the thread the user has

open, null when none is, or { threadId, unavailable: true } when it is

open but cannot be read.

  1. When the user says "this comment" or "this thread", work on

design.review.openThread. Otherwise call get-review-feedback for the open

queue and work on one root thread at a time. Keep the thread id, target

screen id, anchor node id, and nearby context together while editing.

  1. For element-anchored feedback, prefer the stable

data-agent-native-node-id from the anchor. Use the stored percentage point

only as a visual fallback when the node cannot be resolved.

  1. Read the affected file with get-design-snapshot, make the smallest

persisted edit with edit-design or the appropriate design action, then

verify the saved result with get-design-snapshot and a screenshot

when the change is visual.

  1. Resolve the thread with resolve-review-thread only after the edit is

persisted and verified, and pass resolutionNote with a one-line description

of the persisted change. If the user needs to decide something, reply with

reply-review-comment and set resolutionTarget: "human"; do not silently

resolve it.

  1. After applying a thread, call consume-review-feedback for the applied

agent-targeted root comment so the queue does not repeatedly resurface the

same work.

Reviewers can leave a human-only comment or choose Send to agent when

composing. Editors can selectively route an existing open thread with

send-review-thread-to-agent; that action only changes the selected thread.

When a thread is sent from the Design UI, the agent chat handoff includes its

thread id and instructs the agent not to apply other queued feedback.

Use create-review-comment for agent-authored follow-up notes when a durable

record is more useful than a chat-only explanation. Keep review comments

scoped to the design resource and the target screen; never copy large HTML,

screenshots, or provider payloads into a comment.

Comment-started runs

An editor can also start a background agent run from a thread: an @agent

chip in their comment, or the card menu items Suggest changes and Apply

changes and resolve. A question put to @agent is answered as a reply. Send to

agent is not one of them; it still opens this chat. A run is scoped by code,

not by its prompt:

@agent the run first classifies the comment (get-review-agent-context,

submit-review-agent-classification); unsure means the lesser intent.

post-review-agent-reply. Suggest: the same plus

propose-review-agent-changes, which dry-runs search/replace edits and posts

them without changing the design. Apply and resolve:

apply-review-agent-changes edits only the thread's screen through

edit-design, verifies the saved result, posts the receipt and resolves the

thread itself. Suggest and apply runs use post-review-agent-reply only with

needsInput: true, to ask the requester one question.

task.

design.review.openThread.activeAgentRequest; do not duplicate its work or

start another.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.