Logo de Frontend Design

Frontend Design

Comunidade
Lynricsy
frontend-design

Designs and audits web interfaces for visual quality, usability and accessibility. Use when picking a palette, type scale or spacing, when a UI looks generic or AI-generated, when reviewing UI code for WCAG 2.2, focus or form issues, or when checking Core Web Vitals or CSS Baseline support, in any framework.

Visão geral

Publicado porLynricsy
RepositórioHyperSkills
Nome da habilidadefrontend-design
Estrelas
26
Forks
0
Arquivos incluídos
22
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 22

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por Lynricsy no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Frontend Design no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Lynricsy/HyperSkills/tree/main/skills/frontend-design
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Lynricsy/HyperSkills.git /tmp/HyperSkills
mkdir -p .claude/skills
cp -r /tmp/HyperSkills/skills/frontend-design .claude/skills/frontend-design
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Frontend Design em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Frontend Design automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Frontend Design não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Frontend Design

Paths below are relative to this skill's directory.

Scope

Covered, for any framework or none:

  • Visual direction: palette, type, layout, spacing, elevation, motion, and the taste calls that decide them.
  • Recognizing and removing the traits that make an interface read as machine-generated.
  • Reviewing existing UI code against interface guidelines: accessibility, focus, forms, content handling, images, animation, performance, navigation state, touch, dark mode, locale, copy.
  • Modern CSS and HTML platform features, their Baseline support level, and fallback policy.
  • Core Web Vitals as a design constraint.

Not covered, and do not improvise here:

  • React, Next.js, Vue, Svelte or Astro APIs, hooks, rendering models and bundling. Those are the react, vue, svelte and astro skills.
  • Native mobile UI (UIKit, SwiftUI, Jetpack Compose, React Native). Platform target sizes and idioms differ; the apple skill covers Apple platforms, android and react-native cover theirs.
  • Print, poster and canvas design, and brand identity systems.
  • Backend, data modelling, and query performance.
  • Search engine optimization: crawling, indexing, sitemaps, canonical URLs, structured data and search metadata. Those are content and crawler concerns rather than interface quality.

Core rules

  • State a one-line design read (kind, audience, visual language) before writing markup. The audience picks the aesthetic, not your taste.
  • Set the three dials (variance, motion, density) from that read, then judge every layout and motion choice against them. Unstated dials drift toward the same page every time.
  • Run the plan past the five generated-design clusters before building; where the brief pins a direction, even one of those clusters, the brief wins and only free axes get calibrated. Those traits are defaults rather than choices, and they show up whatever the subject.
  • One accent color and one neutral temperature per project. A second accent reads as a decision nobody made.
  • One radius scale, concentric when nested (outer radius = inner radius + padding). A single radius on every element erases hierarchy.
  • One layout family per section, reused at most once per page, and never three consecutive image-and-text splits. Eight sections need at least four distinct families.
  • Small uppercase tracked labels above headings stay within ceil(sections / 3), hero included. One above every section is the most reliable template signature there is.
  • Past about five items, a bulleted list or a row-per-item divider stack is the wrong component rather than a long one. Tidying the hairlines does not fix a ten-row spec table.
  • One theme for the whole page. Sections do not invert; tints within the same family are how a page varies.
  • Semantic tokens in components (--surface, --text-muted, --accent), never raw hex. Raw values make dark mode and rebrands impossible.
  • Design light and dark together and re-check contrast in both. An inverted palette is not a dark theme.
  • Text contrast at least 4.5:1, large text 3:1, non-text UI and state indicators 3:1 [official] (WCAG 2.2 SC 1.4.3, 1.4.11).
  • Pointer targets at least 24x24 CSS px unless a documented SC 2.5.8 exception applies [official]. 44x44 is SC 2.5.5 (AAA) and platform guidance, not the AA floor.
  • Every interactive element keeps a visible :focus-visible indicator. outline: none without a replacement makes the page unusable by keyboard.
  • One or two type families, measure under about 80 characters, and no reflex defaults (Inter as the sans, Fraunces or Instrument Serif as the display face). Give one sentence of reason per family.
  • Ask whether a thing should animate before asking how. Anything a person triggers dozens of times a day, and anything keyboard-initiated, should not animate.
  • Animate transform and opacity only, and list properties explicitly. transition: all animates layout properties and drops frames.
  • Give every animation beyond hover and active a prefers-reduced-motion variant: fewer and gentler, not zero.
  • Declare width and height (or aspect-ratio) on images, video and embeds. Missing intrinsic size is the most common source of layout shift.
  • Suppress page rubber-banding only for fine pointers: overscroll-behavior: none on html inside @media (pointer: fine), so touch devices keep pull-to-refresh, while modals, drawers and inner panes keep contain. pointer reflects only the primary input, so test hybrid devices.
  • Zero em dash (U+2014) and en dash (U+2013) in visible copy. The spaced dash label is the most reliable text tell, and a hyphen, comma, colon or line break always replaces it.
  • Use real content: plausible names, organic numbers, a real product name. Placeholder copy hides the wrapping and overflow problems real content exposes.
  • Format dates, numbers and currency with Intl.DateTimeFormat and Intl.NumberFormat, never a hardcoded pattern.
  • Check Baseline before using a platform feature instead of asserting support from memory: npx -y modern-web-guidance@latest search "<goal>".
  • Spend boldness in one place. Let one element be the memorable thing and cut decoration that does not serve the brief.

