define-design-guidelines
Create a DESIGN_GUIDELINES.md that defines how to design UI/UX for your customer. Requires CUSTOMER.md to exist first. Covers aesthetic direction, design tokens, typography, color, motion, components, and layout patterns. Bakes in frontend-design skill principles to avoid generic AI aesthetics.
What this skill does
# Design Guidelines Skill Create the DESIGN_GUIDELINES.md document that defines HOW to design interfaces for your customer. This document drives all UI/UX: components, layouts, animations, colors, typography—everything visual. > **Prerequisite**: CUSTOMER.md must exist. Design without customer definition is just aesthetic preference. The interface must resonate with WHO you're building for. ## Overview This skill supports both **creating new design guidelines** and **refining existing ones**. This skill guides you through: 0. **Prerequisite Check** - Verify CUSTOMER.md exists; stop if not 1. **Deep Analysis** - Launch design-research agent to understand ideal design for the customer 2. **Discovery** - Confirm/refine design direction with targeted questions 3. **Generate Document** - Create DESIGN_GUIDELINES.md with full design system 4. **Automatic Alignment Audit** - Opus agent verifies alignment with CUSTOMER.md/BRAND_GUIDELINES.md, fixes issues, repeats until perfect 5. **Finalization** - Add version history once audit passes ## Core Philosophy: Anti-AI-Slop **CRITICAL**: This skill bakes in the frontend-design skill's principles. Every design guideline must avoid generic AI aesthetics: ### What to AVOID (AI Slop) - **Generic fonts**: Inter, Roboto, Arial, system fonts, Space Grotesk - **Cliché colors**: Purple gradients on white, generic blue CTAs, safe gray palettes - **Predictable layouts**: Cookie-cutter grids, template-looking compositions - **Safe choices**: Border-radius everywhere, subtle animations, inoffensive everything - **Generic components**: Bootstrap/MUI defaults without personality ### What to EMBRACE - **Bold aesthetic commitment**: Pick an extreme and execute with precision - **Distinctive typography**: Characterful fonts that match the product personality - **Intentional color**: Dominant colors with sharp accents, not timid even distribution - **Spatial creativity**: Asymmetry, overlap, diagonal flow, grid-breaking elements - **Atmospheric details**: Textures, gradients, shadows, effects that create depth **The test**: Would someone mistake this for a generic template? If yes, it's wrong. ## Workflow ### Phase 0: Prerequisite Check **CRITICAL**: Before anything else, check for CUSTOMER.md: 1. Use Glob to search for `**/CUSTOMER.md` in the current directory 2. **If NOT found**: Stop immediately and inform the user: ``` "I can't create design guidelines without knowing WHO you're designing for. Please create your CUSTOMER.md first using /define-customer. Design without customer definition is just aesthetic preference—it won't resonate with anyone specific." ``` Do NOT proceed. End the workflow here. 3. **If found**: Read the CUSTOMER.md and extract key context: - ICP definition (who they are) - What they value (speed? precision? fun? simplicity?) - Behavioral traits (patient? impatient? technical? casual?) - Anti-personas (who they're NOT) - Any visual/experience hints **IMPORTANT - Pre-fill Recommendations**: Use CUSTOMER.md to infer recommended options for all questions: | If CUSTOMER.md says... | Recommend... | |------------------------|--------------| | ICP values "speed", "efficiency", "no patience" | Terminal/utilitarian aesthetic, fast animations, dense UI | | ICP is technical (developers, engineers) | Monospace typography, dark theme, information-dense | | ICP values "data", "statistics", "precision" | Data terminal aesthetic, clinical colors, sharp geometry | | ICP is "fun-seekers", "casual players", "beginners" | Playful/soft aesthetic, rounded corners, inviting colors | | ICP is "professionals", "executives" | Refined/luxury aesthetic, premium typography, restrained palette | | ICP values "creativity", "expression" | Bold/maximalist aesthetic, unexpected layouts, strong personality | | Anti-persona is "corporate" or "enterprise" | Avoid generic SaaS look, embrace distinctive character | The goal: **User should be able to accept all recommended defaults** and get a design system that resonates with their ICP. Then check for existing DESIGN_GUIDELINES.md: ``` header: "Existing Design Guidelines Found" question: "I found existing DESIGN_GUIDELINES.md. What would you like to do?" options: - "Refine it - update based on new insights" - "Start fresh - create new design guidelines" - "Review it - just read through what's there" ``` ### Phase 1: Deep Analysis **BEFORE asking any questions**, launch the `design-research` agent to deeply analyze the customer profile and determine the ideal design direction. **Launch the Design Research Agent:** ``` Launch Task agent (subagent_type: design-research) with prompt: "Analyze the customer profile to determine ideal UI/UX design direction. CUSTOMER.md path: [path found in Phase 0] Provide your full design analysis covering: 1. Customer Design Psychology 2. Recommended Aesthetic Direction 3. Typography Recommendation 4. Color Direction 5. Geometry & Motion 6. Signature Elements 7. Anti-Patterns for This ICP 8. Design Reference Products Be specific and decisive. This analysis will inform the entire design system." ``` The agent will: 1. Read CUSTOMER.md and BRAND_GUIDELINES.md (if exists) 2. Research industry design patterns and competitors 3. Provide comprehensive design analysis with specific recommendations **After agent completes**, extract the analysis and use it to: 1. Pre-fill ALL question recommendations with high confidence 2. Present a summary to the user before discovery questions **Present Analysis Summary:** ``` header: "Design Analysis" question: "Based on your customer profile, here's my recommended design direction. Does this feel right?" [Display: Aesthetic direction, typography, theme, key signature elements] options: - "Yes - this direction feels right, let's refine details (Recommended)" - "Mostly - good direction but some things feel off" - "No - I have a different vision" ``` If "Yes" or "Mostly", proceed to Phase 2 with agent recommendations as defaults. If "No", ask what's different and adjust recommendations. ### Phase 2: Discovery Use AskUserQuestion for all questions. **Put the recommended option FIRST** with "(Recommended)" suffix. **Use the opus agent's analysis to inform ALL recommendations.** **Question 1: Aesthetic Direction** This is the most important question. The entire design system flows from this choice. **Use the opus agent's recommendation as the default.** The agent has already analyzed CUSTOMER.md deeply. ``` header: "Aesthetic Direction" question: "What aesthetic direction fits your product and customer?" options: - "[Inferred from CUSTOMER.md] (Recommended)" - "Data terminal - clinical, sharp, information-dense (Bloomberg, trading apps)" - "Brutally minimal - stark, essential, no decoration" - "Industrial utilitarian - functional, raw, tool-like" - "Luxury/refined - premium, elegant, restrained" - "Editorial/magazine - typographic, editorial, sophisticated" - "Brutalist/raw - bold, unapologetic, confrontational" - "Retro-futuristic - nostalgic tech, synthwave, neon" - "Playful/toy-like - fun, colorful, delightful" - "Soft/pastel - gentle, approachable, calming" - "Art deco/geometric - structured, ornamental, patterns" - "Organic/natural - flowing, earthy, warm" ``` **Question 2: Theme Preference** **Use the opus agent's color direction analysis.** ``` header: "Theme" question: "What's your primary theme?" options: - "[Inferred] (Recommended)" - "Dark theme - dark backgrounds, light text (more distinctive)" - "Light theme - light backgrounds, dark text (more accessible)" - "Both - design for both with theme switching" ``` **Question 3: Typography Character** **Use the opus agent's typography recommendation.** ``` header: "Typography" question: "What typographic character fits your brand?" options: - "[Inferred] (Recommended)" - "Monospace-forward - technical, precise, data-focused (JetBrains Mono, Fira Code)" - "Elegant serif -
Related 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.