emil-design-foundations
БесплатноБез исполняемых скриптовНе проверенCore visual design judgment — hierarchy, spacing, typography, color, layout, information architecture, interaction states, and UI copy, expressed as paired…
от freekmurze★ 1 019 звёзд на GitHubОб этом скилле
Design Foundations
Taste is trained, not innate. It's the practiced ability to see past "it works" to "it's right" — and you build it by studying great interfaces, asking why they feel good, and sweating decisions users will never consciously notice. That's the core bet of this skill: most details are invisible individually, but they compound. A half-pixel-snapped icon, a tabular-nums price column, a border that recedes instead of sitting on top — a thousand barely audible voices all singing in tune, as Paul Graham put it. In a world where everyone's software is functional, this aggregate of invisible correctness is the differentiator. This skill encodes those calls, drawn from Emil Kowalski's design engineering practice, as paired right/wrong decisions: apply them when producing UI, cite them when reviewing it.
Styling systems: when a task involves writing styles, detect and match the project's existing approach — Tailwind, plain CSS, CSS Modules, CSS-in-JS, vanilla-extract, whatever is already there. Never impose a different styling system. The values below (durations, ratios, alpha borders) translate to any of them.
Quick Reference
| Topic | File |
|---|---|
| Iconography and illustration craft (stroke weights, optical alignment, icon semantics, illustration cohesion) | icons-and-illustrations.md |
Core Principles
- One primary action per view. If three buttons carry equal visual weight, none of them is the next step. Demote: primary, secondary ghost, text link.
- Hierarchy is subtraction. Make the important thing prominent by making everything else recede — don't make everything louder.
- Restraint reads as intent. Fewer colors, fewer font weights, one icon library, three illustration colors instead of six. A limited palette looks decided; a full one looks indecisive.
- Specific beats generic. "Save changes" beats "Submit". "Your email must include an @ symbol" beats "Invalid input". Empty states say why and what to do next.
- Borders and shadows should recede, not sit on top. Alpha-based borders (
rgba(0,0,0,0.08)in light mode) and layered shadows read as physical; solid hex borders and single big shadows read as pasted on. - Use semantic tokens and perceptual color spaces.
--color-border-subtleover raw hex; OKLCH over HSL when comparing or deriving lightness;color-mixover hand-picked hover hexes. - Space with system, not eyeballing.
gapover per-child margins, paragraph spacing tied to line-height, line length capped at 65ch, inner radius = outer radius − padding. - Every state is designed. Default, hover, focus, active, disabled, loading, empty, error — each visually distinct. A missing pressed state makes a button feel dead.
- Accessibility is a floor. Focus rings, labels wired to inputs, real
<button>elements, color-plus-icon-plus-text for errors. Non-negotiable, not a polish pass. - Know when to break the rules. Several pairs below are trick questions on purpose — tabs, baseline grids, contrast specs. The rule is the default; context decides.
How to Review UI
When auditing existing UI, present findings as a single markdown table with | Before | After | Why | columns — one row per issue, the Why column giving the one-line reason. Don't use stacked "Before:/After:" lists. And review with fresh eyes when possible: flaws invisible at the end of a build session are obvious the next day.
Typography
- Display headlines: metric kerning leaves awkward gaps between certain letter pairs — enable optical kerning for large type.
- Don't set paragraph spacing to an arbitrary value like 12px; set it to 1× the line-height so the vertical rhythm stays consistent.
- Cap body text at 65ch. Full-container-width lines are exhausting to read.
- Uppercase labels need loosened tracking. Default tracking on all-caps looks cramped and amateur.
- Always declare a fallback font stack designed to match the webfont's x-height and weight — an unstyled fallback causes layout shift on load.
- Light typeface weights are size-dependent: illegible at 11px, elegant at 32px. Don't use light weights small.
- Pair for contrast, not similarity. Two humanist sans-serifs together create sameness; a sans with a serif creates hierarchy.
- Number columns (prices, data tables) get
font-variant-numeric: tabular-nums. Default proportional figures don't stack and the column reads as chaos. - Kill widows: a single orphaned word on the last line looks like a mistake —
text-wrap: balance(orpretty) fixes it. - For hover emphasis without layout shift, increase weight via a variable font axis rather than swapping to a fixed heavier weight.
- Default
<sup>is too large and throws off line spacing — size and baseline-shift footnote markers manually. text-wrap: balanceisn't always right: on a 3-line headline it can leave line 1 awkwardly short. Sometimes a manual break wins.- Italic is for citati
Установить emil-design-foundations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл emil-design-foundations?
Core visual design judgment — hierarchy, spacing, typography, color, layout, information architecture, interaction states, and UI copy, expressed as paired right/wrong decisions. Use when building, styling, or reviewing any interface; when choosing type, colors, borders, shadows, spacing, icons, empty states, error messages, or button hierarchy; or when a UI "looks off" and needs a design audit. Triggers on: design, UI, visual hierarchy, spacing, padding, margin, gap, whitespace, typography, font, kerning, tracking, letter-spacing, line-height, line length, color, palette, dark mode, contrast, WCAG, border, shadow, border-radius, icon, iconography, illustration, layout, grid, breakpoint, alignment, empty state, error message, microcopy, copywriting, button, tooltip, popover, badge, tag, toast, form, input, focus ring, accessibility, a11y, information architecture, navigation, tabs, onboarding, looks off, feels cheap, polish, design review, design critique.
Как установить скилл emil-design-foundations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл emil-design-foundations запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic