← ClaudeAtlas

design-engineeringlisted

Frontend craft rules for details that break under real use: hover and focus states that move layout, typography that shifts, variable-font axes, motion that costs frames. Use when building or reviewing UI where a state change, a font, or an animation can push neighbouring elements around — nav links that grow on hover, buttons that resize, tables whose numbers jitter, hover effects that reflow. Also use when the user asks about font weight on hover, variable fonts, font-variation-settings, GRAD or grade axes, or layout shift from a style change.
RIJUDEVx/agent-skills · ★ 1 · Web & Frontend · score 74
Install: claude install-skill RIJUDEVx/agent-skills
# Design engineering The rules that only show up after the design is built: a hover that moves the nav, a weight that is wider than the one it replaced, a transition that drops frames, a synthetic bold that renders twice. Use this when the work touches states, typography, or motion. For direction, hierarchy, colour and the wider craft floor, the `impeccable` skill has the deeper references. ## The rule that catches the most: emphasis must not resize anything **Making nav links bold on hover pushes everything next to them. Heavier weights are also wider.** A weight change is a metric change. In a flex or inline row the wider glyphs take space from the siblings, so the row reflows, wraps, or nudges. Nothing about it looks like a bug: it looks like the page was never designed. Three ways out, in order of preference: **1. Do not change the weight.** Colour, opacity, an underline, or a small `scale` are enough to say "this one is hovered". These cost no layout. ```css /* Good: the box never changes size */ .nav a { color: var(--fg-muted); transition: color 140ms ease-out; } .nav a:hover { color: var(--fg); } ``` **2. Use the grade axis, if the family has one.** A grade axis darkens the stroke without touching the glyph's advance width, so the text looks bolder and stays exactly as wide. ```css /* Needs a family that ships GRAD (Roboto Flex and friends) */ .nav a:hover { font-variation-settings: "GRAD" 150; } ``` **3. Reserve the width.** When bold really is the