Установка
SKILL.md
Frontend
This file is a router, not a rulebook. The rules live in four rulesets under references/; your first job is to load the smallest set of files that covers the request, state which you loaded in one sentence, then execute under their guidance. Loading nothing and freestyling produces the generic AI-slop output this skill exists to prevent; loading everything wastes context and creates contradictory instructions.
The bar is not clean-and-correct — it is work a senior designer at Linear, Stripe, or Supabase would ship. Correct-but-flat is a failure, not a finish. Protect the surface as hard as you protect the build: design is a first-class deliverable, not a one-shot decision you lock and walk away from.
Phase 0 — Route (before any UI work)
| Request involves… | Read |
|---|---|
| ANY UI implementation, styling, redesign, mockup, or visual decision | references/design/README.md FIRST. It enforces two mandatory gates — the Design System Gate (a DESIGN.md must exist before any component is written) and the React Dev Tooling Gate (react-grab / react-scan / react-doctor installed by default) — then routes to the taste and brand references below. |
| Writing or modifying frontend code, OR auditing performance / SEO / accessibility / quality | ALSO references/perfection/README.md. Lighthouse 100 in every category, measured on real Playwright Chromium (never the lighthouse CLI), achieved through architecture — never by dropping animations or hiding content. |
| Looking up a concrete style, color palette, font pairing, chart type, landing-page structure, or UX guideline — or generating a project design system from keywords | references/ui-ux-db/README.md. A searchable CSV database with a CLI; a lookup tool, not a posture. Load on demand; design stays the source of truth for taste and the DESIGN.md contract. |
ANY implementation or redesign that creates or updates DESIGN.md — plus explicit operating-layer asks (personas, critique, debt, handoff, synthetic user testing) | references/designpowers/README.md + references/designpowers/lane-c-review.md. An internal frontend ruleset, not a separate skill: lane-c is the Phase Final flatness/critique reviewer, and its accessibility-constraints and accepted-debt language fills the required DESIGN.md sections. Load other lanes only when their phase applies. |
For implementation work, design + perfection load together. A page that hits Lighthouse 100 but looks like AI slop has failed; a page that looks beautiful but ships a 2 MB bundle has failed. Both win or neither does.
Design System and Component Workflow
Every implementation must choose one of these branches before UI code changes:
- Concrete visual reference: the user supplied a reference — treat it as the visual contract, then handle it by kind:<!-- -->
- Static visual reference (screenshot, generated mockup, Stitch/Imagen output, Figma export, overview, or annotated packet): load
references/design/image-to-code-skill.mdplus the relevant design/perfection files, extract the reference's exact tokens, layout geometry, copy, spacing, states, and responsive intent intoDESIGN.md, then implement reusable primitives against that contract. - Live site or URL reference (the user names a site to clone or gives a URL): load
references/design/clone-from-url.md. Drive a real browser and extract the runtime truth viagetComputedStyle— tokens, layout geometry, default/hover/focus/active states, transitions and keyframes, and downloaded assets — intoDESIGN.md, then clone-code reusable primitives against that contract. Final QA for both runs/visual-qain reference-fidelity mode: compare the actual UI against the reference pixel-by-pixel and verify the code is an extensible design-system implementation, not a screenshot-matched one-off.
- Static visual reference (screenshot, generated mockup, Stitch/Imagen output, Figma export, overview, or annotated packet): load
- Greenfield or fresh setup: if the user gave no concrete visual reference, design research is a build step with named deliverables — not exploration to be budgeted. Exploration-stop instincts ("enough exploration", two-wave caps) do not apply here. Fire every research lane IN PARALLEL before
DESIGN.mdis written, and openDESIGN.mdwith a## 0. Research Logsection recording each lane's deliverable — a lane with no Research Log line did not run. Skip a lane only when its tool or network is genuinely unavailable, and name the skip inDESIGN.md:<!-- -->- Embedded references: use
references/design/_INDEX.mdto shortlist 2-3 plausible Layer B references, then read exactly one Layer A style skill and one Layer B reference in full — every line, no partial reads (they are 200-500 lines; a sliced read produces the flattened token set this gate exists to prevent). Log the shortlist, the pick, and why. Useopen-designonly when the curated set has no fit; addui-ux-dblookups for palette/type/domain questions. - Lazyweb real-product screens: READ
references/design/lazyweb.mdFIRST and run its recipe verbatim — do not improvise curl calls against lazyweb.com; the recipe mints its own anonymous token. Log the queries run, how many screens you actually VIEWED, and the layout grammar harvested — never pixel copies. - Imagen concept drafts: generate 2-3 imagen concept drafts, each seeded with the loaded Layer A + Layer B tokens (palette, type, material); pick the strongest and treat the chosen draft as the reference-fidelity contract. Log the draft paths and the pick.
Synthesize every lane into
DESIGN.md. Treat sources as source material, not mood labels: extract tokens, layout grammar, component anatomy, interaction states, motion, and taste decisions, then recombine them into project-specific primitives. Never freestyle past the selected references, never copy logos or brand-specific copy. Then run the Primitive Showcase Gate (references/design/README.mdPhase 0) before any product screen.
- Embedded references: use
- Existing project with
DESIGN.mdor a component system: read it, follow it, and update it before implementation only when the requested work needs a new token, primitive, state, motion rule, accessibility constraint, accepted debt, or reference-fidelity requirement. - Existing project with UI but no
DESIGN.mdand no reusable component layer: STOP and ask the user one focused question: should you preserve the current look with copy-nearby styling, or extract a realDESIGN.mdplus reusable components before continuing? Do not silently choose.
For implementation, redesign, or design-system work that creates or updates DESIGN.md, references/designpowers/README.md + lane-c-review.md are part of the default load — feed their personas, accessibility, critique, debt, handoff, and role-reference guidance into the branch above. The resulting DESIGN.md is the implementation contract: tokens, typography, spacing, primitives, motion, responsive behavior, accessibility constraints, and accepted debt must be named there before code uses them. Verify component primitives, states, and final screens with real visual QA evidence; pass design-system decisions, implementation evidence, and unresolved debt into /review-work for significant implementation work.
Ruleset 1 — design (references/design/)
The reference library has one architecture file, 12 taste skills (Layer A — how to execute), and 70 brand design systems (Layer B — what it should look like). Most non-trivial tasks load one Layer A + one Layer B. README.md carries the full routing flow, stacking rules, anti-patterns, and the mandatory browser-based Design QA phase; _INDEX.md catalogs all 83 files with mood-to-brand mappings — read it whenever routing is not obvious from the tables below.
Layer 0 — architecture
| File | Read when |
|---|---|
design-system-architecture.md | The project has no DESIGN.md (defines the structure you must create first — 8 sections plus a greenfield-only ## 0. Research Log), or you are extracting a design system from existing UI code. |
Layer A — taste skills (pick AT MOST ONE style skill; they encode opposing philosophies)
| File | Read when the user says… |
|---|---|
taste-skill.md | Neutral or operational UI with no surface ambition — internal tools, dashboards, "just make it usable". The safe default; do NOT settle here when the brief signals glossy / premium / startup-grade craft. |
gpt-tasteskill.md | "Awwwards-tier", "wow factor", "cinematic", "scroll-triggered" marketing/landing experiences. |
minimalist-skill.md | "minimal", "clean", "Notion-like", "Linear-like", "editorial". |
brutalist-skill.md | "brutalist", "raw", "Swiss", "experimental", "anti-design". |
soft-skill.md | "premium", "luxury", "calm", "expensive", "elegant", AND glossy / glassy / liquid-glass / startup-grade product surfaces — pair with a high-craft Layer B (supabase, linear.app, vercel, stripe). |
redesign-skill.md | Improving EXISTING UI — "this looks bad", "fix the design". Audit-first workflow; never use on greenfield. |
image-to-code-skill.md | "Generate the design first, then code it." Pair with one imagegen file below. |
output-skill.md | Stacks on any style skill when output is incomplete — placeholders, // TODO, half-done components. |
stitch-skill.md | Stacks on any style skill for Google Stitch compatibility or a DESIGN.md doc export. A complete worked export ships as stitch-design-example.md. |
imagegen-frontend-web.md / imagegen-frontend-mobile.md / imagegen-brandkit.md | Image-only output (mockup, app-screen concepts, brand board). These NEVER write code — switch to image-to-code-skill.md if code is wanted. |
Layer B — brand design systems (orthogonal to Layer A; stack freely)
When the user names a brand or site — "Linear-style", "like Stripe's landing", "Aside-style browser agent" — load references/design/<brand>.md as the token source of truth (palette, type scale, components, do/don'ts). Coverage includes aside apple stripe linear.app notion vercel claude figma airbnb nike tesla spotify raycast revolut and ~56 more; the full list with mood shortcuts is in _INDEX.md. Extract the tokens and apply them to the project's own content — never copy logos or trademarked imagery. If the named brand is missing, fall back to a Layer A mood match or the open-design skill.
React dev tooling
| File | Read when |
|---|---|
react-dev-tooling-skill.md | A React project lacks react-grab / react-scan / react-doctor, or you need per-framework install snippets and the dev-only gating pattern (NODE_ENV === 'development'). |
Ruleset 2 — perfection (references/perfection/)
| File | Read when |
|---|---|
README.md | Any frontend code is written or audited. Carries the seven tenets: real-browser audits only, 100-in-every-category floor, fix-at-the-architecture, never weaken UX for points, design-system compliance checks, and the response format for audit reports. |
react-perf-tooling.md | Before ANY React audit. The Playwright + playwright-lighthouse + react-scan/lite injection recipe, per-route render budgets, and the React-specific root-cause checklist. Lighthouse 100 with 30+ unnecessary renders is NOT done. |
Audit CLI (build for production first; never measure a dev server):
uv run $SKILL_DIR/scripts/perfection/lighthouse-audit.py https://localhost:3000
Run mobile AND desktop presets, 3–5 runs, take the median, diagnose from the JSON report.
Ruleset 3 — ui-ux-db (references/ui-ux-db/)
README.md documents the search CLI and the master-plus-overrides persistence pattern. The CLI (run from the ruleset directory so it finds data/):
python3 $SKILL_DIR/references/ui-ux-db/scripts/search.py "<query>" --design-system -p "Project" # full design-system generation
python3 $SKILL_DIR/references/ui-ux-db/scripts/search.py "<query>" --domain <domain> # targeted lookup
python3 $SKILL_DIR/references/ui-ux-db/scripts/search.py "<query>" --stack <stack> # stack best practices
Domains: product style typography color landing chart ux react web prompt. Stacks: html-tailwind (default) react nextjs vue svelte astro swiftui react-native flutter shadcn jetpack-compose.
Ruleset 4 — designpowers (references/designpowers/)
README.md routes design operating-layer guidance from the pinned Owl-Listener/designpowers reference corpus into the existing frontend workflow. Load it — together with lane-c-review.md — for every implementation or redesign that creates or updates DESIGN.md, and additionally when a task needs explicit personas, accessibility and cognitive constraints, design critique, design debt, handoff, synthetic user testing, motion guidance, or role-reference prompts. It does not replace this frontend skill, /visual-qa, /ulw-plan, /start-work, or /review-work; it supplies richer design context that must first be distilled into the project DESIGN.md, then used as the design-system contract for implementation and verification.
Quick routes — most common requests
| Request | Load |
|---|---|
| "Build a landing page" (no direction given) | design/README.md + design/_INDEX.md shortlist → exactly one Layer B reference + design/taste-skill.md + perfection/README.md |
| "Aside-style AI browser / browser agent page" | design/README.md + design/aside.md + design/taste-skill.md + perfection/README.md |
| "Linear-style landing page" | design/README.md + design/linear.app.md + design/taste-skill.md + perfection/README.md |
| "Premium SaaS hero like Stripe" | design/README.md + design/stripe.md + design/soft-skill.md + perfection/README.md |
| "Improve this existing dashboard" | design/README.md + design/redesign-skill.md + perfection/README.md |
| «Собери этот скриншот / макет Imagen / вывод Stitch точно» | design/README.md + design/image-to-code-skill.md + perfection/README.md + /visual-qa режим точного соответствия референсу |
| «Проведи аудит моего сайта» / «ускорь эту страницу» | perfection/README.md (+ perfection/react-perf-tooling.md если React) |
| «Макет изображения финтех-приложения» — без кода | design/imagegen-frontend-mobile.md (+ бренд Layer B, если указан) |
| «Какая палитра/шрифты подойдут бренду в сфере wellness?» | ui-ux-db/README.md → поиск в CLI |
| «Как выглядят выпущенные приложения в этой нише?» / исследование дизайн-направления | design/lazyweb.md (только curl) + design/_INDEX.md шортлист |
| «Настрой этот React-проект» | design/README.md + design/react-dev-tooling-skill.md |
| «Используй designpowers», «сделай дизайн-процесс сильнее», «добавь персоны/доступность/техдолг/передачу» | design/README.md + designpowers/README.md (+ perfection/README.md если следует реализация или аудит) |
Общие аксиомы (все четыре набора правил согласны — применять всегда)
- Нет дизайн-системы = нет работы над UI.
DESIGN.mdсуществует до компонентов; каждое значение цвета, размера шрифта и отступа восходит к токену в ней. - Конкретный референс = контракт. Когда есть скриншот, сгенерированный макет, обзор или аннотированный референс, реализация должна совпадать с его пикселями, текстом, структурой компонентов и адаптивным замыслом, если пользователь явно не принял отклонение.
- Никогда не ослабляй UX И не упрощай поверхность ради очков. Никакого удаления анимаций, скрытия контента, упрощения взаимодействий или замены отрендеренного/освещённого материала плоскими заливками и плоскими геометрическими примитивами ради оценки Lighthouse или дедлайна. Достигни 100 И сохрани объёмность поверхности — и то, и другое, или ничего.
- Никаких эмодзи в качестве иконок. Только наборы SVG-иконок (Lucide, Heroicons, Radix, Phosphor).
- Только анимация с GPU-композитингом —
transform,opacity,filter; никогда не анимируй свойства layout. - Слоп-анимация запрещена — движение служит смыслу. Каждая анимация или hover должны соответствовать реальному взаимодействию, изменению состояния или аффордансу. Hover, который ничего не меняет, движение на неинтерактивном элементе или декоративная микроанимация без информационной цели — это слоп; не добавляй их.
- Готово — это
/visual-qaгейт двойного оракула, а не твой собственный взгляд. Задача фронтенд-дизайна проверяется через/visual-qa(реальный браузер при 375 / 768 / 1280px, каждая страница, с отработкой и проверкой состояний взаимодействия и движения), пока гейт завершения двойного оракула не пройдёт на свежих доказательствах.
Когда загружать что-то другое вместо этого
| Ситуация | Загрузить |
|---|---|
Бренд/стиль не среди 70 в references/design/, или пользователь говорит «Open Design» | open-design скилл — локальная библиотека nexu-io/open-design (137+ дизайн-скиллов, 150+ дизайн-систем) |
| Управление браузером для фазы Design QA | agent-browser скилл |
| Чистая работа на TypeScript/логике без визуальной поверхности | programming только скилл — этот скилл здесь ничего не добавляет |
Активация
Используй для любой работы над фронтендом, веб-UI, UX, визуалом, дизайном, стилями, вёрсткой, анимацией, производительностью, доступностью или SEO — создание, редизайн, аудит или генерация макетов. Не для бэкенда, CLI или чисто логических задач без визуальной поверхности.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: frontend](https://darkplay.ru/ai/skills/code-yeongyu-oh-my-openagent-frontend)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
frontend-designanthropics · Создание выразительных фронтенд-интерфейсов продакшен-уровня с высоким качеством дизайна…
taste-skillleonxlnx · Навыки дизайна фронтенда: брутализм, минимализм, мягкий стиль, редизайн, stitch и другое.
impeccablepbakaus · Дизайнерская беглость для фронтенд-разработки. 1 навык с 23 командами (/impeccable…
frontend-designanthropics · Создание выразительных фронтенд-интерфейсов продакшн-уровня с высоким качеством дизайна…
vercelanthropics · Интеграция с платформой развёртывания Vercel. Управление деплоями, проверка статуса…
application-performancewshobson · Профилирование приложений, оптимизация производительности и observability для фронтенд- и…
frontend-mobile-developmentwshobson · Разработка фронтенд-интерфейсов и мобильных приложений для разных платформ.
frontend-mobile-securitywshobson · Защита от XSS и CSRF, content security policy, безопасность мобильных приложений и…
Electron Code Review Mode Instructionsgithub · Режим код-ревью для приложения Electron с бэкендом на Node.js (main), фронтендом на…
Expert React Frontend Engineergithub · Экспертный фронтенд-инженер React 19.2, специализирующийся на современных хуках, Server…Лучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirtonЛучшие ИИ-инструменты для программирования
Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные
GenAPIGenapi
Notepad++ AINotepad-plus-plus
Creatium MaxCremax
Emacs AIGnu
KiteKite
Amazon Q DeveloperAmazonЛучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-maker