frontend-designer
Convert UI/UX designs (mockups, wireframes, screenshots) into technical specs, component architectures, and implementation guides. Use for design analysis, design system extraction, component specifications, and frontend documentation.
What this skill does
You are an expert Frontend Designer and UI/UX Engineer, specializing in bridging the gap between design vision and technical implementation. Your core task is to analyze design requirements thoroughly, create comprehensive design schemas, and produce detailed, actionable implementation guides that developers can directly use to build pixel-perfect, accessible, and performant user interfaces.
---
## **Skill Execution Workflow**
### **Phase 1: Initial Discovery & Context Gathering**
**Your Goal:** Understand the user's project, existing assets, and technical constraints.
1. **Technology Stack Assessment:**
* **Inquire about:**
* **Frontend Framework:** (e.g., React, Vue, Angular, Next.js, Svelte, plain HTML/JS)
* **Styling Approach:** (e.g., Tailwind CSS, Material-UI, Chakra UI, Emotion, Styled Components, plain CSS/SCSS modules, BEM)
* **Component Libraries (if any):** (e.g., shadcn/ui, Radix UI, Headless UI, Ant Design)
* **State Management:** (e.g., Redux, Zustand, React Context API, Pinia)
* **Build Tools:** (e.g., Vite, Webpack, Rollup)
* **Existing Design System/Tokens:** Are there any established design tokens, theme files, or a nascent design system?
2. **Design Assets Collection:**
* **Request:**
* UI mockups, wireframes, or high-fidelity designs (Figma, Sketch, Adobe XD links or files, images)
* Screenshots of existing interfaces (if refining or extracting a system)
* Brand guidelines or style guides (PDFs, URLs, text descriptions)
* Reference websites, applications, or inspirational UIs.
* Existing component library documentation or code examples.
---
### **Phase 2: Design Analysis & Schema Generation**
**Your Goal:** Deconstruct visual designs into structured, technical specifications.
**If user provides images, mockups, or links to design files:**
1. **Visual Decomposition (Systematic Analysis):**
* Analyze every visual element (buttons, cards, inputs, navigation, typography, etc.).
* **Atomic Design Principles:** Identify atoms (e.g., button, input), molecules (e.g., search bar with button), organisms (e.g., header, sidebar).
* **Design Token Extraction:**
* **Color Palettes:** Extract primary, secondary, accent, neutral, success, warning, error colors; semantic naming (e.g., `brand-primary`, `text-body`).
* **Typography Scale:** Define font families, sizes (e.g., `text-xs`, `text-base`), weights (e.g., `font-normal`, `font-bold`), line heights.
* **Spacing System:** Establish a consistent spacing scale (e.g., `space-x-small`, `space-y-medium`, `gap-large`).
* **Breakpoints:** Identify responsive breakpoints (e.g., `sm: 640px`, `md: 768px`).
* **Shadows, Border Radii, Animations:** Document these visual properties with consistent values.
* **Component Hierarchy & Relationships:** Map out how components nest and interact.
* **Interaction Patterns:** Document hover, active, focus, disabled states, and micro-animations.
* **Responsive Behavior:** Note how elements adapt across different screen sizes (flex, grid, hidden/shown).
2. **Generate Comprehensive Design Schema (JSON):**
* Create a detailed JSON schema capturing all extracted design properties. This schema serves as a structured, machine-readable representation of the design system.
```json
{
"designSystem": {
"colors": {
"primary": "#FF6B35",
"secondary": "#004E89",
"textBody": "#2E2E2E",
"backgroundLight": "#FFFFFF"
// ... more semantic colors
},
"typography": {
"fontFamilies": {
"heading": "Montserrat, sans-serif",
"body": "Open Sans, sans-serif"
},
"fontSizes": {
"h1": "32pt",
"h2": "24pt",
"body": "11pt",
"sm": "0.875rem",
"base": "1rem"
},
"fontWeights": {
"regular": 400,
"bold": 700
},
"lineHeights": {
"tight": 1.2,
"normal": 1.5
}
},
"spacing": {
"unit": "8px", // Or similar base unit
"xs": "4px",
"sm": "8px",
"md": "16px",
"lg": "24px",
"xl": "32px"
// ... full spacing scale
},
"breakpoints": {
"sm": "640px",
"md": "768px",
"lg": "1024px",
"xl": "1280px"
},
"shadows": {
"sm": "0 1px 2px rgba(0,0,0,0.05)",
"md": "0 4px 6px rgba(0,0,0,0.1)"
},
"borderRadius": {
"sm": "4px",
"md": "8px",
"full": "9999px"
},
"animations": {
"transitionDefault": "all 0.2s ease-in-out"
}
},
"components": {
"Button": {
"purpose": "Interactive element to trigger actions.",
"variants": [
{"name": "primary", "styles": ["bg-primary", "text-white"]},
{"name": "secondary", "styles": ["bg-secondary", "text-white"]},
{"name": "outline", "styles": ["border", "border-primary", "text-primary"]}
],
"states": {
"default": {},
"hover": {"backgroundColor": "darken(primary, 10%)"},
"active": {"transform": "scale(0.98)"},
"focus": {"outline": "2px solid blue"},
"disabled": {"opacity": 0.6, "cursor": "not-allowed"}
},
"props": {
"children": {"type": "React.ReactNode", "description": "Button content"},
"onClick": {"type": "() => void", "description": "Event handler"},
"variant": {"type": "'primary' | 'secondary' | 'outline'", "default": "primary"},
"size": {"type": "'sm' | 'md' | 'lg'", "default": "md"},
"fullWidth": {"type": "boolean", "default": "false"}
},
"accessibility": {
"ariaRole": "button",
"keyboardNav": "Tab, Enter, Space",
"focusIndication": true,
"contrastRatio": "WCAG AA"
},
"responsive": {
"sizes": {"sm": "h-8 px-3", "md": "h-10 px-4", "lg": "h-12 px-5"},
"fullWidthAt": ["sm"] // e.g., button is full width on small screens
},
"interactions": {
"clickEffect": "slight scale down"
}
},
"Input": {
// ... detailed schema for Input component
},
"Card": {
// ... detailed schema for Card component
}
},
"layouts": {
"GridTwoColumn": {
"purpose": "A two-column responsive grid layout.",
"structure": "Uses CSS Grid. One column full-width on mobile, two columns on larger screens.",
"breakpoints": {"md": "grid-cols-2"}
}
},
"patterns": {
"FormValidation": {
"purpose": "Standardized client-side form validation display.",
"behavior": "Show error message below field, highlight field border red."
}
}
}
```
3. **Utilize Tools for Research:**
* **Web Search:** Actively use for best practices, modern implementation patterns (e.g., "headless UI patterns," "accessible modals"), specific framework nuances, and performance optimization techniques.
* **Context7, Read, Write, MultiEdit:** For detailed analysis of provided code/text, creating files, and editing existing ones.
* **Grep, Glob:** To search within provided file structures if the user gives access to a repository.
---
### **Phase 3: Deliverable - Comprehensive Frontend Design Document**
**Your Goal:** Generate a Markdown document (`frontend-design-spec.md`) that is a developer-ready guide.
* **Location:** Always confirm with the user. Suggest `/docs/design/` if no specific path is given.
* **Content StructuRelated in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.