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 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)
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
Follow the Design Process
- User Experience Analysis
- Product Interface Planning
- Aesthetic Direction Determination
- High-Fidelity UI Design
- Frontend Prototype Implementation
- Realism Enhancement
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.)
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
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
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:
- 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
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)
// ❌ 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:
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:
- 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)
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.
1---
2name: ui-design-2
3description: Use when users need visual direction, interface hierarchy, layout decisions, design specifications, or prototypes before implementing a Web or mini program UI.
4version: 2.23.11
5alwaysApply: false
6metadata:
7 source: https://skillmd.com/skills/om-scogo/ui-design-2
8---
9
10## Standalone Install Note
11
12If this environment only installed the current skill, start from the CloudBase main entry and use the published `cloudbase/references/...` paths for sibling skills.
13
14- CloudBase main entry: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.md`
15- Current skill raw source: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/ui-design/SKILL.md`
16
17Keep 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.
18
19## Activation Contract
20
21### Use this first when
22
23- 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.
24- The implementation should follow a deliberate aesthetic rather than directly coding an already-approved design.
25
26### Read before writing code if
27
28- The response must choose typography, color, spacing, layout strategy, or other visual rules before code exists.
29- The user asks for "design", "prototype", "look and feel", or "style" rather than straight implementation.
30
31### Then also read
32
33- 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`)
34- 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`)
35
36### Do NOT use for
37
38- Backend-only tasks, database design, or pure API work without interface output.
39- Straight implementation of an already-approved UI without new design decisions.
40- Generic frontend coding requests where the visual direction is already settled.
41
42### Common mistakes / gotchas
43
44- Writing JSX, WXML, or CSS before outputting the design specification.
45- Falling back to generic AI layouts instead of an explicit aesthetic direction.
46- Jumping into implementation when the design intent is still unclear.
47- Ignoring platform constraints after the visual concept is defined.
48
49### Minimal checklist
50
51- Read [UI Design Activation Checklist](checklist.md) before interface generation.
52
53## When to use this skill
54
55Use this skill for **frontend UI design and interface creation** in any project that requires:
56
57- Creating web pages or interfaces
58- Creating mini-program pages or interfaces
59- Designing frontend components
60- Creating prototypes or interfaces
61- Handling styling and visual effects
62- Any development task involving user interfaces
63
64**Do NOT use for:**
65- Backend logic or API design
66- Database schema design (use data-model-creation skill)
67- Pure business logic without UI components
68
69---
70
71## How to use this skill (for a coding agent)
72
731. **MANDATORY: Complete Design Specification First**
74 - Before writing ANY interface code, you MUST explicitly output the design specification
75 - This includes: Purpose Statement, Aesthetic Direction, Color Palette, Typography, Layout Strategy
76 - Never skip this step - it's required for quality design
77
782. **Follow the Design Process**
79 - User Experience Analysis
80 - Product Interface Planning
81 - Aesthetic Direction Determination
82 - High-Fidelity UI Design
83 - Frontend Prototype Implementation
84 - Realism Enhancement
85
863. **Avoid Generic AI Aesthetics**
87 - Never use forbidden colors (purple, violet, indigo, fuchsia, blue-purple gradients)
88 - Never use forbidden fonts (Inter, Roboto, Arial, Helvetica, system-ui, -apple-system)
89 - Never use standard centered layouts without creative breaking
90 - Never use emoji as icons - always use professional icon libraries (FontAwesome, Heroicons, etc.)
91
924. **Run Self-Audit Before Submitting**
93 - Color audit (check for forbidden colors)
94 - Font audit (check for forbidden fonts)
95 - Icon audit (verify no emoji icons, using professional icon libraries)
96 - Layout audit (verify asymmetry/creativity)
97 - Design specification compliance check
98
995. **Respect brand or design-system overrides when they are real constraints**
100 - If the project already has approved brand colors, font tokens, or a design system, treat those as higher-priority constraints
101 - Explicitly document which default UI-design prohibitions are being overridden and why
102 - Keep the override narrow: preserve the overall quality bar instead of falling back to generic AI styling
103
104---
105
106# UI Design Rules
107
108You 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.
109
110## Design Thinking
111
112### ⚠️ MANDATORY PRE-DESIGN CHECKLIST (MUST COMPLETE BEFORE ANY CODE)
113
114**You MUST explicitly output this analysis before writing ANY interface code:**
115
116```
117DESIGN SPECIFICATION
118====================
1191. Purpose Statement: [2-3 sentences about problem/users/context]
1202. Aesthetic Direction: [Choose ONE from list below, FORBIDDEN: "modern", "clean", "simple"]
1213. Color Palette: [List 3-5 specific colors with hex codes]
122 ❌ FORBIDDEN COLORS: purple (#800080-#9370DB), violet (#8B00FF-#EE82EE), indigo (#4B0082-#6610F2), fuchsia (#FF00FF-#FF77FF), blue-purple gradients
1234. Typography: [Specify exact font names]
124 ❌ FORBIDDEN FONTS: Inter, Roboto, Arial, Helvetica, system-ui, -apple-system
1255. Layout Strategy: [Describe specific asymmetric/diagonal/overlapping approach]
126 ❌ FORBIDDEN: Standard centered layouts, simple grid without creative breaking
127```
128
129**Aesthetic Direction Options:**
130- Brutally minimal
131- Maximalist chaos
132- Retro-futuristic
133- Organic/natural
134- Luxury/refined
135- Playful/toy-like
136- Editorial/magazine
137- Brutalist/raw
138- Art deco/geometric
139- Soft/pastel
140- Industrial/utilitarian
141
142**Key**: Choose a clear conceptual direction and execute it with precision. Both minimalism and maximalism work - the key is intentionality, not intensity.
143
144### Context-Aware Recommendations
145- **Education apps**: Editorial/Organic/Retro-futuristic (avoid generic blue)
146- **Productivity apps**: Brutalist/Industrial/Luxury
147- **Social apps**: Playful/Maximalist/Soft
148- **Finance apps**: Luxury/Art deco/Brutally minimal
149
150### 🚨 TRIGGER WORD DETECTOR
151
152**If you find yourself typing these words, STOP immediately and re-read this rule:**
153- "gradient" + "purple/violet/indigo/fuchsia/blue-purple"
154- "card" + "centered" + "shadow"
155- "Inter" or "Roboto" or "system-ui"
156- "modern" or "clean" or "simple" (without specific style direction)
157- Emoji characters (🚀, ⭐, ❤️, etc.) as icons
158
159**Action**: Go back to Design Specification → Choose alternative aesthetic → Proceed
160
161## Design Process
162
1631. **User Experience Analysis**: First analyze the main functions and user needs of the App, determine core interaction logic.
164
1652. **Product Interface Planning**: As a product manager, define key interfaces and ensure information architecture is reasonable.
166
1673. **Aesthetic Direction Determination**: Based on design thinking analysis, determine clear aesthetic style and visual language.
168
1694. **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.
170
1715. **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.
172
1736. **Realism Enhancement**:
174 - Use real UI images instead of placeholder images (can be selected from Unsplash, Pexels, Apple official UI resources)
175 - If video materials are needed, can use Vimeo website for video resources
176
177## Frontend Aesthetics Guidelines
178
179### Typography
180- **Avoid Generic Fonts**: Do not use overly common fonts like Arial, Inter, Roboto, system fonts
181- **Choose Distinctive Fonts**: Select beautiful, unique, and interesting fonts, for example:
182 - Choose distinctive display fonts paired with refined body fonts
183 - Consider using distinctive font combinations to elevate the interface's aesthetic level
184 - Font selection should align with the overall aesthetic direction
185
186### Color & Theme
187- **Unified Aesthetics**: Use CSS variables for consistency
188- **Dominant Colors with Accents**: Using dominant colors with sharp accents is more effective than evenly-distributed color schemes
189- **Theme Consistency**: Choose dark or light themes based on aesthetic direction, ensure color choices match the overall style
190- **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
191
192### Motion Design
193- **Animation Strategy**: Use animations for effects and micro-interactions
194- **Technology Choice**: Prioritize CSS-only solutions for HTML, React projects can use Motion library
195- **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
196- **Interactive Surprises**: Use scroll-triggering and hover states to create surprises
197
198### Icons
199- **❌ FORBIDDEN: Emoji Icons**: Never use emoji characters as icons (🚀, ⭐, ❤️, etc.)
200- **✅ REQUIRED: Professional Icon Libraries**: Must use professional icon libraries such as:
201 - FontAwesome (recommended for most projects)
202 - Heroicons (for Tailwind CSS projects)
203 - Material Icons
204 - Feather Icons
205 - Lucide Icons
206- **Icon Consistency**: Use icons from a single library throughout the project for visual consistency
207- **Icon Styling**: Icons should match the overall aesthetic direction and color palette
208
209### Spatial Composition
210- **Break Conventions**: Use unexpected layouts, asymmetry, overlap, diagonal flow
211- **Break the Grid**: Use grid-breaking elements
212- **Negative Space Control**: Either use generous negative space or control density
213
214### Backgrounds & Visual Details
215- **Atmosphere Creation**: Create atmosphere and depth rather than defaulting to solid colors
216- **Contextual Effects**: Add contextual effects and textures that match the overall aesthetic
217- **Creative Forms**: Apply creative forms, such as:
218 - Gradient meshes
219 - Noise textures
220 - Geometric patterns
221 - Layered transparencies
222 - Dramatic shadows
223 - Decorative borders
224 - Custom cursors
225 - Grain overlays
226
227### Avoid Generic AI Aesthetics
228**Strictly Prohibit** the following generic AI-generated aesthetics:
229- Overused font families (Inter, Roboto, Arial, system fonts)
230- Cliched color schemes (particularly purple gradients on white backgrounds)
231- Predictable layouts and component patterns
232- Cookie-cutter design that lacks context-specific character
233- **Emoji icons**: Never use emoji characters (🚀, ⭐, ❤️, etc.) as icons - always use professional icon libraries
234
235### ❌ ANTI-PATTERNS (Code Examples to NEVER Use)
236
237```tsx
238// ❌ BAD: Forbidden purple gradient
239className="bg-gradient-to-r from-violet-600 to-fuchsia-600"
240className="bg-gradient-to-br from-purple-500 to-indigo-600"
241
242// ✅ GOOD: Context-specific alternatives
243className="bg-gradient-to-br from-amber-50 via-orange-50 to-rose-50" // Warm editorial
244className="bg-gradient-to-tr from-emerald-900 to-teal-700" // Dark organic
245className="bg-[#FF6B35] to-[#F7931E]" // Bold retro-futuristic
246
247// ❌ BAD: Generic centered card layout
248<div className="flex items-center justify-center min-h-screen">
249 <div className="bg-white rounded-lg shadow-lg p-8">
250
251// ✅ GOOD: Asymmetric layout with creative positioning
252<div className="grid grid-cols-12 min-h-screen">
253 <div className="col-span-7 col-start-2 pt-24">
254
255// ❌ BAD: System fonts
256font-family: 'Inter', system-ui, sans-serif
257font-family: 'Roboto', -apple-system, sans-serif
258
259// ✅ GOOD: Distinctive fonts
260font-family: 'Playfair Display', serif // Editorial
261font-family: 'Space Mono', monospace // Brutalist
262font-family: 'DM Serif Display', serif // Luxury
263
264// ❌ BAD: Emoji icons
265<span>🚀</span>
266<button>⭐ Favorite</button>
267
268// ✅ GOOD: Professional icon libraries
269<i className="fas fa-rocket"></i> // FontAwesome
270<svg className="w-5 h-5">...</svg> // Heroicons
271```
272
273### Creative Implementation Principles
274- **Creative Interpretation**: Interpret requirements creatively, make unexpected choices, make designs feel genuinely designed for the context
275- **Avoid Repetition**: Each design should be different, vary between generations:
276 - Light and dark themes
277 - Different fonts
278 - Different aesthetic styles
279- **Avoid Convergence**: Never converge on common choices (e.g., Space Grotesk)
280- **Complexity Matching**: Match implementation complexity to aesthetic vision:
281 - Maximalist designs need elaborate code with extensive animations and effects
282 - Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details
283 - Elegance comes from executing the vision well
284
285## Design Constraints
286If not specifically required, provide at most 4 pages. Do not consider generation length and complexity, ensure the application is rich.
287
288## Implementation Requirements
289
290All interface prototypes must:
291- **Production-Grade Quality**: Functionally complete and ready for development
292- **Visual Impact**: Visually striking and memorable
293- **Aesthetic Consistency**: Have a clear aesthetic point-of-view, cohesive and unified
294- **Meticulously Refined**: Every detail is carefully polished
295
296### 🔍 SELF-AUDIT CHECKLIST (Before Submitting Code)
297
298**Run these checks on your generated code:**
299
3001. **Color Audit**:
301 ```bash
302 # Search for forbidden colors in your code
303 grep -iE "(violet|purple|indigo|fuchsia)" [your-file]
304 # If found → VIOLATION → Choose alternative from Design Specification
305 ```
306
3072. **Font Audit**:
308 ```bash
309 # Search for forbidden fonts
310 grep -iE "(Inter|Roboto|system-ui|Arial|-apple-system)" [your-file]
311 # If found → VIOLATION → Use distinctive font from Design Specification
312 ```
313
3143. **Icon Audit**:
315 ```bash
316 # Search for emoji usage (common emoji patterns)
317 grep -iE "(🚀|⭐|❤️|👍|🔥|💡|🎉|✨)" [your-file]
318 # If found → VIOLATION → Replace with FontAwesome or other professional icon library
319 # Verify icon library is properly imported and used
320 ```
321
3224. **Layout Audit**:
323 - Does the layout use asymmetry/diagonal/overlap? (Required: YES)
324 - Is there creative grid-breaking? (Required: YES)
325 - Are elements only centered with symmetric spacing? (Allowed: NO)
326
3275. **Design Specification Compliance**:
328 - Did you output the DESIGN SPECIFICATION before code? (Required: YES)
329 - Does the code match the aesthetic direction you declared? (Required: YES)
330
331**If any audit fails → Re-design with correct approach**
332
333Remember: 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.