aayudha docs Built from de79988 (2026-10-26)

wireframe: sketch one screen per state

Arguing about colours before anyone agrees what a screen shows wastes a round. wireframe records one plain, unstyled sketch per state the stories promise, built from the research, and pins it to that research on the ledger.

Field Value
In plain words Sketches the screens a Feature needs, from its research and promises.
Journey stage Design the screens
Accountable seat UX Researcher & Evolutionist (Hanu)
Does the work Hanu, the Accountable seat's twin, in the build model lane, with the seat's paired human when it has one
Consulted Product Strategist (Arjun)
Informed Engineering Manager (Drona)
Layers it can touch L01 Experience
Who reasons your agent's own model, inside the skill
Writes as the bot identity (a GitHub App); without one, your identity, tagged as human fallback
Where it runs the aayu command, a skill in your agent, an MCP tool (only with [mcp] expose_writes on)
The skill your agent reads skills/wireframe/SKILL.md

When to use it

No research yet? Start with research. Wireframes agreed and ready for the design system? That is mockup.

Run it

Ask your agent to draw the wireframes in a directory with a stage.json that lists each state, then pin them.

Use the wireframe skill to draw one wireframe per UI state for Feature issue 42 from its research, and pin them.
aayu wireframe <feature>
Input Required What it does
<feature> yes Feature to wireframe.
--from yes Directory with stage.json and one wireframe per state (SVG, HTML, Markdown, or an image).

The usual call is aayu wireframe 42 --from .aayudha/design/42/wireframe.

What you get back

One wireframe per state, with the state IDs the stories use, in SVG, HTML, or Markdown (an image is accepted but cannot be checked). Each shows the state's real copy, the research finding behind each choice, the focus order, what a screen reader announces, 44 × 44 px targets, and the phone layout at 390 px when the product is used on phones. They land on the ledger under design/<feature>/wireframe/, with a manifest that pins the research by its SHA-256.

You should see a line with pins research and then written to ledger design/42/wireframe/manifest.json. It refuses with exit 4 until the research stage is on the ledger. Stuck? See everything else.

Gates

It checks these before it acts, and stops when one fails:

The budget gate stops agent work with exit 6 when a [budget] limit trips. A person reads why, then runs aayu resume (loops).

What only a person does

The registry reserves no step of this verb for a person.

The assumptions a wireframe marks are left for a test with people to settle, not for the agent. Running that test is a person's work.

What's next