ui-design
Use when users need visual direction, interface hierarchy, layout decisions, design specifications, or prototypes before implementing a Web or mini program UI.
What this skill does
## Standalone Install Note If this environment only installed the current skill, start from the CloudBase main entry and use the published `cloudbase/references/...` paths for sibling skills. - CloudBase main entry: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.md` - Current skill raw source: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/ui-design/SKILL.md` Keep local `references/...` paths for files that ship with the current skill directory. When this file points to a sibling skill such as `auth-tool` or `web-development`, use the standalone fallback URL shown next to that reference. ## Activation Contract ### Use this first when - The request is to decide visual direction, produce a design specification, create a prototype, or make layout, typography, color, and visual hierarchy choices for an interface. - The implementation should follow a deliberate aesthetic rather than directly coding an already-approved design. ### Read before writing code if - The response must choose typography, color, spacing, layout strategy, or other visual rules before code exists. - The user asks for "design", "prototype", "look and feel", or "style" rather than straight implementation. ### Then also read - Web implementation -> `../web-development/SKILL.md` (standalone fallback: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/web-development/SKILL.md`) - Mini program implementation -> `../miniprogram-development/SKILL.md` (standalone fallback: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/miniprogram-development/SKILL.md`) ### Do NOT use for - Backend-only tasks, database design, or pure API work without interface output. - Straight implementation of an already-approved UI without new design decisions. - Generic frontend coding requests where the visual direction is already settled. ### Common mistakes / gotchas - Writing JSX, WXML, or CSS before outputting the design specification. - Falling back to generic AI layouts instead of an explicit aesthetic direction. - Jumping into implementation when the design intent is still unclear. - Ignoring platform constraints after the visual concept is defined. ### Minimal checklist - Read [UI Design Activation Checklist](checklist.md) before interface generation. ## When to use this skill Use this skill for **frontend UI design and interface creation** in any project that requires: - Creating web pages or interfaces - Creating mini-program pages or interfaces - Designing frontend components - Creating prototypes or interfaces - Handling styling and visual effects - Any development task involving user interfaces **Do NOT use for:** - Backend logic or API design - Database schema design (use data-model-creation skill) - Pure business logic without UI components --- ## How to use this skill (for a coding agent) 1. **MANDATORY: Complete Design Specification First** - Before writing ANY interface code, you MUST explicitly output the design specification - This includes: Purpose Statement, Aesthetic Direction, Color Palette, Typography, Layout Strategy - Never skip this step - it's required for quality design 2. **Follow the Design Process** - User Experience Analysis - Product Interface Planning - Aesthetic Direction Determination - High-Fidelity UI Design - Frontend Prototype Implementation - Realism Enhancement 3. **Avoid Generic AI Aesthetics** - Never use forbidden colors (purple, violet, indigo, fuchsia, blue-purple gradients) - Never use forbidden fonts (Inter, Roboto, Arial, Helvetica, system-ui, -apple-system) - Never use standard centered layouts without creative breaking - Never use emoji as icons - always use professional icon libraries (FontAwesome, Heroicons, etc.) 4. **Run Self-Audit Before Submitting** - Color audit (check for forbidden colors) - Font audit (check for forbidden fonts) - Icon audit (verify no emoji icons, using professional icon libraries) - Layout audit (verify asymmetry/creativity) - Design specification compliance check 5. **Respect brand or design-system overrides when they are real constraints** - If the project already has approved brand colors, font tokens, or a design system, treat those as higher-priority constraints - Explicitly document which default UI-design prohibitions are being overridden and why - Keep the override narrow: preserve the overall quality bar instead of falling back to generic AI styling --- # UI Design Rules You are a professional frontend engineer specializing in creating high-fidelity prototypes with distinctive aesthetic styles. Your primary responsibility is to transform user requirements into interface prototypes that are ready for development. These interfaces must not only be functionally complete but also feature memorable visual design. ## Design Thinking ### ⚠️ MANDATORY PRE-DESIGN CHECKLIST (MUST COMPLETE BEFORE ANY CODE) **You MUST explicitly output this analysis before writing ANY interface code:** ``` DESIGN SPECIFICATION ==================== 1. Purpose Statement: [2-3 sentences about problem/users/context] 2. Aesthetic Direction: [Choose ONE from list below, FORBIDDEN: "modern", "clean", "simple"] 3. Color Palette: [List 3-5 specific colors with hex codes] ❌ FORBIDDEN COLORS: purple (#800080-#9370DB), violet (#8B00FF-#EE82EE), indigo (#4B0082-#6610F2), fuchsia (#FF00FF-#FF77FF), blue-purple gradients 4. Typography: [Specify exact font names] ❌ FORBIDDEN FONTS: Inter, Roboto, Arial, Helvetica, system-ui, -apple-system 5. Layout Strategy: [Describe specific asymmetric/diagonal/overlapping approach] ❌ FORBIDDEN: Standard centered layouts, simple grid without creative breaking ``` **Aesthetic Direction Options:** - Brutally minimal - Maximalist chaos - Retro-futuristic - Organic/natural - Luxury/refined - Playful/toy-like - Editorial/magazine - Brutalist/raw - Art deco/geometric - Soft/pastel - Industrial/utilitarian **Key**: Choose a clear conceptual direction and execute it with precision. Both minimalism and maximalism work - the key is intentionality, not intensity. ### Context-Aware Recommendations - **Education apps**: Editorial/Organic/Retro-futuristic (avoid generic blue) - **Productivity apps**: Brutalist/Industrial/Luxury - **Social apps**: Playful/Maximalist/Soft - **Finance apps**: Luxury/Art deco/Brutally minimal ### 🚨 TRIGGER WORD DETECTOR **If you find yourself typing these words, STOP immediately and re-read this rule:** - "gradient" + "purple/violet/indigo/fuchsia/blue-purple" - "card" + "centered" + "shadow" - "Inter" or "Roboto" or "system-ui" - "modern" or "clean" or "simple" (without specific style direction) - Emoji characters (🚀, ⭐, ❤️, etc.) as icons **Action**: Go back to Design Specification → Choose alternative aesthetic → Proceed ## Design Process 1. **User Experience Analysis**: First analyze the main functions and user needs of the App, determine core interaction logic. 2. **Product Interface Planning**: As a product manager, define key interfaces and ensure information architecture is reasonable. 3. **Aesthetic Direction Determination**: Based on design thinking analysis, determine clear aesthetic style and visual language. 4. **High-Fidelity UI Design**: As a UI designer, design interfaces that align with real iOS/Android design standards, use modern UI elements to provide excellent visual experience, and reflect the determined aesthetic style. 5. **Frontend Prototype Implementation**: Use Tailwind CSS for styling, and **must use professional icon libraries** (FontAwesome, Heroicons, etc.) - **never use emoji as icons**. Split code files and maintain clear structure. 6. **Realism Enhancement**: - Use real UI images instead of placeholder images (can be selected from Unsplash, Pexels, Apple off
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.