.cursor/skills/design-with-taste/SKILL.md
Apply the "Family Values" design philosophy to every UI you build. Use this skill whenever creating frontends, components, apps, landing pages, dashboards, or any user-facing interface. Enforces three core principles (Simplicity, gradual revelation; Fluidity, seamless transitions; Delight, selective emphasis) so that every output feels crafted, intentional, and alive. Prevents generic, static, lifeless UI. Works alongside other skills like frontend-design, web-animation-design, and more.
npx skillsauth add JustineDevs/E-Commerce design-with-tasteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill encodes the design philosophy behind Family: a product widely praised for feeling alive, welcoming, and intentional. Originally documented by Benji Taylor at benji.org/family-values.
Read this before writing any UI code. Every time.
The user wants something built. Your job is to make it feel like a human who gives a shit designed it.
Ordered by priority. You cannot have Delight without Fluidity, and you cannot have Fluidity without Simplicity.
"Each action by the user makes the interface unfold and evolve, much like walking through a series of interconnected rooms."
The problem: Most UIs dump everything at once: every feature, every option, every edge case, all visible, all the time. This transfers cognitive burden from the designer to the user.
The principle: Show only what matters right now. The interface should feel like walking through rooms: you glimpse what's next before you arrive.
Rules:
// GOOD: Progressive tray: compact, focused, context-aware
<Sheet>
<SheetTrigger>Confirm Send</SheetTrigger>
<SheetContent className="h-[45vh]">
{" "}
{/* height varies from parent */}
<SheetHeader>
<SheetTitle>Review Transaction</SheetTitle>
<DismissButton />
</SheetHeader>
{/* Core info only: no extras */}
<Button>Send $42.00</Button>
</SheetContent>
</Sheet>
Self-check: Can the user tell within 1 second what to do next? If not, simplify.
"We fly instead of teleport."
The problem: Static transitions make products feel dead. A dead product feels uncared for. Instant cuts destroy spatial orientation: where did that come from? Where did it go?
The principle: Treat your app as a space with unbreakable physical rules. Know why a transition makes sense architecturally before adding it. Every element moves from somewhere to somewhere.
Rules:
npm i torph): dependency-free, works with React/Vue/Svelte. Crossfade is the minimum fallback; shared-letter morphing is the ideal.→ becomes a ← on back-navigation. An accordion chevron rotates on expand.// Text morphing: use torph
import { TextMorph } from 'torph/react';
<TextMorph>{label}</TextMorph> // handles shared-letter animation automatically
// Directional tab transitions
const direction = newIndex > currentIndex ? 1 : -1;
<motion.div
key={currentTab}
initial={{ x: direction * 20, opacity: 0 }}
animate={{ x: 0, opacity: 1 }}
exit={{ x: -direction * 20, opacity: 0 }}
transition={{ duration: 0.3, ease: [0.16, 1, 0.3, 1] }}
/>
// Shared element: card → detail view
<motion.div
layoutId={`card-${id}`}
className={isExpanded ? "fixed inset-0 rounded-none" : "rounded-xl"}
transition={{ duration: 0.4, ease: [0.16, 1, 0.3, 1] }}
/>
The golden easing curve: cubic-bezier(0.16, 1, 0.3, 1): fast start, gentle settle. Default for all entrances and morphs. Use ease-in (cubic-bezier(0.4, 0, 1, 1)) for exits only. Never use linear.
Self-check: Record your screen and play back at 0.5x speed. Can you follow every element's journey? Anything that teleports needs a transition.
"Mastering delight is mastering selective emphasis."
The problem: Either zero personality (corporate slop) or everything bounces and sparkles (annoying). Both miss the point.
The principle: The Delight-Impact Curve: the less frequently a feature is used, the more delightful it should be. Daily actions need efficiency with subtle touches. Rare moments deserve theatrical ones.
Delight ↑
| * (rare features: theatrical)
| *
| *
| * * (medium: memorable)
| * *
|* * * (frequent: subtle)
+------------------→ Feature frequency
Rules:
npm i liveline): one canvas, no dependencies beyond React 18, 60fps interpolation. For 60fps value overlays, update the DOM directly rather than through React state to avoid re-render overhead.Delight pattern library: concrete moments proven to work:
| Feature | Frequency | Delight Level | Pattern | | ---------------------------------------- | ----------- | ------------- | -------------------------------------------- | | Number input | Daily | Subtle | Commas shift position as digits are typed | | Tab/chart navigation | Daily | Subtle | Arrow icon flips direction with value change | | Empty state | First visit | Medium | Animated arrow + floating illustration | | Item reorder | Occasional | Medium | Stacking animation + smooth drop | | Delete/trash | Occasional | Medium | Item tumbles into skeuomorphic trash + sound | | First feature use | Once | High | Animated guide arrow in empty state | | Critical completion (backup, onboarding) | Once | Theatrical | Confetti explosion + celebratory sound | | Easter egg (QR, hidden gesture) | Rare | Theatrical | Ripple on tap → sequin effect on swipe |
// Animated number with smooth comma shifting
function AnimatedNumber({ value }) {
const spring = useSpring(value, { stiffness: 80, damping: 20 });
return (
<motion.span>
{useTransform(spring, (v) => Math.round(v).toLocaleString())}
</motion.span>
);
}
// Real-time chart: liveline handles interpolation, momentum arrows, scrub, theming
import { Liveline } from "liveline";
<div style={{ height: 200 }}>
<Liveline
data={history} // [{ time, value }]
value={latestValue} // current number
momentum // directional arrows (green/red/grey)
showValue // 60fps DOM overlay, no re-renders
color="#3b82f6" // derives full palette from one color
/>
</div>;
// Satisfying empty state
function EmptyState() {
return (
<div className="flex flex-col items-center gap-4 py-16">
<motion.div
animate={{ y: [0, -8, 0] }}
transition={{ repeat: Infinity, duration: 2, ease: "easeInOut" }}
>
<IllustrationIcon />
</motion.div>
<p className="text-muted">Nothing here yet</p>
<motion.div
animate={{ x: [0, 5, 0] }}
transition={{ repeat: Infinity, duration: 1.5 }}
>
<ArrowRight className="inline mr-1" /> Create your first item
</motion.div>
</div>
);
}
// Confetti on significant completion
function CompletionScreen() {
useEffect(() => {
playSound("success");
}, []);
return (
<motion.div
initial={{ scale: 0.8, opacity: 0 }}
animate={{ scale: 1, opacity: 1 }}
transition={{ type: "spring", damping: 15, stiffness: 200 }}
>
<ConfettiExplosion />
<h2>You're all set!</h2>
</motion.div>
);
}
Self-check: Show your UI to someone for 30 seconds. Do they smile? If not, add delight. Do they look annoyed? You over-delighted a high-frequency interaction.
Run before considering any UI "done":
cubic-bezier(0.16, 1, 0.3, 1)opacity: 0 → 1 centered.| Use Case | Easing | Duration |
| -------------------------------- | ------------------------------- | ---------------- |
| Element entering | cubic-bezier(0.16, 1, 0.3, 1) | 300–400ms |
| Element exiting | cubic-bezier(0.4, 0, 1, 1) | 200–250ms |
| Shared element morph | cubic-bezier(0.16, 1, 0.3, 1) | 350–500ms |
| Micro-interaction (hover, press) | cubic-bezier(0.2, 0, 0, 1) | 100–150ms |
| Spring (bouncy) | damping: 20, stiffness: 300 | auto |
| Spring (smooth) | damping: 30, stiffness: 200 | auto |
| Number counting | ease-out cubic | 400–800ms |
| Page transition | cubic-bezier(0.16, 1, 0.3, 1) | 300ms |
| Stagger between items | - | 30–60ms per item |
These libraries are built by the same people behind Family and embody the same philosophy:
| Library | Purpose | Install |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------- | ---------------- |
| torph | Dependency-free text morphing. Handles shared-letter transitions automatically. React, Vue, Svelte. | npm i torph |
| liveline | Real-time animated line charts. One canvas, 60fps lerp, momentum arrows, no dependencies beyond React 18. | npm i liveline |
When building anything with text that changes or live numeric/chart data, reach for these before rolling your own.
frontend-design skill for visual aesthetics (typography, color, layout). This skill handles feel and interaction quality.The goal is not to make something that "works." The goal is to make something that someone uses and thinks: "Whoever made this actually gives a shit."
That's taste.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
tools
UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, and check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, and mobile app. Elements: button, modal, navbar, sidebar, card, table, form, and chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, and flat design. Topics: color systems, accessibility, animation, layout, typography, font pairing, spacing, interaction states, shadow, and gradient. Integrations: shadcn/ui MCP for component search and examples.
development
Runs and scopes automated tests for this Turborepo (unit, package filters, Medusa stress, E2E, release gate). Use when the user asks to run tests, verify CI locally, debug failing tests, or choose the right test command for a changed package.
development
Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.