/cloudbase:ui-designfrom cloudbase
Provides visual direction, interface hierarchy, layout decisions, design specifications, and prototypes for web or mini program UIs before implementation.
Ships in cloudbase. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
In a standalone install, use the setup prompt above instead of these ../ paths.
../web-development/SKILL.md../miniprogram-development/SKILL.mdUse this skill for frontend UI design and interface creation in any project that requires:
Do NOT use for:
MANDATORY: Complete Design Specification First
Follow the Design Process
Avoid Generic AI Aesthetics
Run Self-Audit Before Submitting
Respect brand or design-system overrides when they are real constraints
DESIGN.md, a design-token file, or a published brand spec, and you can name the specific token you are honoringYou 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.
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:
Key: Choose a clear conceptual direction and execute it with precision. Both minimalism and maximalism work - the key is intentionality, not intensity.
If you find yourself typing these words, STOP immediately and re-read this rule:
Action: Go back to Design Specification → Choose alternative aesthetic → Proceed
User Experience Analysis: First analyze the main functions and user needs of the App, determine core interaction logic.
Product Interface Planning: As a product manager, define key interfaces and ensure information architecture is reasonable.
Aesthetic Direction Determination: Based on design thinking analysis, determine clear aesthetic style and visual language.
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.
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.
Realism Enhancement:
⚠️ The
downloadRemoteFileMCP 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:
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)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:
-L/--location (curl) or -UseBasicParsing (PowerShell) so redirects are followed.application/octet-stream, that is fine for binaries — the removed tool's strict whitelist was the problem, not the URL.The same rules fight each other across three kinds of surface. Name the scene first:
| Scene | Typical surfaces | What good layout means here |
|---|---|---|
| Persuade | Landing pages, marketing heroes, campaign pages | A committed visual position; asymmetry, grid-breaking, and deliberate impact are allowed |
| Operate | Admin panels, forms, consoles, dashboards | Predictable structure, stable density, standard controls; never make the user re-learn placement |
| Read | Docs, blogs, help centers | A linear path the reader can follow, 65–75ch measure, navigation where it is expected |
Set the scale before drawing components. The scale is infrastructure, not a per-component decision.
repeat(N, 1fr) per section means there is no grid.Build the grid before breaking it. Breaking without a scale is just placing things by hand.
Strictly Prohibit the following generic AI-generated aesthetics:
// ❌ 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 on persuade surfaces: Generic centered card layout
// (on Operate and Read surfaces the centered version is correct — the defect there
// is an undesigned page, not the centering)
<div className="flex items-center justify-center min-h-screen">
<div className="bg-white rounded-lg shadow-lg p-8">
// ✅ GOOD on persuade surfaces: 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
If not specifically required, provide at most 4 pages. Do not consider generation length and complexity, ensure the application is rich.
All interface prototypes must:
Run these checks on your generated code:
Color Audit:
# Search for forbidden colors in your code
grep -iE "(violet|purple|indigo|fuchsia)" [your-file]
# If found → VIOLATION → Choose alternative from Design Specification
Font Audit:
# Search for forbidden fonts
grep -iE "(Inter|Roboto|system-ui|Arial|-apple-system)" [your-file]
# If found → VIOLATION → Use distinctive font from Design Specification
Icon Audit:
# 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
Layout Audit (judged by scene, not one-size-fits-all):
Measurable Checks (measurable, not felt):
Design Specification Compliance:
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ui-design, interface-design, prototyping, visual-design, frontend-design
32 skills in this plugin
/ai-model-nodejsUse this skill for Node.js backend AI via @cloudbase/node-sdk (>=3.16.0) — cloud functions, CloudRun, Express/Koa/NestJS, serverless APIs, scheduled jobs, LLM proxies, agent orchestration. The only SDK supporting image generation (ai.createImageModel + generateImage). Text via ai.createModel with groups cloudbase, the legacy hunyuan-v3 / hunyuan-exp, or custom-*; model ids (e.g. deepseek-v4.1-flash, glm-5.3, kimi-k2.6) go in the `model` field of generateText/streamText. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web) or Mini Program (use ai-model-wechat)./ai-model-webUse this skill when a browser/Web app (React, Vue, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI, 页面, 前端, 网页) needs AI models via @cloudbase/js-sdk. Default routing for Web/frontend AI — call directly from the browser, do NOT propose a Node.js proxy. Covers generateText and streamText; models via ai.createModel with groups cloudbase, the legacy hunyuan-v3 / hunyuan-exp, or custom-*, model id in the `model` field. MUST run two-step preflight before code — see body. NOT for Node.js backend (use ai-model-nodejs), Mini Program (use ai-model-wechat), or image generation (Node SDK only).npx claudepluginhub tencentcloudbase/cloudbase-ai-toolkit --plugin cloudbase2 plugins in one repository ship this exact skill · first indexed Dec 1, 2026
Other plugins' skills for the same job