Skip to content
Skills Library
Programming · Building & coding

frontend

/frontend

Engineering OS frontend playbook — how to build, change, and verify web UI (React, Next.js, Vue, Svelte, Astro, Tailwind, landing pages, dashboards, design systems, animations). Use whenever the task touches components, pages, styling, layout, client state, forms, accessibility, Core Web Vitals, or \"make it look better\", even if the user never says \"frontend\". Routes to the right specialist design/perf skills and defines the verification bar (run it, look at it, screenshot it) before calling UI work done.

Licence
MIT
Last repository change
08.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Engineering OS frontend playbook — how to build, change, and verify web UI (React, Next.js, Vue, Svelte, Astro, Tailwind, landing pages, dashboards, design systems, animations). Use whenever the task touches components, pages, styling, layout, client state, forms, accessibility, Core Web Vitals, or \"make it look better\", even if the user never says \"frontend\". Routes to the right specialist design/perf skills and defines the verification bar (run it, look at it, screenshot it) before calling UI work done.

Triggers from the description

make it look better\frontend\
Original author description

Engineering OS frontend playbook — how to build, change, and verify web UI (React, Next.js, Vue, Svelte, Astro, Tailwind, landing pages, dashboards, design systems, animations). Use whenever the task touches components, pages, styling, layout, client state, forms, accessibility, Core Web Vitals, or \"make it look better\", even if the user never says \"frontend\". Routes to the right specialist design/perf skills and defines the verification bar (run it, look at it, screenshot it) before calling UI work done.

How it works

  1. 1. Orient before touching anything
  2. 2. Pick the specialist skill
  3. 3. Build rules
  4. 4. Verify (required before saying "done")
  5. 5. Common traps
Original SKILL.md headings · 76 lines, 1,013 words
SKILL.md preview
---
name: frontend
description: "Engineering OS frontend playbook — how to build, change, and verify web UI (React, Next.js, Vue, Svelte, Astro, Tailwind, landing pages, dashboards, design systems, animations). Use whenever the task touches components, pages, styling, layout, client state, forms, accessibility, Core Web Vitals, or \"make it look better\", even if the user never says \"frontend\". Routes to the right specialist design/perf skills and defines the verification bar (run it, look at it, screenshot it) before calling UI work done."
---

# Frontend Playbook

Frontend work fails in two ways: it doesn't work (state bugs, hydration errors, broken layout at some width) or it works but looks generic. This playbook covers both. The verification loop at the bottom is the non-negotiable part — UI that wasn't looked at isn't done.

## 1. Orient before touching anything

- Read `package.json`, the router layout (`app/` vs `pages/` vs `src/routes`), the styling system (Tailwind config, CSS modules, tokens file), and one or two existing components that resemble what you're building. **Match existing patterns** — a new component that ignores the house style is a regression even if it's prettier.
- Find the design tokens (colors, spacing, radii, type scale). Never hardcode a hex or px value that a token already covers.
- If the project has a design system / component library (shadcn/ui, Radix, MUI, internal), compose from it rather than rebuilding primitives.
- If the user said to keep existing visuals, keep them. Add; don't replace.

## 2. Pick the specialist skill

| Situation | Skill |
|---|---|
| New UI with no strong existing style; "make it distinctive / premium" | `frontend-design` (Anthropic), `design-taste-frontend`, then `ui-ux-pro-max` (+ its `design-system`) for palette, type and layout systems |
| Design-engineering polish: the details that make UI feel crafted | `emil-design-eng`, `apple-design`; on demand: `review-animations`, `improve-animations`, `find-animation-opportunities`, `prototype`, `pick-ui-library` |
| Posters, hero art, visual assets, OG images | `canvas-design`, `anatomy` (isometric technical figures); `theme-factory` on demand |
| Design system / tokens / component library | `design-system`, `tailwind-design-system`, `shadcn`, `vercel-composition-patterns` |
| React/Next.js performance, data fetching, bundle size, re-renders | `vercel-react-best-practices`, `core-web-vitals`, `performance` |
| Next.js App Router structure, server/client components, caching | `nextjs-app-router-patterns` |
| TypeScript types that fight you | `typescript-advanced-types` |
| Motion: micro-interactions, page transitions, scroll storytelling | `animation-vocabulary` (pick the right motion), `gsap-core` + `gsap-scrolltrigger` (build it), `impeccable` (animate) |
| 3D / WebGL scenes | `threejs-fundamentals`, `threejs-shaders` (optional: `eos enable frontend`) |
| Review UI against web interface guidelines / accessibility | `web-design-guidelines`, `accessibility`, then `impeccable` (audit) |
| Critiquing or polishing an existing screen | `impeccable`: critique/audit first, then the matching fix (polish, typeset, arrange, colorize, clarify, quieter/bolder, delight, animate, adapt, harden, normalize, optimize, distill, extract, onboard) |
| Unit / component tests | `vitest` |
| End-to-end tests | `e2e-testing-patterns`, `webapp-testing` (Anthropic) + the `playwright` plugin |
| Driving a real browser to check your work | `agent-browser` (Vercel) or the `playwright` plugin |
| Shipping it | `/eos:deploy` (`deploy-to-vercel` for most frontends) |
| Isometric/technical explainer illustration | `anatomy` |
| Charts, dashboards, KPI tiles | `dataviz` |
| Auth screens / flows | `better-auth-best-practices` (+ `/eos:backend` for the server side) |
| Mobile (Expo / React Native) | `eos enable mobile`, then `vercel-react-native-skills`, `react-native-best-practices`, Expo skills |
| Shopify themes | `liquid-skills:shopify-liquid-themes` |
| SEO for marketing pages | `seo-audit`, `ai-seo` |

