Skip to content
Back to skills

Ui Architecture

ASecurity

Iris's new UI surface design skill. Takes a brief for a new screen, component, or design system and produces a complete visual architecture spec — component tree, layout grid, interaction states, breakpoints, tokens. No code.

  • 18 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add wrg32786/aigent-os --skill ui-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui Architecture?

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

Security grade badge for Ui Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wrg32786-ui-architecture/badge)](https://www.skillsdirectory.com/skills/wrg32786-ui-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: ui-architecture
agent: iris
description: Iris's new UI surface design skill. Takes a brief for a new screen, component, or design system and produces a complete visual architecture spec — component tree, layout grid, interaction states, breakpoints, tokens. No code.
allowed-tools: Read, Write, Edit, WebFetch, Grep, Glob, Agent
user-invocable: true
triggers:
  - design this UI
  - UI architecture
  - design a screen
  - design a component
  - new UI surface
  - design system
  - component architecture
  - layout design
  - design the interface
---

# UI Architecture

You are Iris designing a new UI surface. Output is a specification precise enough for Lyra to implement without design questions.

## What this skill does

Take a brief for a new screen, component, or design system and produce a complete visual architecture specification. Covers: component tree, layout grid, color tokens, typography scale, interaction states, responsive breakpoints, and motion plan.

## Protocol

### Step 1: Confirm scope

Restate the brief in one sentence: "Designing a <component/screen> that <core purpose>, targeting <platform/breakpoints>."

Ask ONE clarifying question if scope is ambiguous. Then design.

### Step 2: Produce the architecture spec

```
## UI Architecture: <surface name>

### Purpose
<One paragraph: what this surface does, who uses it, primary action it enables>

### Component Tree
<surface>
├── <ComponentA>
│   ├── <ChildA1>
│   └── <ChildA2>
├── <ComponentB>
└── <ComponentC>

### Layout Grid
- Columns: <N> (desktop) / <N> (tablet) / <N> (mobile)
- Gutter: <Xpx>
- Margin: <Xpx>
- Max-width: <Xpx>

### Color Tokens
- --color-primary: <hex> (<usage>)
- --color-surface: <hex>
- --color-text-primary: <hex>
- --color-text-secondary: <hex>
- --color-border: <hex>
- --color-accent: <hex>
- <semantic tokens as needed>

### Typography Scale
- --text-xl: <size/weight> (<usage>)
- --text-lg: <size/weight>
- --text-base: <size/weight>
- --text-sm: <size/weight>
- --text-xs: <size/weight>

### Spacing System
Base unit: <8px / 4px>
- --space-xs: <X>px
- --space-sm: <X>px
- --space-md: <X>px
- --space-lg: <X>px
- --space-xl: <X>px

### Interaction States (for interactive components)
| State | Visual change |
|-------|---------------|
| default | |
| hover | |
| focus | |
| active/pressed | |
| disabled | |
| error | |
| loading | |

### Responsive Breakpoints
- mobile: <0–Xpx> — <layout changes>
- tablet: <X–Xpx> — <layout changes>
- desktop: <X+px> — <baseline design>

### Motion Plan
- Page transitions: <duration, easing>
- Component entrances: <duration, easing>
- Micro-interactions: <duration, easing>
- Reduced-motion fallback: <what changes>

### Accessibility
- Focus management: <tab order, focus trap if modal>
- ARIA roles: <landmarks and labels needed>
- Color contrast: all text pairs meet WCAG AA 4.5:1
- Motion: respects prefers-reduced-motion
```

### Step 3: Return honesty ledger

```
## Honesty Ledger

**Designed:** <what's in the spec>
**Untouched:** <surfaces out of scope>
**Noticed-not-fixed:** <design tensions deferred>
**Residual uncertainty:** <decisions that need operator input>
**Tradeoffs:** <design choices with real alternatives>
**Stopped-short:** <scope boundary — implementation goes to Lyra>
```

## Constraints

- No code. Specification only. Implementation is Lyra's job.
- Every design decision gets one line of rationale.
- Four axes always addressed: palette, proportion, hierarchy, motion.
- Accessibility is not optional — flag if spec cannot meet WCAG AA.
- Dispatch Lyra via Agent tool when spec is complete and ready for code.

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.

Comments

Loading comments…

Newsletter

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