Workflows

design-direction

Use when the deliverable is a look, not a fix.

  • Name the subject, the audience and the page's primary job. If the brief does not say, propose one concrete answer and confirm it.
  • Translate every quality word in the brief ("premium", "restrained", "clean", 高级, 克制) into decisions you could check on screen, using the table in references/ai-tells-and-calibration.md. A word that will not translate is not a reason.
  • State the design read in one line: Reading this as: <kind> for <audience>, with a <vibe> language, leaning toward <aesthetic family>.
  • Set the dials. Tooling surfaces (devtools, dashboards, app shells) start at variance 2-3, motion 2-3, density 7-9. Marketing surfaces (landing, portfolio, product) start at variance 7-8, motion 5-7, density 3-4. Override only from the read.
  • Name one primary subject and one primary action for the first viewport. List what is cut, merged or demoted so each stays single, before drawing anything.
  • Write the design plan, five parts: Color as 4-6 named hex values with a role each, plus where the hue comes from and the category default it departs from (references/color-and-tokens.md; a metaphor in the brief drives structure and texture, never the hue); Type as one or two families with roles and a reason; Layout as a one-sentence concept plus an ASCII wireframe plus stated alignment; Icons as a named set with a stroke weight matched to the body text, or none; Principles as what makes this page specific to this brief.
  • Cliché gate. Re-read the plan against references/ai-tells-and-calibration.md. For each trait that matches a cluster, either revise it or justify it from the brief, and say what changed. Ask whether a similar prompt would have produced the same plan, and put an unrelated product's name on the first viewport: if either still holds, the plan is a default.
  • Build to the revised plan. Watch CSS specificity: a type-based selector (.section) and an element-based one cancel each other out, which usually shows up as missing space between sections.
  • Self-critique on the rendered page, at the target viewport. Remove one accessory. Confirm the quality floor: reflows at 320 CSS px, visible focus, reduced motion honored, contrast met, real content in place. A direction delivered as text says it is unrendered; nothing counts as visually checked until someone has looked at it rendered.

Gate: the plan lists 4-6 hex values with their source, contains at least one ASCII wireframe, names the icon approach, and contains a paragraph naming what the cliché gate changed. No component code before that gate passes.

review-ui

Use when UI code already exists.

  • Fix the file set and read each file end to end. Guessing from names produces wrong line numbers.
  • Render it where a browser is available, at the widths the audience uses, and look at the result before writing visual findings. Mark anything judged from source alone as unrendered.
  • Walk references/review-checklist.md category by category. Do not stop after accessibility; the later categories (content handling, locale, touch) are where most real defects hide. On a Chinese or Japanese page also walk the CJK section of references/typography.md.
  • Count before judging: eyebrow labels against ceil(sections / 3), layout families against the section count, grid cells against items, and runs of consecutive same-split sections. These are the findings a read-through misses, because each section looks fine on its own.
  • Walk references/ai-tells-and-calibration.md as a separate axis. No linter sees this one, so it is the axis worth your attention.
  • Skip what the project's own tooling already enforces (formatter, eslint-plugin-jsx-a11y, stylelint). Say once that it was skipped.
  • Write each finding as path:line - problem plus the concrete replacement. A finding without a replacement is not actionable.
  • Keep replacements to shape, never to fact. Flagging invented precision and then supplying a measurement protocol, a full name and employer, or a delivery date is the same defect rewritten. Give the form and name the input the project has to supply.
  • Order findings by impact within each file: broken for keyboard or assistive tech, then broken on small screens, then visual-tell, then polish.
  • Give a file with no findings a ✓ pass line so the reader knows it was checked.

Gate: every finding carries a path:line and a replacement, every reviewed file appears in the output, the output opens with the first file heading rather than a summary, and no replacement asserts a fact that could only come from the project.

stress-test-content

