Ui craft

From compozy/compozy · View interactive version

Ui craft is an AI agent skill from the GitHub repository compozy/compozy. Design, build, review, or refactor visible UI, including pages, components, forms, loading/error states, and AI chat/streaming interfaces. Excludes backend, infrastructure, CLI/TUI, and docs-only work.

How to use this skill

Skill file

UI Craft

Use the project's visual and copy authorities, shipped primitive inventory, and real runtime behavior. Preserve keyboard/focus operation, supported states, meaningful labels, contrast, reduced motion, and token ownership.

For a small edit, inspect the affected component/state and reuse existing decisions. A new surface or substantial redesign may need a short user job, scene, register, or visual dials when those resolve an actual design choice; they are not required artifacts for every tweak.

References by Need

Use the matching section and its necessary dependencies. The table is a lookup, not a list to load in full. assets/state-matrix.md, assets/pre-ship-checklist.md, and assets/ui-audit-template.md are optional working formats for substantial design/audit tasks; ordinary changes can use concise evidence.

| When | File | Covers |

| --------------------------------------------------------------- | --------------------------------------- | ------------------------------------------------------------------ |

| Designing a novel surface / auditing usability | references/usability-foundations.md | Nielsen 10, Laws of UX, progressive disclosure, mental models |

| Any interactive widget (dialog, menu, combobox, tabs, slider) | references/accessibility-floor.md | WCAG 2.2 AA non-negotiables, ARIA patterns, verification recipes |

| Buttons/inputs/dialogs/nav/tables/cards/dropdowns/tabs/toasts | references/component-patterns.md | States, keyboard contract, a11y, and slop per component |

| Writing or reviewing user-visible text | references/microcopy-quality.md | Banned vocabulary, per-surface tone, error/empty/CTA templates |

| Auditing AI-generated UI | references/ai-slop-patterns.md | Before/after + remediation for the 14 patterns, detection prompts |

| A design choice needs reconsideration | references/anti-defaults.md | Contextual alternatives for hierarchy, legibility, and interaction |

| Building an AI/agent surface | references/human-ai-ux.md | Microsoft 18 + IBM 4 pillars, streaming/citation/confidence UI |

| Reading/extending DESIGN.md, tokens, shadcn/Radix, codegen rules| references/design-system-integration.md| DESIGN.md sections, token discipline, Figma/Code Connect |

| No token system, or extending a scale | references/visual-craft.md | Type/color/spacing/radius/elevation/motion defaults |

| Adding or reviewing animation | references/motion-patterns.md | Duration bands, easing, CSS/Framer/@starting-style, reduced-motion|

| Implementing or reviewing dark mode | references/dark-mode.md | Surface-lightness elevation, accent desaturation, dangerous pairs |

| Observed slowdown, performance-sensitive change, or requested audit | references/performance.md | Measurement, loading feedback, relevant optimizations, project budgets |

| "We need a [Linear/Notion]-like X" | references/archetypes.md | 7 archetypes, each a six-slot signature contract |

Helpers

Resolve these from the actual skill directory (<ui-craft-dir>); run only for the question in scope:

Follow explicit user decisions and project authorities for trade-offs. Record material limitations honestly; do not force a scene interview, design audit, or another approval solely because this skill was used.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.