| name | frontend-ui-engineering |
| description | Build production-quality frontend interfaces. Use when creating or modifying UI components, layouts, interaction states, responsive behavior, accessibility, visual polish, or user-facing workflows. |
Frontend UI Engineering
Skill Interface
- Name: frontend-ui-engineering.
- Description: Build production-quality frontend interfaces for UI components, layouts, interaction states, responsive behavior, accessibility, visual polish, and user-facing workflows.
- Parameters: User workflow, target components or routes, design system conventions, data states, content constraints, accessibility needs, viewport targets, and available visual or automated verification commands.
- Instructions: Use this skill when creating or modifying UI. Build the usable workflow first, reuse local design patterns, model all important states, verify responsive behavior with realistic content, and check accessibility and console health.
Build the real usable experience first. Match the product context: operational
tools should be efficient and scannable; creative or consumer experiences can be
more expressive.
Component Process
- Identify the user workflow and primary task.
- Reuse the existing design system, component patterns, icons, spacing, and
state conventions.
- Model states explicitly: loading, empty, success, partial, error, disabled,
permission denied, offline, and long content.
- Keep data parsing and transport concerns outside presentational components.
- Add accessibility semantics for labels, focus order, keyboard behavior, and
status updates.
- Verify desktop and mobile layouts with realistic content lengths.
Layout Rules
- Use stable dimensions for fixed-format controls, grids, boards, counters, and
toolbars.
- Avoid nested cards and decorative wrappers that reduce scanability.
- Do not let text overlap, truncate critical information, or resize controls
unexpectedly.
- Prefer familiar icon buttons for common commands when the icon is clear.
- Use tooltips for unfamiliar icons.
- Keep display type reserved for true page-level hierarchy.
State Rules
- Derive UI state from typed data and explicit status fields.
- Do not infer backend semantics from display text.
- Keep optimistic updates reversible.
- Make destructive actions explicit and recoverable when possible.
- Show partial progress without hiding errors.
Verification
Check:
- Responsive behavior at narrow and wide widths.
- Long labels, long values, and missing data.
- Keyboard navigation and focus visibility.
- Loading, empty, error, and permission states.
- Console errors and hydration warnings when applicable.