Skip to content
Back to skills

Ux Architecture

ASecurity

Designs how a feature works and looks: flows, every state of each step, components, accessibility, then rendered versions the person picks and a design kit. Use when a feature needs flows, screens or states, a look chosen, or design options.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 5, 2026
ai-agentsgodocumentation

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add mariomile/builder-os --skill ux-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ux Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ux Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mariomile-ux-architecture/badge)](https://www.skillsdirectory.com/skills/mariomile-ux-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ux-architecture
description: "Designs how a feature works and looks: flows, every state of each step, components, accessibility, then rendered versions the person picks and a design kit. Use when a feature needs flows, screens or states, a look chosen, or design options."
---

# UX Architecture

The structural half of phase 4: placement, flows, states, components and the accessibility floor, decided before a pixel is chosen. The look comes next, in the **direction** mode: rendered versions that differ in structure, chosen by the person in rounds, then the kit and tokens; follow [design direction](references/design-direction.md), with its own marker, inside phase 4 or alone.

**Mode.** Standalone designs the supplied feature or flow from the available product context and the existing design system. In the lifecycle it runs inside phase 4 for `spec-writing` and writes the initiative's `SPEC.md` → Design. Both per [operating modes](../../references/operating-modes.md). Read the section of [UX methods](references/ux-methods.md) behind steps 3 to 7, and Drawing the Flow for step 4.

## Procedure

1. **Read the feature inputs.** Standalone uses the supplied feature, goal and constraints. The lifecycle reads `BRIEF.md` → Bet: its primary user action is the flow this skill designs. Done when the primary action is stated in one line.
2. **Map the current structure:** navigation, the area this touches, existing components; without `repo.read`, ask and mark the inventory unverified. Done when the touched area and its components are listed.
3. **Place the feature** where the user expects it, or name the cost of the easy spot, with current and proposed structure side by side. Done when what moves is named.
4. **Design the flows.** Every entry point, the steps (user action, system response), decision points, both exits, reversibility; a multi-step flow states its abandonment exit (discard, draft or resume). On a new product (product track) one flow is **the first day**: from the first visit to the first useful outcome, with the empty screens a new account meets filled by sample data, a guided first action or an import, and the step that counts as activated named for the spec's `**Activation:**` (gate 4.17). Then **draw each flow** under its table as a Mermaid flowchart (entries, steps, decisions with labeled exits, success and abandonment), in the same words, per [drawing the flow](references/ux-methods.md#drawing-the-flow); the person reads and edits the drawing in the page `bos.mjs flows` writes, the build reads the table (gate 4.20). Done when every flow has its entries, steps and exits, drawn and tabled, and a new product has its first day.
5. **Cover the states:** empty (with the action that fills it), loading, partial, error, success, permission. The permission state follows the existing auth, tenancy and permission contract, inspected first; where it cannot be read, the assumption is labeled unverified. Error copy names what failed and the next action, where disclosure is permitted. Strings live where the product's languages can be added (`PRODUCT.md` → Markets): each language's copy, dates, numbers and currency, and the longest translation tested on the narrowest screen. Done when every step of every flow has its six states.
5b. **Design the messages** (gate 4.21). Every email, notification, chat or text message the product sends outside its screens, found from the flows (a sign-up sends a welcome, an export emails a file, a failed payment warns): what triggers it, who gets it, the channel, its real text in the voice, how to stop it, and a preview a person opens, an HTML file per email or a mock of the chat bubble in `design/messages/`, per [UX methods](references/ux-methods.md#messages). For an agent that talks on a channel, the messages are the product: each turn type the spec's `## Agent behavior` names gets its row. Done when every message has its row and its preview, or `**Messages:** none` with the reason.
6. **Inventory the components:** exists, extend (naming what else it affects), new (with its justification). Done when every component in the flows has one of the three.
7. **State the accessibility floor:** the keyboard path with tab order for the primary flow, the contrast target as a ratio, focus behavior on open, close, error and completion. Done when all three are written.
8. **Deliver the design** to the requested destination. In the lifecycle write `SPEC.md` → Design per the [design template](references/design-template.md), headings and labels exact, then hand the primary flow to `ux-architecture` (direction) and the flow list to the spec; gate 4.9 also needs the visual direction. Done when `SPEC.md` → Design holds the flows, states, messages, inventory and floor.

## Watch for

| Do | Instead of |
|---|---|
| Keep the actual auth contract, including a deliberate concealed-resource 404 | Replacing it with an access message that reveals the resource |
| The existing pattern first | Four new components for one feature |
| Supplied context and the requested destination for a standalone request | Creating initiative state for it |

More in [UX methods](references/ux-methods.md).

## Capabilities

| Capability | Used for | Floor if absent |
|-----------|----------|-----------------|
| `repo.read` | Existing components, navigation and flows | Ask the person to describe them; mark the inventory as unverified |
| `docs.search` | Design system documentation, prior flow decisions | Ask |
| `analytics.replay` | Where users actually stall in the current flow | Design from structure rather than observation, and say so |
| `diagram.render` | Laying a flow out on a canvas the person edits in a workshop | The page `bos.mjs flows` writes; without commands, the Mermaid block in `SPEC.md` → Design, which renders wherever Markdown does |
| `files.read` / `files.write` | Supplied context, requested design and lifecycle artifacts | Inline design needs no file write; lifecycle writes require it |

**No data capability is required.** The visual layer is always covered: `ux-architecture` (direction) renders versions as files on any host, and uses a design toolchain where one resolved.

## Output Contract

`## DESIGN COMPLETE` with the flow list and a diagram per flow (the first day on a new product), the state matrix, the messages with their previews, the component inventory and the accessibility floor. Lifecycle output is the initiative's `SPEC.md` → Design per the [design template](references/design-template.md).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.