跳到正文
cccskills
免费在 GitHub 公开

ui-architecture

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.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os星标 25(GitHub 25 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Track and surface sub-agent dispatch calibration ratios. Extract from JSONL transcript or read existing ledger. Per-agent clean/blocked/errored/partial trends.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Compose the AIgent's body state by reading existing signals. Lazy compute. Never polled. Reports the five pressures + recommended reflex.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

brief

免费

Generate a structured delegation brief for any task

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Quarterly skill that walks the skill-index against the actual SKILL.md files on disk, reports drift (skills indexed that no longer exist, skills on disk that aren't enrolled, skills whose descriptions have changed since enrollment). Hardens the auto-enrollment pipeline against silent rot.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

When a [CADDY] hint fires and the principal is confused why, /caddy-explain walks the scoring transparently — which trigger matched, what points it earned, what the threshold was, what other skills were close. Pairs with the legibility thesis. Caddy's decisions should be inspectable on demand.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives. Use when a new skill is created, copied in, or when a skill needs updated triggers. Usage — "/caddy-enroll <path to SKILL.md>".

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

查看 wrg32786 的全部技能

报告此技能的问题