W Ui

blockmatic/basilic-skills/skills/workflow/w-ui

by blockmatic7e05e2abd052dc6b526e8a28e36d102d42bfd635No license1 starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 6 days ago

Build or reshape UI with purpose, existing tokens, accessible interactions, and bounded rendered verification.

AI-generated overview

Builds or reshapes a user-facing UI surface using existing design tokens, accessible interactions and bounded rendered verification.

What it does
Guides an agent through building or reshaping a user-facing surface: naming the job, person and surface mode (Operate, Persuade or Read), inspecting existing tokens and shared components, and preferring shared primitives. It covers mobile-first layout, visible focus, keyboard paths, reduced motion, and loading, empty, error, success and overflow states. It ends with rendered verification on desktop and mobile, interaction and keyboard checks, screenshot critique, and a bounded fix pass.
When to use it
Use when a feature or page needs new or reworked user interface work. Not for planning a feature without UI work, installing a primitive, or inventing product or design documents. Suitable when existing tokens and components should be respected and visual QA is expected.
Requirements
No scripts; instructions only. It references companion skills (frontend-design, composition-patterns, web-design-guidelines, and optional w-a11y, w-docs, w-plan, w-shadcn) and expects browser tools for rendered verification; if browser tools are missing, the skill says to state that.

Build or reshape a user-facing surface. Planning a feature without UI work stays on /w-plan. Installing a primitive stays on /w-shadcn. Do not invent PRODUCT.md or DESIGN.md. Follow existing tokens and root DESIGN.md when present. Do not install animation libraries or design-detector hooks.

Load frontend-design for visual direction, composition-patterns for reusable APIs, and web-design-guidelines for the UI code checklist. Durable jobs live in matching MDX/README/DESIGN.md.

  1. Name the job, the person, and the surface mode: Operate (app/task), Persuade (marketing), or Read (docs).
  2. Use the brief, existing screens, or a stated aesthetic. If the repo has tokens and shared components, inspect those first.
  3. Prefer shared primitives. Compose at the second call site. Do not extract a compound API for a one-off route. Do not lift server data into a client provider.
  4. Mobile-first layout, visible focus, keyboard path, prefers-reduced-motion. Do not add a new motion library.
  5. Cover loading, empty, error, success, and overflow as applicable.
  6. Implement the smallest slice that completes the job.
  7. Inspect desktop and mobile together. Exercise primary interactions and keyboard navigation. Critique screenshots. Fix evidenced issues in one batch. Confirm with at most one more pass, then stop. If browser tools are missing, say so. A type check is not visual QA.
  8. Optional: /w-a11y against existing a11y docs and tests (do not invent a WCAG level). Playwright E2E only when an existing spec covers the path.
  9. Docs: /w-docs if behavior or commands changed.

Source and attribution

Source:blockmatic/basilic-skillsinskills/workflow/w-uiat commit7e05e2a

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal