Skip to content
HOZU1.0.0-rc.2
Menu

Hozu DevTools

Point at it. Your agent gets the line.

Select what is wrong on the screen and say what should change. The request names the file, the line and the Hozu way to make the change, so your agent stops searching and starts fixing. When it is done, it points back: every part it changed gets a numbered frame on your page.

How it works

Three clicks, then it points back.

  1. 1 · Select

    Choose Select and click the part, with Figma’s keys: Shift+Enter goes up a level, Alt measures, a double-click picks a text.

  2. 2 · Describe

    Say what should change. Try a size, a colour or other words first: it is a preview on your screen only.

  3. 3 · Hand it over

    Copy for AI, or save it. Tell your agent: “Do the open Hozu requests.”

  4. 4 · See it back

    Your agent frames each part it changed on your page, numbered, with a note in your words. Reply, or resolve it.

Feels like Figma

Your Figma hands already know it.

The same keys, the same measuring, the Design panel in the same order and your design tokens first. In Builder and in Developer alike.

Shift+Enter · Enter · Tab

Select around it, inside it, beside it.

Alt

Hold it and point: the distance in px.

W × H

Every selection shows its size.

Design panel

Frame, Auto layout, Layer, Fill, Stroke, Effects, Text.

Variables

Tokens first: red · #fb3a0e, 2xl · 24px.

Comments

Your agent’s notes are numbered pins: reply or resolve.

Assets

Every component on one page.

No showcase page to write, no Storybook. Assets sits beside your page and draws every component of your app, each variant and the states you named, from the app itself. Drag one onto the page to place it, see where each is used, frame its instances, and ask your agent to change the main component. Styles lists your tokens.

previews.ts

Name the screens you care about: a long label, an empty list, a failed load, fifty rows. Each page screen answers its queries with your data, under npm run dev only.

Never shipped

The build and the production server never load it, your agent leaves it alone unless asked, and hozu check says when a preview no longer fits the app.

The request

What your agent reads.

Where, what and how far the change reaches, the theme class to use, and a reminder only where a plain edit would go wrong. The pointer finds the part again after the lines move.

# Hozu request: Make it bigger on phones and use the brand red

Page `/` · 390 × 844

## 1. <button> · ui.Button
- Want: Make it bigger on phones and use the brand red
- Where: `features/tasks/views.ts:102:16` (view `tasks.Board`)
- Scope: only this one
- Style: font size 14px → 16px: replace `text-sm` with `text-base`
- Style: background #111010 → #fb3a0e: replace `bg-ink` with `bg-brand`
- Mind: `ui.Button` is used in 6 places. For only this one, change `class` at this use; a property the component owns needs a trailing `!`.
- Locate: `hozu why /features/tasks/views/Board/root/children/2/children/0/children/2`

Run `hozu check` after the edits.

The way back

See what your agent changed.

After a change, your agent points at each part it touched, with a note in your words. You check the result on the page, not in a diff.

npx hozu show features/notes/views.ts:42 --note "Delete now asks before it removes a note"
npx hozu show features/notes/views.ts:51 --in "Buy milk" --note "Pinned notes go first"
npx hozu show page:home --note "The page title is shorter"

Numbered frames

Each part gets a red frame and a number. A file and line is enough; --in "<text>" picks one row of a list.

Reply or resolve

The Agent panel steps through the notes. Send reply hands your answer back as a request; Resolve removes the note.

Never out of date

hozu show lists the open notes and marks one stale when its part has moved or gone, so your agent fixes the note before you see it.

Every state

See the screens you never get to.

Loading, failed, saving, an error message, a confirmation dialog: Layers lists every state the page can be in, read from the app itself. Preview one without running anything, at a phone’s exact size.

Your data

Test the API while you build it.

API opens a drawer with what the page reads and what it can change: where each one runs, how it is cached and the line that implements it. Edit the input, run it and read the answer as a table. A change asks first, then the page updates in place, as if a button had made it.

What it sent

Every request a call sent out, from the server and the browser: headers, bodies, status, time. Copy it as curl.

Your endpoints

Send a request to each endpoint you declared, with a body and your own headers, such as a bearer token.

Act as anyone

Set this browser’s session to any user while developing, and see the page as they do.

For everyone

Plain words, or the source.

Builder

“A shared Button: the same design is used in 6 places.” No code names, the scope as a question.

Developer

Files and excerpts, components, conditions, transitions and node ids.

Zero cost

Only under npm run dev. A production build carries no marker and no DevTools code.

Your language

One file translates every word of it, for you or your whole team: npx hozu devtools messages. What your agent reads stays English.