Use when asked to stress-test a component or screen, find its edge cases, or try the worst case. Demo data is chosen to make a design look good; this workflow undoes that one field at a time.

  • List every rendered value (including header counts, badges, relative times, avatars and the list length itself) with its source and limit from the validation schema, column type, API type or maxLength. A value with no limit anywhere is a finding: say "unbounded".
  • Build one worst-case dataset from plausible values or those exact limits, never keyboard mash, and spread the failures across rows: long hyphenated and multi-part names, one-letter and single-word names, emoji-first names, long corporate emails, missing optional fields, counts at 0, 1 and four digits.
  • Feed it where the demo data enters (fixture, props, mock, API stub). Editing markup or CSS to force a break tests the edit, not the component.
  • Add the states one dataset cannot hold: an empty list, exactly one item with every count at 1, and the realistic maximum list length (a long unpaginated list is a performance break too).
  • Render at the component's real container width, then 320 CSS px, then 200% zoom, then RTL and dark mode where the product supports them. Text grows and fixed boxes do not.
  • Map each break to its cause and fix: flex-shrink: 0 on avatars, icons, badges and trailing actions; min-width: 0 on the text column; top-align rows once their text can wrap; plurals through Intl.PluralRules or per-count messages; initials from grapheme clusters (Intl.Segmenter) of the first and last word, with a fallback icon.
  • Decide wrap, end truncation, middle truncation or clamp per field. Middle-truncate values that differ at the end (file names, paths, hashes); never truncate numbers, amounts or dates; keep every truncated value readable in full.

Gate: every rendered value has a limit or "unbounded", every break is reported as value, cause and fix with a path:line, and the report states which of real width, 320 px, 200% zoom and RTL were rendered and which were inferred from the code.

modernize-css

Use when picking or replacing a CSS or HTML platform feature.

  • Phrase the goal as an action, for example "change layout based on the component's own width" rather than "use container queries".
  • npx -y modern-web-guidance@latest search "<goal>" and read the returned ids, categories and similarity scores.
  • npx -y modern-web-guidance@latest retrieve "<id>" for the best match. Multiple ids can be passed comma-separated. If the output is truncated, redirect it to a file and read the file.
  • Apply the fallback policy: Baseline Widely available features are used directly; features that are not Widely available ship the fallback the guide prescribes.
  • If the project states a browser-support policy (in AGENTS.md or similar), use the guide's compatibility data to decide whether the fallback can be dropped. If no policy exists and you had to assume one, say so and propose one line for the project to adopt.
  • Do not adopt a feature the goal did not ask for. The guides describe options, not requirements.

Gate: every modern feature introduced is either Baseline Widely available or ships the guide's fallback, and the change description cites the retrieved guide id.

redesign-ui

Use when a UI already exists and the deliverable is a new look rather than a list of defects.

  • Classify the mode first: preserve (modernize without breaking the brand) or overhaul (new visual language over existing content and information architecture). If the brief does not settle it, ask exactly once.
  • Audit in writing before proposing anything: existing brand tokens (accent, neutrals, type stack, radii, logo treatment), the page tree and primary conversion paths, which content blocks carry load and which are filler, and the dial reading of the site as it stands. That reading is the starting point, not the baseline for its kind.
  • State what will not change without explicit approval: URL and slug structure, anchor ids, primary navigation labels, form field names and their order, the logo, and legal or consent copy. Renaming a field or a section id breaks analytics and autofill silently.
  • Extract the brand accent before applying any palette rule. A brand that is already purple stays purple; the reflex-accent tell is about unbriefed choices, not about existing brand equity.
  • Apply the levers in order of visual lift per unit of risk and stop when the brief is satisfied: type, then spacing and rhythm, then color recalibration that keeps the brand accent, then a motion layer, then recomposition of the hero and key sections, then block replacement. Full replacement is the last lever rather than the opening move.
  • Keep every accessibility behavior that already works: focus visibility, alt text, keyboard paths, contrast. A redesign that regresses these has failed whatever it looks like.

Gate: the mode is named, the audit exists in writing, the do-not-change list is stated, and the proposed work is ordered by lever rather than by section.

Topic router

TopicRead whenFile
Generated-look calibrationStarting any design plan, or auditing why a UI feels templatedreferences/ai-tells-and-calibration.md
Type families, scale, measureChoosing or fixing typographyreferences/typography.md
Palette, tokens, dark modeChoosing colors, or a theme has driftedreferences/color-and-tokens.md
Layout, density, elevation, motion valuesComposing a page, or tuning spacing, shadows, easing and durationreferences/layout-density-motion.md
Interface copyWriting labels, buttons, errors, empty statesreferences/ux-writing.md
WCAG criteria and numbersAny accessibility claim, target size, contrast, focus questionreferences/accessibility.md
Forms and inputsBuilding or reviewing any formreferences/forms-and-inputs.md
Core Web Vitals and asset costThe UI is slow, janky, or shifts while loadingreferences/performance-core-web-vitals.md
Modern CSS and HTML featuresReaching for a newer platform feature, or negotiating fallbacksreferences/modern-css-platform.md
Full review checklistRunning review-uireferences/review-checklist.md
Extra UX judgement callsReviewing overflow, disabled states, error summaries, chartsreferences/ux-guidelines-catalog.md