Load only what the task needs. One or two skills, read fully, beats skimming six.

## 3. Build rules

**Components** — Small, single-purpose, typed props (no `any`). Co-locate component, styles, and test. Lift state only as far as it needs to go. Derive, don't sync: if a value can be computed from props/state, compute it; `useEffect` that sets state from other state is almost always a bug.

**Next.js / React Server Components** — Default to server components; add `"use client"` only at the leaves that need interactivity. Fetch on the server, pass plain data down. Never import server-only modules (db, secrets) into client components. Use `next/image` and `next/font`. Mark dynamic vs static rendering deliberately.

**State & data** — Server state goes in the framework's data layer or TanStack Query, not in global stores. URL is state: filters, tabs, pagination belong in search params so they survive reloads and are shareable. Forms: controlled by a form lib (react-hook-form/conform) + schema validation (zod) shared with the backend.

**Every async UI has four states**: loading (skeleton matching final layout, no spinner-jank), empty (with a next action), error (human message + retry), success. Missing any one is a bug.

**Styling** — Mobile-first. Test 360px, 768px, 1280px, 1920px. No horizontal scroll at 360px. Use `clamp()` for fluid type. Respect `prefers-reduced-motion` and `prefers-color-scheme`. Animations: transform/opacity only, 150–300ms, ease-out for enter.

**Accessibility (minimum bar, not optional)** — Semantic elements first (`button`, `a`, `nav`, `main`, `label`). Every interactive element reachable and operable by keyboard with a visible focus ring. Images have meaningful `alt` (or `alt=""` if decorative). Color contrast ≥ 4.5:1 for body text. Form inputs have associated labels and error messages linked via `aria-describedby`. Dialogs trap focus and restore it.

**Performance budget** — LCP < 2.5s, INP < 200ms, CLS < 0.1. Reserve space for images/embeds (width/height or aspect-ratio). Lazy-load below-the-fold media. Code-split heavy client-only libs with dynamic import. Don't ship a 300KB library for one function.

**Security** — Never `dangerouslySetInnerHTML` with unsanitized input. No secrets in client bundles (`NEXT_PUBLIC_*` is public). Validate on the server even if the client validates.

## 4. Verify (required before saying "done")

1. **Typecheck + lint + tests**: run the project's own scripts (`npm run typecheck`, `lint`, `test`). Fix what you broke.
2. **Run it**: start the dev server (or use the `run` skill) and load the actual page.
3. **Look at it**: use Playwright (`playwright` plugin tools) to screenshot at mobile (390×844) and desktop (1440×900). Actually view the screenshots. Check: layout, overflow, contrast, empty/error states, dark mode if supported.
4. **Console**: zero new errors or hydration warnings.
5. **Interact**: click the primary path once — submit the form, open the modal, navigate.

Report what you verified and how. If you couldn't run it (no dev server, missing env), say so plainly instead of implying it works.

## 5. Common traps

- Hydration mismatch from `Date.now()`, `Math.random()`, `window` access during render → move to effect or server.
- Layout shift from fonts → `next/font` or `font-display: optional` + size-adjust.
- Stale closures in effects/handlers → correct dependency arrays; prefer event handlers over effects.
- Z-index wars → define a small z-index scale in tokens.
- "Works on my screen" → you only checked 1440px. Check 360px.

Versions

RepositoryScoreLicence
This page · soummyaanon/engineering-os90MIT
speakeasy-api/gram100AGPL-3.0
kriscard/Skills100MIT
tlkppm/ModelBridge100MIT
Tristan578/project-forge100Apache-2.0
muon-m2/magento2-tools100MIT
Tyler-R-Kendrick/agent-skills100MIT
matteocervelli/llms100MIT

Database snapshot: 13.11.2026 · package version 14268f5d5155 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100senior-frontend
    You MUST use this whenever you build, change or review user interface code, including small UI tweaks and when the user is in a hurry: pages, components, forms, lists, tables, modals, navigation, layout or styling in React, Next.js, Vue, Svelte, Astro or plain HTML/CSS/Tailwind.…
  • 95frontend-experience
    Use this capability for UI architecture, frontend performance, accessibility, routing guards, forms, client state, design-system integration, browser security boundaries, and user-facing AI interfaces. Trigger on React, Vue, Angular, Svelte, components, UI, a11y, WCAG, Core Web…
  • 85resonance-engineering-frontend
    Frontend Engineer Specialist ("The Glassmith"). Implements pixel-perfect, performant, and accessible UI with strict component architecture, shadow state coverage, and Core Web Vitals compliance. Use when building React/Vue/web components, implementing a page from a design spec,…
  • 91frontend-development
    Multi-framework frontend development:React 18+ (Suspense/hooks/TanStack), Vue 3 (Composition API), Svelte 5 (Runes), Angular (Signals). Use for components/pages, TypeScript, state management, routing, data fetching, performance. Keywords:React, Vue, Svelte, Angular, component, hooks.
  • 100frontend-components
    Generates and scaffolds reusable UI components with proper state management, props interfaces, lifecycle hooks, and styling encapsulation across React, Vue, Svelte, and Web Components. Use when implementing or scaffolding a reusable UI component in React, Vue, Svelte, or Web…
  • 100web-component-design
    Master React, Vue, and Svelte component patterns including CSS-in-JS, composition strategies, and reusable component architecture. Use when building UI component libraries, designing component APIs, or implementing frontend design systems.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.