agent-orchestration
Hub orchestration patterns for multi-agent workflows. Use when processing delegation requests from agents, coordinating sequential/parallel agent execution,…
Modern design system patterns for 2025. Covers design tokens, OKLCH color systems, fluid typography, animations, dark mode, shadcn/ui components, and Figma handoff. Use when implementing UI styles, theming, accessibility, and visual polish.
$ npx -y skills add shahtuyakov/claude-setup --skill design-patterns --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/design-patternsContext preview
The summary Claude sees to decide when to auto-load this skill.
Modern design system patterns for 2025. Covers design tokens, OKLCH color systems, fluid typography, animations, dark mode, shadcn/ui components, and Figma handoff. Use when implementing UI styles, theming, accessibility, and visual polish.
name: design-patterns description: Modern design system patterns for 2025. Covers design tokens, OKLCH color systems, fluid typography, animations, dark mode, shadcn/ui components, and Figma handoff. Use when implementing UI styles, theming, accessibility, and visual polish.
Modern design system patterns optimized for 2025 web development.
| Option | Best For | Notes | |--------|----------|-------| | Tailwind CSS 4 | Most projects | CSS-first config, P3 colors | | Vanilla CSS | Simple sites | CSS variables, modern features | | CSS Modules | Component isolation | Scoped styles |
| Option | Best For | Notes | |--------|----------|-------| | shadcn/ui | Full control | Copy-paste, Radix + Tailwind | | Radix UI | Custom design | Headless, accessible primitives | | Base UI | Future-proof | By Radix team, actively maintained |
| Option | Best For | Notes | |--------|----------|-------| | Framer Motion | React apps | Declarative, layout animations | | GSAP | Complex timelines | SVG, scroll-driven | | CSS transitions | Simple states | No JS, performant |
| Topic | Load | Use When | |-------|------|----------| | Design tokens | `references/design-tokens.md` | Token architecture, CSS variables | | Color systems | `references/color-systems.md` | OKLCH, palettes, contrast | | Typography | `references/typography.md` | Fluid type, scales | | Animation | `references/animation.md` | Framer Motion, micro-interactions | | Dark mode | `references/dark-mode.md` | Theme switching | | Components | `references/component-patterns.md` | shadcn/ui, Radix | | Handoff | `references/design-handoff.md` | Figma Dev Mode |
/* app.css */
@import "tailwindcss";
@theme {
/* Colors - OKLCH for P3 gamut */
--color-primary: oklch(55% 0.25 250);
--color-secondary: oklch(65% 0.15 300);
--color-destructive: oklch(55% 0.25 25);
/* Typography */
--font-sans: "Inter Variable", system-ui, sans-serif;
--font-mono: "JetBrains Mono", monospace;
/* Spacing (4px base) */
--spacing-px: 1px;
--spacing-0: 0;
--spacing-1: 0.25rem;
--spacing-2: 0.5rem;
--spacing-4: 1rem;
--spacing-8: 2rem;
/* Border radius */
--radius-sm: 0.25rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-full: 9999px;
}:root {
/* Primitives */
--blue-50: oklch(97% 0.02 250);
--blue-500: oklch(55% 0.25 250);
--blue-900: oklch(25% 0.15 250);
/* Semantic */
--color-background: var(--blue-50);
--color-foreground: var(--blue-900);
--color-primary: var(--blue-500);
/* Component */
--button-bg: var(--color-primary);
--button-text: white;
}
.dark {
--color-background: oklch(12% 0.02 250);
--color-foreground: oklch(95% 0.02 250);
}:root {
/* Fluid type scale */
--text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
--text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
--text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
--text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
--text-xl: clamp(1.25rem, 1rem + 1.25vw, 1.5rem);
--text-2xl: clamp(1.5rem, 1rem + 2.5vw, 2rem);
--text-3xl: clamp(1.875rem, 1rem + 4.375vw, 3rem);
}// Framer Motion - Fade in
import { motion } from "framer-motion";
export function FadeIn({ children }) {
return (
<motion.div
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.3 }}
>
{children}
</motion.div>
);
}
// Respect reduced motion
const prefersReducedMotion = window.matchMedia(
"(prefers-reduced-motion: reduce)"
).matches;
const variants = prefersReducedMotion
? { initial: {}, animate: {} }
: { initial: { opacity: 0 }, animate: { opacity: 1 } };// Theme provider pattern
import { useEffect, useState } from "react";
export function useTheme() {
const [theme, setTheme] = useState<"light" | "dark">("light");
useEffect(() => {
// Check system preference
const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
const stored = localStorage.getItem("theme");
setTheme(stored ? stored as "light" | "dark" : prefersDark ? "dark" : "light");
}, []);
useEffect(() => {
document.documentElement.classList.toggle("dark", theme === "dark");
localStorage.setItem("theme", theme);
}, [theme]);
return { theme, setTheme, toggle: () => setTheme(t => t === "light" ? "dark" : "light") };
}┌─────────────────────────────────────┐ │ Primitive Tokens │ │ Raw values: colors, sizes, fonts │ │ --blue-500: oklch(55% 0.25 250) │ ├─────────────────────────────────────┤ │ Semantic Tokens │ │ Purpose-based: primary, danger │ │ --color-primary: var(--blue-500) │ ├─────────────────────────────────────┤ │ Component Tokens │ │ Specific usage: button-bg │ │ --button-bg: var(--color-primary) │ └─────────────────────────────────────┘
Mobile-first approach:
1. Base styles = mobile
2. sm: (640px) = large phones
3. md: (768px) = tablets
4. lg: (1024px) = laptops
5. xl: (1280px) = desktops
Container queries for components:
@container (min-width: 400px) { ... }// Tailwind + shadcn style <button className=" inline-flex items-center justify-center h-10 px-4 py-2 bg-primary text-primary-foreground rounded-md text-sm font-medium transition
A multi-agent orchestration framework for Claude Code. Build production software with 7 specialized AI agents that coordinate automatically through a Hub Architecture.
Repo: shahtuyakov/claude-setup
Hub orchestration patterns for multi-agent workflows. Use when processing delegation requests from agents, coordinating sequential/parallel agent execution,…
Expert API design reviewer for REST, GraphQL, and gRPC APIs. Analyzes API designs for security, performance, consistency, scalability, and maintainability. Use…
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art,…
Database design and implementation patterns for modern applications. Use when designing schemas, writing migrations, optimizing queries, and configuring ORMs.…
DevOps patterns for infrastructure, CI/CD, and deployment automation. Use when configuring Docker containers, CI/CD pipelines, cloud deployments, Kubernetes,…