borghei/Claude-Skills / product-team/design-direction
design-direction
VerifiedTurns a product brief into a design-system spec: style direction, contrast-checked palette, type pairing, tokens, UX rules and chart choices. Use when starting a new product's UI, picking a palette or fonts, or auditing a token file.
references/motion.json
View on GitHub{
"version": 1,
"note": "Motion by interaction. ms gives [calm, standard, expressive] durations; null means the tier does not use it. animate lists the only properties that should change. reduced is what replaces the motion when the user asks for reduced motion. Exits run at roughly two thirds of the entry duration.",
"motion": [
{"id": "press", "name": "Press and hover feedback", "keywords": ["hover", "press", "tap", "button", "click feedback", "ripple"],
"ms": [80, 120, 160], "easing": "ease-out", "animate": ["background-color", "opacity", "transform: scale(0.98) or translateY(-1px)"],
"reduced": "colour change only", "rule": "feedback starts within 100ms of the input; never move neighbouring content"},
{"id": "state-change", "name": "Toggle, checkbox and tab switch", "keywords": ["toggle", "switch", "checkbox", "tab", "segmented control", "selection"],
"ms": [120, 160, 200], "easing": "standard", "animate": ["transform", "background-color", "opacity"],
"reduced": "instant state change with the colour change kept", "rule": "the new state is readable without the animation; motion only connects old and new"},
{"id": "overlay-enter", "name": "Dialog, sheet and popover entry", "keywords": ["modal", "dialog", "sheet", "drawer", "popover", "menu", "dropdown"],
"ms": [160, 220, 300], "easing": "decelerate", "animate": ["opacity", "transform: translate or scale from 0.96"],
"reduced": "fade only, 120ms or less", "rule": "the trigger and the overlay are spatially linked; exit runs faster than entry"},
{"id": "overlay-exit", "name": "Dialog, sheet and popover exit", "keywords": ["close", "dismiss", "exit", "hide"],
"ms": [110, 150, 200], "easing": "accelerate", "animate": ["opacity", "transform"],
"reduced": "instant removal", "rule": "focus returns to the element that opened the overlay"},
{"id": "toast", "name": "Toast and inline notice", "keywords": ["toast", "snackbar", "notification", "banner", "alert"],
"ms": [160, 200, 260], "easing": "decelerate", "animate": ["opacity", "transform: translateY(8px)"],
"reduced": "fade only", "rule": "stays at least 5s, pauses on hover and focus, and is announced politely"},
{"id": "page-transition", "name": "Route or screen change", "keywords": ["page transition", "navigation", "route", "screen change", "view transition"],
"ms": [180, 260, 360], "easing": "standard", "animate": ["opacity", "transform: shared element or short slide"],
"reduced": "cross-fade or none", "rule": "navigation is never blocked while the transition runs; back reverses the direction"},
{"id": "list-stagger", "name": "List or grid entrance", "keywords": ["stagger", "list", "grid", "cards", "items appear", "load in"],
"ms": [null, 200, 280], "easing": "decelerate", "animate": ["opacity", "transform: translateY(8px)"],
"reduced": "all items appear together", "rule": "stagger step 20-40ms and the whole group finishes within 500ms; only the first screen of items staggers"},
{"id": "scroll-reveal", "name": "Scroll-linked reveal", "keywords": ["scroll", "reveal", "parallax", "on scroll", "storytelling", "sticky section"],
"ms": [null, 300, 500], "easing": "decelerate", "animate": ["opacity", "transform"],
"reduced": "content shown in its final state; parallax removed", "rule": "content is readable before and without the effect; never hijack scroll speed"},
{"id": "loading", "name": "Loading and skeletons", "keywords": ["loading", "skeleton", "spinner", "progress", "shimmer", "placeholder"],
"ms": [1200, 1200, 1200], "easing": "linear loop", "animate": ["opacity pulse", "background-position for shimmer"],
"reduced": "static skeleton with a text status", "rule": "show nothing for the first 300ms to avoid flashes; skeletons match the final layout"},
{"id": "data-update", "name": "Live data and number changes", "keywords": ["count up", "number", "chart animation", "live data", "realtime", "ticker"],
"ms": [null, 300, 600], "easing": "standard", "animate": ["opacity", "transform", "chart path for the first render only"],
"reduced": "values swap in place", "rule": "never animate values that change more than once a second; announce changes that matter, not every tick"},
{"id": "celebration", "name": "Success and celebration moment", "keywords": ["success", "celebration", "confetti", "streak", "achievement", "reward"],
"ms": [null, 400, 800], "easing": "spring", "animate": ["transform", "opacity"],
"reduced": "static badge or check mark with the message", "rule": "reserved for real milestones, at most once per session, never during a task"},
{"id": "drag", "name": "Drag, reorder and swipe", "keywords": ["drag", "reorder", "swipe", "drop", "sortable", "gesture"],
"ms": [120, 180, 240], "easing": "decelerate", "animate": ["transform", "box-shadow on the lifted item"],
"reduced": "item moves without the settle animation", "rule": "the item follows the pointer with no lag; a button or menu offers the same action"}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |