UnifyApps Headless
Logo
Build a web page

Build a web page

Logo

4 mins READ

This guide shows how to build a page of a web app with the build loop. You can start from a design or from your own words. Either way, every page is checked in a browser before the loop stops.

Before you start

  • A folder set up with /ua:setup.

  • A web app on your tenant. The build loop adds to an app that exists. For a new app, start with /ua:scope-loop.

  • Optional: a Figma link, a prototype or screenshots of the page. For a Figma link in Claude Code, connect Figma in Claude's connector settings first. Save screenshots as files; pasted images are not used.

  • Internet for the first page check. It downloads a test browser, about 100 MB, once.

  • In Codex, type $ua:build-loop. In Copilot CLI, ask in words.

Two ways to start

You give it

What it does

A design (a Figma link, a prototype, screenshots)

Builds each page and compares it with the design in a browser

Your words (a feature, with no design)

Plans every part the feature needs: objects, automations, pages and AI agents. Then it checks each thing you asked for.

A feature can use both. Pages with a design are built from the design. The rest are built from your words.

Build the page

Step 1: Open your agent in the solution's folder

Use the folder you set up for this solution. Everything about the solution lives there.

Step 2: Ask for the page

Type /ua:build-loop, then say what to build. Name the app if the solution has more than one.

/ua:build-loop Build the Purchase Orders list page from this Figma: <link>

/ua:build-loop In the Purchase Orders app, notify the manager when an order is submitted

You can also say it in words: "build this page from the Figma".

Step 3: Answer the start questions

It asks its questions at the start, so it can then work alone. For example, it may ask for a test person to send a message to.

Step 4: Approve the plan

It shows a plan of every page and part it will build. Nothing is built until you say yes.

Step 5: Let it build and check

Builder agents build the parts, often side by side. Each part is read back from the platform. Then it checks the pages in a browser:

  • Looks: each page is compared with the design at each width the design has. That is 1440 px, and 375 px when the design has a frame at that width.

  • Use: buttons and links work, the page passes accessibility checks, and it fits smaller screens.

  • Your asks: for a feature, each thing you asked for is tried in the browser. "Realtime" asks are checked with two browsers, to see the change arrive in time. Both browsers are signed in as you, so a change between two different people is yours to check by hand. Realtime here means the page refreshes about every 15 seconds.

When a check fails, it fixes the problem and checks again.

Step 6: Read the summary

The loop stops when every check passes, or when you accept a result.

What you get

  • The pages, built as drafts.

  • A picture of every page it built, opened for you. When it built from a design, the design is shown beside it.

  • A summary of what exists now, what passed, and anything still open.

  • Test records it made have names that start with ZZ_LOOP_. At the end it puts changed fields back, and asks once to delete what it made.

  • For a "notify" ask, it does not check the inbox. Check the first real message yourself.

Warning: The build loop never publishes your app. Pages stay as drafts until you say to publish. Your app's users see nothing new until then.

Note: If the plan includes an automation, it is deployed once its test run passes. On a test (UAT) tenant, it does not ask. On any other tenant, it asks you first. An AI agent is published only after your yes.

Tip: A new connection cannot be made for you. If the work needs one, the loop tells you, and you make it by hand.

Next steps