Get professional UI design direction, layout strategies, and prototyping help for web and mini-program interfaces.

Install

mkdir -p .claude/skills/ui-design && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4136" && unzip -o skill.zip -d .claude/skills/ui-design && rm skill.zip

Installs to .claude/skills/ui-design

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when users need visual direction, interface hierarchy, layout decisions, design specifications, or prototypes before implementing a Web or mini program UI.
159 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Define visual hierarchy and layout
  • →Create design specifications
  • →Develop frontend prototypes
  • →Select color palettes and typography
  • →Audit designs against constraints

How it works

It mandates a pre-design specification phase covering aesthetic direction, color, and typography before any code is generated.

Inputs & outputs

You give it
UI requirements and context
You get back
Design specification and UI prototype

When to use ui-design

  • →Define visual hierarchy for a new dashboard
  • →Create a design specification for a landing page
  • →Determine typography and color rules for a mini-program
  • →Draft a UI prototype before coding

About this skill

Sibling skills (local only)

The full CloudBase plugin installs sibling skills beside this one, so local relative paths such as ../auth-tool-cloudbase/SKILL.md resolve there. A standalone install from a skill marketplace packages only this skill; those paths do not exist, and any "Then also read" link starting with ../ cannot be opened.

When a sibling file is missing, or the task needs CloudBase backend capabilities, give the user this prompt to paste into their AI IDE:

帮我把 CloudBase 接好,按下面做:
1. 打开 https://docs.cloudbase.net/skill.md,按说明完成接入。
2. 接入完成后告诉我,并建议最相关的下一步。

Do not HTTP-fetch remote skill or protocol markdown into the agent context.

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

In a standalone install, use the setup prompt above instead of these ../ paths.

  • Web implementation -> ../web-development/SKILL.md
  • Mini program implementation -> ../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

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 postgresql-development-cloudbase 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 on persuade surfaces without creative breaking (centered is correct on Operate and Read surfaces — see the scene judgement below)
    • 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 (judged by scene, not one-size-fits-all)
    • Measurable checks (contrast, spacing, states, overflow)
    • 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
    • Qualifies: the project ships a DESIGN.md, a design-token file, or a published brand spec, and you can name the specific token you are honoring
    • Does not qualify: "I like this better," or a value adjusted only to slip past a prohibition

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
====================
0. Scene: [Persuade / Operate / Read — pick one; it decides every criterion below]
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: [the scale: breakpoint count, container width, column count, spacing base; on persuade surfaces only, which line breaks and why]
   ❌ FORBIDDEN: a persuade surface in a standard centered layout with no breaking at all; starting any page without breakpoint and spacing scales

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 official UI resources)
    • If video materials are needed, can use Vimeo website for video resources

Downloading Remote Assets (images / icons / fonts)

⚠️ The downloadRemoteFile MCP tool has been removed (high error rate on content-type/SSRF filtering). To download a remote asset into the project, use a shell command instead:

  • macOS / Linux: curl -L --fail -o assets/images/logo.png "https://example.com/logo.png" (add --create-dirs if the parent folder doesn't exist; wget works too)
  • Windows (PowerShell): Invoke-WebRequest -Uri "https://example.com/logo.png" -OutFile "assets\images\logo.png" (or use curl.exe -L -o assets/images/logo.png <url> in cmd/PowerShell 5.1+, which ships with Windows 10 1803+)

Guidance:

  • Always use -L/--location (curl) or -UseBasicParsing (PowerShell) so redirects are followed.
  • Prefer HTTPS URLs; avoid private/internal hosts (may be blocked by network policy or rejected for security).
  • If the target returns application/octet-stream, that is fine for binaries — the removed tool's strict whitelist was the problem, not the URL.

Frontend Aesthetics Guidelines

Judge the scene before choosing criteria

The same rules fight each other across three kinds of surface. Name the scene first:

SceneTypical surfacesWhat good layout means here
PersuadeLanding pages, marketing heroes, campaign pagesA committed visual position; asymmetry, grid-breaking, and deliberate impact are allowed
OperateAdmin panels, forms, consoles, dashboardsPredictable structure, s

Content truncated.

When not to use it

  • →Backend logic development
  • →Database schema design
  • →Straight implementation of approved designs

Limitations

  • →Forbidden colors and fonts
  • →Mandatory pre-design specification
  • →No emoji icons allowed

How it compares

It enforces a formal design specification process and strict aesthetic constraints to prevent generic AI-generated interfaces.

Compared to similar skills

ui-design side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ui-design (this skill)15moReviewIntermediate
ui-ux-pro-max1,9098moReviewIntermediate
ui06moNo flagsBeginner
design-with-taste07moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by TencentCloudBase

View all by TencentCloudBase →

miniprogram-development

TencentCloudBase

WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects.

3792

spec-workflow

TencentCloudBase

Standard software engineering workflow for requirement analysis, technical design, and task planning. Use this skill when developing new features, complex architecture designs, multi-module integrations, or projects involving database/UI design.

1091

ai-model-nodejs

TencentCloudBase

Use this skill when developing Node.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities. Features text generation (generateText), streaming (streamText), AND image generation (generateImage) via @cloudbase/node-sdk ≥3.16.0. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended), DeepSeek (deepseek-v3.2 recommended), and hunyuan-image for images. This is the ONLY SDK that supports image generation. NOT for browser/Web apps (use ai-model-web) or WeChat Mini Program (use ai-model-wechat).

59

web-development

TencentCloudBase

Web frontend project development rules. Use this skill when developing web frontend pages, deploying static hosting, and integrating CloudBase Web SDK.

514

ai-model-web

TencentCloudBase

Use this skill when developing browser/Web applications (React/Vue/Angular, static websites, SPAs) that need AI capabilities. Features text generation (generateText) and streaming (streamText) via @cloudbase/js-sdk. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended) and DeepSeek (deepseek-v3.2 recommended). NOT for Node.js backend (use ai-model-nodejs), WeChat Mini Program (use ai-model-wechat), or image generation (Node SDK only).

13

auth-http-api-cloudbase

TencentCloudBase

Use when you need to implement CloudBase Auth v2 over raw HTTP endpoints (login/signup, tokens, user operations) from backends or scripts that are not using the Web or Node SDKs.

17

You might also like

ui-ux-pro-max

nextlevelbuilder

UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

1,9092,023

ui

tim-hub

Builds UI components, landing page sections, hero sections, and contact forms. Use when creating front-end visual elements.

00

design-with-taste

MaggieAppleton

Apply the "Family Values" design philosophy to every UI you build. Use this skill whenever creating frontends, components, apps, landing pages, dashboards, or any user-facing interface. Enforces three core principles — Simplicity (gradual revelation), Fluidity (seamless transitions), and Delight (se

00

ui-ux-pro-max

darkmatter

UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, cr

00

ui-ux-pro-max

majiayu000

Frontend UI/UX design intelligence - activate FIRST when user requests beautiful, stunning, gorgeous, or aesthetic interfaces. The primary skill for design decisions before implementation. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Nati

00

common-ui-design

HoangNguyen0403

Design distinctive, production-grade frontend UI with bold aesthetic choices. Use when building web components, pages, interfaces, dashboards, or applications in any framework (React, Next.js, Angular, Vue, HTML/CSS).

00

Search skills

Search the agent skills registry