Ui Design 标志

Ui Design

组织热门
TencentCloudBase
ui-design

当用户在实现 Web 或小程序 UI 之前,需要视觉方向、界面层级、布局方案、设计规范或原型时使用。

Add to TypingMind

概览

发布者TencentCloudBase
代码仓库CloudBase-AI-Toolkit
技能名称ui-design
星标数
1.1K
复刻数
141
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 TencentCloudBase 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ui Design AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/config/source/skills/ui-design
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git /tmp/CloudBase-AI-Toolkit
mkdir -p .claude/skills
cp -r /tmp/CloudBase-AI-Toolkit/config/source/skills/ui-design .claude/skills/ui-design
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ui Design,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ui Design。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ui Design 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Sibling skills (local only)

Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.

If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). 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

  • 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 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 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

Typography

  • Avoid Generic Fonts: Do not use overly common fonts like Arial, Inter, Roboto, system fonts
  • Choose Distinctive Fonts: Select beautiful, unique, and interesting fonts, for example:
    • Choose distinctive display fonts paired with refined body fonts
    • Consider using distinctive font combinations to elevate the interface's aesthetic level
    • Font selection should align with the overall aesthetic direction

Color & Theme

  • Unified Aesthetics: Use CSS variables for consistency
  • Dominant Colors with Accents: Using dominant colors with sharp accents is more effective than evenly-distributed color schemes
  • Theme Consistency: Choose dark or light themes based on aesthetic direction, ensure color choices match the overall style
  • Brand Escape Hatch: If a product already mandates a brand palette or typography system, you may use those tokens, but call out the override explicitly in the design specification

Motion Design

  • Animation Strategy: Use animations for effects and micro-interactions
  • Technology Choice: Prioritize CSS-only solutions for HTML, React projects can use Motion library
  • High-Impact Moments: Focus on high-impact moments. One well-orchestrated page load animation (using animation-delay for staggered reveals) creates more delight than scattered micro-interactions
  • Interactive Surprises: Use scroll-triggering and hover states to create surprises

Icons

  • ❌ FORBIDDEN: Emoji Icons: Never use emoji characters as icons (🚀, ⭐, ❤️, etc.)
  • ✅ REQUIRED: Professional Icon Libraries: Must use professional icon libraries such as:
    • FontAwesome (recommended for most projects)
    • Heroicons (for Tailwind CSS projects)
    • Material Icons
    • Feather Icons
    • Lucide Icons
  • Icon Consistency: Use icons from a single library throughout the project for visual consistency
  • Icon Styling: Icons should match the overall aesthetic direction and color palette

Spatial Composition

  • Break Conventions: Use unexpected layouts, asymmetry, overlap, diagonal flow
  • Break the Grid: Use grid-breaking elements
  • Negative Space Control: Either use generous negative space or control density

Backgrounds & Visual Details

  • Atmosphere Creation: Create atmosphere and depth rather than defaulting to solid colors
  • Contextual Effects: Add contextual effects and textures that match the overall aesthetic
  • Creative Forms: Apply creative forms, such as:
    • Gradient meshes
    • Noise textures
    • Geometric patterns
    • Layered transparencies
    • Dramatic shadows
    • Decorative borders
    • Custom cursors
    • Grain overlays

Avoid Generic AI Aesthetics

Strictly Prohibit the following generic AI-generated aesthetics:

  • Overused font families (Inter, Roboto, Arial, system fonts)
  • Cliched color schemes (particularly purple gradients on white backgrounds)
  • Predictable layouts and component patterns
  • Cookie-cutter design that lacks context-specific character
  • Emoji icons: Never use emoji characters (🚀, ⭐, ❤️, etc.) as icons - always use professional icon libraries

❌ ANTI-PATTERNS (Code Examples to NEVER Use)

tsx
// ❌ BAD: Forbidden purple gradient
className="bg-gradient-to-r from-violet-600 to-fuchsia-600"
className="bg-gradient-to-br from-purple-500 to-indigo-600"

