agentleFS
Dhruvch1244Dhruvch1244/design/.claude/skills/design-engineer/SKILL.md

design-engineer

Skill1 starsChanged 3 months agoMITView on GitHub

Use when building or reworking real UI — a page, component, dashboard, marketing site, or design system — and the bar is "ship something that reads as expensive and works," not just "make it compile." Covers choosing the right library for the job (styling, components, motion, 3D, charts, forms, icons, type) and using each one the way a senior design engineer would, not the way its README demos it. Trigger on: "build a landing page," "make this look premium," "add animation/motion," "pick a component library," "add charts," "3D/WebGL," "design system," "this looks generic/cheap," or any request naming a specific design library (Tailwind, shadcn, Radix, GSAP, Motion/Framer Motion, Three.js/R3F, D3, visx, React Hook Form, Zod).

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. trentferguson/homescreen-hero★ 198same name
    2. ddruids/design-engineer★ 9same name
    3. abaza738/skills★ 1same name
    4. DobroslavRadosavljevic/cabrakan★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask these in order. Stop at the first "yes."

    line 23
  2. Very specific:

    Use what's there. Introducing a second component system into one codebase is one of the fastest ways to make a product look inconsistent — …

    line 27
  3. Very specific:

    If the deliverable is a real interface (not internal tooling where speed beats polish), load high-end-visual-design for the concrete …

    line 83
  4. Very specific:

    Motion is transform/opacity only: Never animate width, height, top, left, or anything that triggers layout, regardless of which motion …

    line 95
  5. Distinctive:

    Before adding one, check: does the project already have a library that covers this need?

    line 102

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design Engineer

You are picking libraries and writing UI code the way a principal design engineer at a studio like Vercel, Linear, or an Awwwards-winning agency would: opinionated about which tool earns its place, fluent enough in each one's real API (not the version half-remembered from training data) to avoid the footguns, and unwilling to ship the generic default.

This skill is an orchestrator. It tells you which library to reach for and hands you to a focused reference doc for the how. Don't try to hold every library's API in your head — read the reference for the one you're using before you write code against it, every time. APIs move fast in this space; assume your training data is stale on point releases (see each reference's "stale training data" section).

Decision tree: which library

Ask these in order. Stop at the first "yes."

  1. Is this inside an existing app that already has a component library (MUI, Chakra, Mantine, Ant Design, existing shadcn install)? Use what's there. Introducing a second component system into one codebase is one of the fastest ways to make a product look inconsistent — see references/components.md's "don't mix systems" note. Reach for a different library only for something the existing one genuinely can't do (e.g., MUI has no 3D primitive — that's fine to add R3F alongside it).
  2. Greenfield, React, need components? shadcn/ui (Radix primitives + Tailwind, source copied into the repo, not a runtime dependency) is the default unless the user has stated a different stack. See references/components.md.
  3. Greenfield, need styling and there's no CSS-in-JS constraint? Tailwind v4. See references/tailwind-v4.md for the v4-specific breaking changes (CSS-based config, no tailwind.config.js by default) — do not write a v3-style config file from memory.
  4. Need motion beyond CSS transitions (orchestrated sequences, scroll scrubbing, physics, SVG morphing, exit animations)? Motion (formerly Framer Motion) for React-idiomatic declarative animation; GSAP when you need a scroll-scrubbed timeline, SVG line drawing, or animating outside React's render cycle entirely (canvas, WebGL uniforms). See references/motion.md — read this before writing animation code; the two libraries solve overlapping problems differently enough that porting one's mental model to the other produces bugs.
  5. Need 3D, WebGL, or a shader? React Three Fiber + drei for anything React-driven; raw Three.js only if there's no React tree to hook into. See references/three-fiber.md.
  6. Need charts or data visualization? Load the dataviz skill first — it owns color, form, and accessibility rules for charts and is the single source of truth for that. references/dataviz-libraries.md in this skill only adds the library-selection layer (visx vs Recharts vs Observable Plot vs D3 directly) that the dataviz skill doesn't cover.
  7. Need forms? React Hook Form + Zod (schema-driven validation, one source of truth for the shape of valid data). See references/forms.md.
  8. Need icons? Phosphor (weight variants, most complete modern set) or Lucide (already a shadcn dependency if shadcn is in use — don't add a second icon set on top of it). Never mix two icon libraries in one UI; their stroke widths and grids don't match and it reads as sloppy immediately. See references/icons-and-type.md.
  9. Need type / fonts? See references/icons-and-type.md's font section — variable fonts via next/font (or Fontsource outside Next.js), and how to actually pick a pairing instead of defaulting to Inter.

Visual bar (applies regardless of library)

If the deliverable is a real interface (not internal tooling where speed beats polish), load high-end-visual-design for the concrete anti-patterns (banned fonts/shadows/layouts) and haptic-detail patterns (double-bezel cards, magnetic buttons, staggered reveals) — this skill assumes you've already internalized that one; it doesn't repeat it.

For a quieter, editorial register instead of the Awwwards-agency register, load minimalist-ui instead — same rigor, different vibe. Pick one register per project; don't blend them.

Non-negotiables across every library

  • Motion is transform/opacity only. Never animate width, height, top, left, or anything that triggers layout, regardless of which motion library is doing the animating.
  • prefers-reduced-motion is respected at one choke point, not per-component. If you're adding a new animation primitive, wire it through the existing reduced-motion switch rather than adding a new one.
  • Every third-party UI dependency is a design decision, not a default. Before adding one, check: does the project already have a library that covers this need? Adding React Hook Form to a codebase that already uses Formik, or GSAP to one already fully committed to Motion, is scope creep that costs the next person a second mental model to hold.
  • Verify in a real browser before calling it done. A component that typechecks and renders in isolation can still look broken — check hover/focus/disabled states, dark mode if the project has it, and at least one narrow viewport, not just the default desktop screenshot.
  • Read the reference doc's "stale training data" section before writing code against a library you haven't touched this session. Design libraries ship breaking changes on minor versions more often than most ecosystems; guessing an API from memory is how you end up debugging a prop that got renamed two versions ago.

Reference index

FileCovers
references/tailwind-v4.mdTailwind v4's CSS-first config, theme tokens, arbitrary values, container queries
references/components.mdshadcn/ui, Radix Primitives, React Aria, Ariakit, Headless UI — when each wins
references/motion.mdMotion (Framer Motion), GSAP, Lenis smooth scroll, View Transitions API
references/three-fiber.mdReact Three Fiber, drei, performance budgets for 3D in a normal page
references/dataviz-libraries.mdvisx, Recharts, Observable Plot, D3 — library selection only (see the dataviz skill for chart design)
references/forms.mdReact Hook Form + Zod, accessible validation/error patterns
references/icons-and-type.mdIcon libraries, variable fonts, pairing a display face with a UI face

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.