Output format

review-ui output. Use exactly this shape: group by file, one finding per line, no preamble and no closing summary.

text
## src/Button.tsx

src/Button.tsx:42 - icon-only button has no accessible name; add aria-label="Close"
src/Button.tsx:55 - `outline: none` on :focus with no replacement; use :focus-visible with a 2px ring at 3:1 contrast
src/Button.tsx:67 - `transition: all .3s`; list `transform, opacity`
src/Button.tsx:71 - entrance animation has no reduced variant; wrap in @media (prefers-reduced-motion: reduce)

## src/Hero.tsx

src/Hero.tsx:18 - `<img>` has no width/height; declare intrinsic size or aspect-ratio to stop layout shift
src/Hero.tsx:24 - tracked ALL-CAPS eyebrow above the heading is template chrome; drop it or make it a real category link
src/Hero.tsx:31 - "Ship faster — effortlessly" uses an em dash in visible copy; rewrite as "Ship faster, effortlessly"

## src/Card.tsx

✓ pass

State the issue and its location. Skip the explanation when the fix is obvious from the replacement.

design-direction output. Sensible default, adapt to the brief: the design read line, then the five plan parts, then the cliché-gate paragraph. The wireframe stays ASCII so it survives in any transcript. A worked shape, for a brief about a workshop that hand-brazes steel touring frames. Copy the shape, never the contents: this palette, this type pairing and this section order are themselves a default now, so a plan that arrives at them for the same brief has skipped the gate.

text
Reading this as: a portfolio-shaped product page for buyers who need proof of craft,
with a workshop-document language, leaning toward drawing-office typography.

Color   #E9EAE6 drafting paper / #17191A ink text / #565C59 muted / #78858B hairline rules /
        #2B5566 blueprint accent, single CTA only. Source: the workshop's own frame drawings.
        Category default (cream, brass, oxblood) avoided.
Type    Display: a compressed grotesque with drawing-office roots (reason: the subject's own
        documents are engineering drawings, not editorial pages).
        Body: the same family at 400. Numbers: a mono face with tabular figures, because the
        geometry table is itself the proof.
Layout  Left-aligned throughout on an exposed 12-column grid, hairline rules as the only divider,
        spec notes set in the outer margin.

        +------------------------------------------------------+
        | wordmark                                nav   nav    |
        +----------------------------+-------------------------+
        | one-sentence claim         |  macro photo of a       |
        | 2 lines, 42ch measure      |  brazed lug, full bleed |
        | [ Book a fitting ]         |  to the right edge      |
        +----------------------------+-------------------------+
        | geometry table, mono, tabular figures                |
        +------------------------------------------------------+

Icons   None on the page; numbered spec callouts and `↗` for external links carry the wayfinding.

Principles  Evidence over atmosphere. One accent, used once. No card containers.

Cliché gate  The first pass had a #F4F1EA ground with a high-contrast serif display and a
             terracotta accent, which is cluster 1 almost exactly. The second pass moved the
             accent to brass over an oxide CTA, which is its own default: beige plus brass plus
             oxblood is what every premium-consumer brief gets. Third pass keeps the cooler
             paper ground and the grotesque, and takes the accent to a blueprint blue drawn from
             the subject's own drawings, with no second accent behind it. The centered hero
             became a left-aligned split, since variance sits at 6 here.

Environment

  • modern-web-guidance runs through npx and needs outbound network access; nothing is installed into the project. Where ~/.npm is read-only, set NPM_CONFIG_CACHE=/tmp/npm-cache. Prefer pnpx modern-web-guidance@latest ... when pnpm is present (no -y flag there). Request network approval before the first call in gated environments.
  • Automated accessibility checks catch a subset only: axe-core 4.8+ implements the WCAG 2.2 target-size rule, and Lighthouse 12+ runs that same rule. The 48px tap-targets audit in Lighthouse 11 and older is a different heuristic and not a SC 2.5.8 verdict.
  • Contrast, focus order and reduced-motion behavior need a real render. Where a browser is available, check both themes and at 320 CSS px width.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Frontend Design faz?

Designs and audits web interfaces for visual quality, usability and accessibility. Use when picking a palette, type scale or spacing, when a UI looks generic or AI-generated, when reviewing UI code for WCAG 2.2, focus or form issues, or when checking Core Web Vitals or CSS Baseline support, in any framework.

Por que usar Frontend Design no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Frontend Design é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Frontend Design no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Lynricsy/HyperSkills/tree/main/skills/frontend-design. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Frontend Design?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Frontend Design?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Frontend Design com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Frontend Design é gratuita?

Sim. A habilidade é publicada no GitHub por Lynricsy sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