// ✅ GOOD: Context-specific alternatives
className="bg-gradient-to-br from-amber-50 via-orange-50 to-rose-50" // Warm editorial
className="bg-gradient-to-tr from-emerald-900 to-teal-700" // Dark organic
className="bg-[#FF6B35] to-[#F7931E]" // Bold retro-futuristic

// ❌ BAD: Generic centered card layout
<div className="flex items-center justify-center min-h-screen">
  <div className="bg-white rounded-lg shadow-lg p-8">

// ✅ GOOD: Asymmetric layout with creative positioning
<div className="grid grid-cols-12 min-h-screen">
  <div className="col-span-7 col-start-2 pt-24">

// ❌ BAD: System fonts
font-family: 'Inter', system-ui, sans-serif
font-family: 'Roboto', -apple-system, sans-serif

// ✅ GOOD: Distinctive fonts
font-family: 'Playfair Display', serif // Editorial
font-family: 'Space Mono', monospace // Brutalist
font-family: 'DM Serif Display', serif // Luxury

// ❌ BAD: Emoji icons
<span>🚀</span>
<button>⭐ Favorite</button>

// ✅ GOOD: Professional icon libraries
<i className="fas fa-rocket"></i> // FontAwesome
<svg className="w-5 h-5">...</svg> // Heroicons

Creative Implementation Principles

  • Creative Interpretation: Interpret requirements creatively, make unexpected choices, make designs feel genuinely designed for the context
  • Avoid Repetition: Each design should be different, vary between generations:
    • Light and dark themes
    • Different fonts
    • Different aesthetic styles
  • Avoid Convergence: Never converge on common choices (e.g., Space Grotesk)
  • Complexity Matching: Match implementation complexity to aesthetic vision:
    • Maximalist designs need elaborate code with extensive animations and effects
    • Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details
    • Elegance comes from executing the vision well

Design Constraints

If not specifically required, provide at most 4 pages. Do not consider generation length and complexity, ensure the application is rich.

Implementation Requirements

All interface prototypes must:

  • Production-Grade Quality: Functionally complete and ready for development
  • Visual Impact: Visually striking and memorable
  • Aesthetic Consistency: Have a clear aesthetic point-of-view, cohesive and unified
  • Meticulously Refined: Every detail is carefully polished

🔍 SELF-AUDIT CHECKLIST (Before Submitting Code)

Run these checks on your generated code:

  1. Color Audit:

    bash
    # Search for forbidden colors in your code
    grep -iE "(violet|purple|indigo|fuchsia)" [your-file]
    # If found → VIOLATION → Choose alternative from Design Specification
  2. Font Audit:

    bash
    # Search for forbidden fonts
    grep -iE "(Inter|Roboto|system-ui|Arial|-apple-system)" [your-file]
    # If found → VIOLATION → Use distinctive font from Design Specification
  3. Icon Audit:

    bash
    # Search for emoji usage (common emoji patterns)
    grep -iE "(🚀|⭐|❤️|👍|🔥|💡|🎉|✨)" [your-file]
    # If found → VIOLATION → Replace with FontAwesome or other professional icon library
    # Verify icon library is properly imported and used
  4. Layout Audit:

    • Does the layout use asymmetry/diagonal/overlap? (Required: YES)
    • Is there creative grid-breaking? (Required: YES)
    • Are elements only centered with symmetric spacing? (Allowed: NO)
  5. Design Specification Compliance:

    • Did you output the DESIGN SPECIFICATION before code? (Required: YES)
    • Does the code match the aesthetic direction you declared? (Required: YES)

If any audit fails → Re-design with correct approach

Remember: You are capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ui Design AI 技能有什么作用?

当用户在实现 Web 或小程序 UI 之前,需要视觉方向、界面层级、布局方案、设计规范或原型时使用。

为什么在 TypingMind 中使用 Ui Design?

因为您只需安装一次,就能搭配任何模型使用。Ui Design 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ui Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/config/source/skills/ui-design。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ui Design?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ui Design 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ui Design 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ui Design AI 技能免费吗?

是的。TencentCloudBase 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