This skill should be used when users need to generate detailed, structured prompts for creating UI/UX prototypes. Trigger when users request help with "create a prototype prompt", "design a mobile app", "generate UI specifications", or need comprehensive design documentation for web/mobile applications. Works with multiple design systems including WeChat Work, iOS Native, Material Design, and Ant Design Mobile.
Generate comprehensive, production-ready prompts for UI/UX prototype creation. Transform user requirements into detailed technical specifications that include design systems, color palettes, component specifications, layout structures, and implementation guidelines. Output prompts are structured for optimal consumption by AI tools or human developers building HTML/CSS/React prototypes.
Workflow
Step 1: Gather Requirements
Begin by collecting essential information from the user. Ask targeted questions to understand:
Application Type & Purpose:
What kind of application? (e.g., enterprise tool, e-commerce, social media, dashboard)
Who are the target users?
What are the primary use cases and workflows?
Platform & Context:
Target platform: iOS, Android, Web, WeChat Mini Program, or cross-platform?
Device: Mobile phone, tablet, desktop, or responsive?
Viewport dimensions if known (e.g., 375px for iPhone, 1200px for desktop)
Design Preferences:
Design style: WeChat Work, iOS Native, Material Design, Ant Design Mobile, or custom?
Image assets: Real images, placeholders, or specific sources?
CDN dependencies or version requirements?
Ask questions incrementally (2-3 at a time) to avoid overwhelming the user. Many details can be inferred from context or filled with sensible defaults.
Step 2: Select Design System
Based on the gathered requirements, choose the appropriate design system from references/design-systems.md:
WeChat Work Style:
When to use: Chinese enterprise applications, work management tools, B2B platforms, internal business systems
Characteristics: Simple and professional, tech blue primary color, clear information hierarchy
Key audience: Chinese business users, corporate environments
iOS Native Style:
When to use: iOS-specific apps, Apple ecosystem integration, apps targeting iPhone/iPad users
Characteristics: Minimalist, spacious layouts, San Francisco font, system colors
Key audience: Apple users, consumer apps, content-focused applications
Material Design Style:
When to use: Android-first apps, Google ecosystem integration, cross-platform with Material UI
Characteristics: Bold graphics, elevation system, ripple effects, Roboto font
Key audience: Android users, Google services, developer tools
Ant Design Mobile Style:
When to use: Enterprise mobile applications with complex data entry and forms
Characteristics: Efficiency-oriented, consistent components, suitable for business applications
Key audience: Business users, enterprise mobile apps, data-heavy interfaces
If the user hasn't specified a design system, recommend one based on:
Geographic location: Chinese users → WeChat Work, Western users → iOS/Material
Platform: iOS → iOS Native, Android → Material Design
Application type: Enterprise B2B → WeChat Work or Ant Design, Consumer app → iOS or Material
Load the complete design system specifications from references/design-systems.md to ensure accurate color codes, component dimensions, and interaction patterns.
Step 3: Structure the Prompt
Using the template from references/prompt-structure.md, construct a comprehensive prompt with these sections:
1. Role Definition
Define expertise relevant to the prototype:
# Role
You are a world-class UI/UX engineer and frontend developer, specializing in [specific domain] using [technologies].
2. Task Description
State clearly what to build and the design style:
# Task
Create a [type] prototype for [application description].
Design style must strictly follow [design system], with core keywords: [3-5 key attributes].
3. Tech Stack Specifications
List all technologies, frameworks, and resources:
# Output Format
Please output complete [file type] code, ensuring:
1. [Requirement 1]
2. [Requirement 2]
...
The output should be production-ready and viewable at [viewport] on [device].
Step 4: Populate with Specifics
Replace all template placeholders with concrete values:
Selected: highlight color (often primary brand color)
Include all colors:
Every color mentioned must have a hex code. Reference the chosen design system from references/design-systems.md for accurate values.
Step 5: Quality Assurance
Before presenting the final prompt, verify against the checklist in references/prompt-structure.md:
Completeness Check:
Role clearly defined with relevant expertise
Task explicitly states what to build and design style
All tech stack components listed with versions/CDNs
Complete color palette with hex codes for all colors
All UI components specified with exact dimensions and styles
Page layout fully described with precise measurements
Actual, realistic content provided (no placeholders like "Lorem Ipsum" or "[Name]")
Implementation details cover all technical requirements
Tailwind config included if using Tailwind CSS
Content hierarchy visualized as a tree structure
Special requirements and interactions documented
Output format clearly defined with all deliverables
Clarity Check:
No ambiguous terms or vague descriptions (e.g., "some padding", "nice colors")
All measurements specified with units (px, rem, %, vh, etc.)
All colors defined with hex codes (e.g., #3478F6, not just "blue")
Component states described (normal, hover, active, disabled, selected)
Proper HTML structure implied (semantic elements, hierarchy)
Feasible layout techniques (Flexbox/Grid patterns that work)
Accessible markup considerations (touch targets ≥44px, color contrast)
If any checks fail, refine the prompt before proceeding.
Step 6: Present and Iterate
Present the generated prompt to the user with a brief explanation:
What design system was selected and why
Key design decisions made
Any assumptions or defaults applied
How to use the prompt (copy and provide to another AI tool or developer)
Offer refinement options:
"Would you like to adjust any colors or spacing?"
"Should we add more pages or features?"
"Do you want to change the design system?"
"Any specific interactions or animations to emphasize?"
Iterate based on feedback:
If the user requests changes:
Update the relevant sections of the prompt
Maintain consistency across all sections
Re-verify against the quality checklist
Present the updated prompt
Save or Export:
Offer to save the prompt to a file:
Markdown file for documentation
Text file for easy copying
Include as a code block for immediate use
Best Practices
1. Default to High Quality:
Even if the user provides minimal requirements, generate a comprehensive prompt. It's easier to remove details than to add them later. Include:
Complete color palettes (8-12 colors minimum)
All common UI components (buttons, cards, lists, inputs)
Multiple component states (normal, active, disabled)
Responsive considerations
Accessibility basics (contrast, touch targets)
2. Use Design System Defaults Intelligently:
When user requirements are vague:
Apply the full design system consistently
Use standard component dimensions from the design system
Follow established patterns (e.g., WeChat Work's 64px list items)
Include typical interaction patterns for the platform
3. Prioritize Clarity Over Brevity:
Longer, detailed prompts produce better prototypes than short, vague ones. Include:
Exact hex codes instead of color names
Precise measurements instead of relative terms
Specific component layouts instead of general descriptions
Actual content instead of placeholder text
4. Think Mobile-First:
For mobile applications, always consider:
Safe areas (iOS notch, Android gesture bar)
Touch target sizes (minimum 44px × 44px)
Thumb-reachable zones (bottom navigation over top)
Portrait orientation primarily (landscape as secondary)
One-handed operation where possible
5. Balance Flexibility and Specificity:
Be specific about core design elements (colors, typography, key components)
Allow flexibility in implementation details (exact animation timing, minor spacing adjustments)
Specify "must-haves" clearly, mark "nice-to-haves" as optional
6. Consider the Full User Journey:
Include specifications for:
Entry points (splash screen, onboarding if applicable)
Primary workflows (happy path through key features)
10. Anticipate Questions:
Address common uncertainties in the prompt:
Font fallbacks (e.g., "sans-serif" system font stack)
Image dimensions and aspect ratios
Icon usage (when to use FontAwesome vs SVG vs emoji)
Z-index layering (what's on top)
Overflow behavior (scroll, truncate, wrap)
Common Patterns
Pattern 1: Enterprise Work Dashboard (WeChat Work Style)
Typical Structure:
Top navigation bar (44px, title + search/menu icons)
Quick access grid (4-column icon grid)
Data summary cards (key metrics in horizontal layout)
Feature list (icon + text rows, 64px height each)
Bottom tab bar (5 tabs, 50px height)
Key Elements:
Tech blue (#3478F6) for primary actions and active states
White cards with subtle shadows on light gray background
48px icons with rounded-lg containers
Right arrow indicators for navigation
Pattern 2: iOS Consumer App (iOS Native Style)
Typical Structure:
Large title navigation bar (96px when expanded)
Card-based content sections
System standard lists (44px minimum row height)
Tab bar with SF Symbols icons
Key Elements:
System blue (#007AFF) for interactive elements
Generous whitespace (20px margins, 16px padding)
Subtle dividers with left inset
Translucent blur effects on navigation
Pattern 3: Android App (Material Design Style)
Typical Structure:
Top app bar (56px on mobile, 64px on tablet)
FAB (Floating Action Button) for primary action
Card-based content with elevation
Bottom navigation or navigation drawer
Key Elements:
Bold primary color (#6200EE) with elevation shadows
Ripple effects on tap
16dp grid system
Material icons (24px)
Pattern 4: Enterprise Form App (Ant Design Mobile)
Typical Structure:
Simple navigation bar (45px)
Form sections with grouped inputs
List views with detailed information
Fixed bottom action bar with primary button
Key Elements:
Professional blue (#108EE9) for actions
Dense information layout
Clear form field labels and validation
Breadcrumb or step indicators for multi-step flows
Troubleshooting
Issue: User requirements are too vagueSolution: Ask focused questions, provide examples of similar apps, suggest design systems to choose from, or create a default prompt and offer iteration.
Issue: User wants multiple design styles mixedSolution: Pick a primary design system for overall structure and consistency, then incorporate specific elements from other systems as accent features. Explain trade-offs.
Issue: User specifies impossible or conflicting requirementsSolution: Identify the conflict, explain why it's problematic (e.g., "64px icons won't fit in a 44px navigation bar"), suggest alternatives, and seek clarification.
Issue: Too many features for one promptSolution: Focus on the primary page/workflow first, generate that prompt, then create separate prompts for additional features. Maintain consistency across prompts.
Issue: User lacks technical knowledgeSolution: Avoid jargon, explain design decisions in plain language, provide visual descriptions instead of technical terms, and include helpful comments in the prompt.
Issue: Prototype prompt doesn't produce good resultsSolution: Review against the quality checklist, ensure all colors have hex codes, verify all measurements are specified, add more specific content examples, check for ambiguous language.
Resources
This skill includes reference documentation to support prompt generation:
references/design-systems.md
Comprehensive specifications for major design systems:
WeChat Work Style: Chinese enterprise applications
When to reference: Always load this file when generating a prompt to ensure accurate design system specifications. Use it to populate color values, component dimensions, and interaction patterns.
references/prompt-structure.md
Detailed template and guidelines for prompt construction:
When to reference: Use this as the skeleton for every generated prompt. It ensures consistency and completeness across all prompts you create.
Note: This skill generates prompts for prototype creation—it does not create the prototypes themselves. The output is a comprehensive text prompt that can be provided to another AI tool, developer, or design tool to generate the actual HTML/CSS/React code.
1---2name: prototype-prompt-generator3description: This skill should be used when users need to generate detailed, structured prompts for creating UI/UX prototypes. Trigger when users request help with "create a prototype prompt", "design a mobile app", "generate UI specifications", or need comprehensive design documentation for web/mobile applications. Works with multiple design systems including WeChat Work, iOS Native, Material Design, and Ant Design Mobile.4---56# Prototype Prompt Generator
78## Overview
910Generate comprehensive, production-ready prompts for UI/UX prototype creation. Transform user requirements into detailed technical specifications that include design systems, color palettes, component specifications, layout structures, and implementation guidelines. Output prompts are structured for optimal consumption by AI tools or human developers building HTML/CSS/React prototypes.
1112## Workflow
1314### Step 1: Gather Requirements
1516Begin by collecting essential information from the user. Ask targeted questions to understand:
1718**Application Type & Purpose:**
19- What kind of application? (e.g., enterprise tool, e-commerce, social media, dashboard)
20- Who are the target users?
21- What are the primary use cases and workflows?
2223**Platform & Context:**
24- Target platform: iOS, Android, Web, WeChat Mini Program, or cross-platform?
25- Device: Mobile phone, tablet, desktop, or responsive?
26- Viewport dimensions if known (e.g., 375px for iPhone, 1200px for desktop)
2728**Design Preferences:**
29- Design style: WeChat Work, iOS Native, Material Design, Ant Design Mobile, or custom?
30- Brand colors or visual preferences?
31- Any design references or inspiration?
3233**Feature Requirements:**
34- Key pages and features needed
35- Navigation structure (tabs, drawer, stack navigation)
36- Data to display (metrics, lists, forms, media)
37- User interactions (tap, swipe, long-press, etc.)
3839**Content & Data:**
40- Actual content to display (realistic text, numbers, names)
41- Empty states, error states, loading states
42- Any specific business logic or rules
4344**Technical Constraints:**
45- Framework preference: Plain HTML, React, Vue, or framework-agnostic?
46- CSS approach: Tailwind CSS, CSS Modules, styled-components?
47- Image assets: Real images, placeholders, or specific sources?
48- CDN dependencies or version requirements?
4950**Ask questions incrementally** (2-3 at a time) to avoid overwhelming the user. Many details can be inferred from context or filled with sensible defaults.
5152### Step 2: Select Design System
5354Based on the gathered requirements, choose the appropriate design system from `references/design-systems.md`:
5556**WeChat Work Style:**
57- **When to use**: Chinese enterprise applications, work management tools, B2B platforms, internal business systems
58- **Characteristics**: Simple and professional, tech blue primary color, clear information hierarchy
59- **Key audience**: Chinese business users, corporate environments
6061**iOS Native Style:**
62- **When to use**: iOS-specific apps, Apple ecosystem integration, apps targeting iPhone/iPad users
63- **Characteristics**: Minimalist, spacious layouts, San Francisco font, system colors
64- **Key audience**: Apple users, consumer apps, content-focused applications
6566**Material Design Style:**
67- **When to use**: Android-first apps, Google ecosystem integration, cross-platform with Material UI
68- **Characteristics**: Bold graphics, elevation system, ripple effects, Roboto font
69- **Key audience**: Android users, Google services, developer tools
7071**Ant Design Mobile Style:**
72- **When to use**: Enterprise mobile applications with complex data entry and forms
73- **Characteristics**: Efficiency-oriented, consistent components, suitable for business applications
74- **Key audience**: Business users, enterprise mobile apps, data-heavy interfaces
7576**If the user hasn't specified a design system**, recommend one based on:
77- Geographic location: Chinese users → WeChat Work, Western users → iOS/Material
78- Platform: iOS → iOS Native, Android → Material Design
79- Application type: Enterprise B2B → WeChat Work or Ant Design, Consumer app → iOS or Material
8081Load the complete design system specifications from `references/design-systems.md` to ensure accurate color codes, component dimensions, and interaction patterns.
8283### Step 3: Structure the Prompt
8485Using the template from `references/prompt-structure.md`, construct a comprehensive prompt with these sections:
8687**1. Role Definition**
88Define expertise relevant to the prototype:
89```
90# Role
91You are a world-class UI/UX engineer and frontend developer, specializing in [specific domain] using [technologies].
92```
9394**2. Task Description**
95State clearly what to build and the design style:
96```
97# Task
98Create a [type] prototype for [application description].
99Design style must strictly follow [design system], with core keywords: [3-5 key attributes].
100```
101102**3. Tech Stack Specifications**
103List all technologies, frameworks, and resources:
104- File structure (single HTML, multi-page, component-based)
105- Framework and version (e.g., Tailwind CSS CDN)
106- Device simulation (viewport size, device chrome)
107- Asset sources (Unsplash, Pexels, real images)
108- Icon libraries (FontAwesome, Material Icons)
109- Custom configuration (Tailwind config, theme variables)
110111**4. Visual Design Requirements**
112Provide detailed specifications:
113114**(a) Color Palette:**
115Include all colors with hex codes:
116- Background colors (main, section, card)
117- Primary and accent colors with usage
118- Status colors (success, warning, error)
119- Text colors (title, body, secondary, disabled)
120- UI element colors (borders, dividers)
121122**(b) UI Style Characteristics:**
123Specify for each component type:
124- Cards: background, radius, shadow, border, padding
125- Buttons: variants (primary, secondary, ghost), dimensions, states
126- Icons: style, sizes, colors, containers
127- List items: layout, height, divider style, active state
128- Shadows: type and usage
129130**(c) Layout Structure:**
131Describe each major section:
132- Top navigation bar: height, title style, icons, background
133- Content areas: grids, cards, lists, spacing
134- Quick access areas: icon grids, layouts
135- Data display cards: metrics, layout, styling
136- Feature lists: structure, icons, interactions
137- Bottom tab bar: height, tabs, active/inactive states, badges
138139**(d) Specific Page Content:**
140Provide actual content, not placeholders:
141- Real page titles and section headings
142- Actual data points (numbers, names, dates)
143- Feature names and descriptions
144- Button labels and link text
145- Sample list items with realistic content
146147**5. Implementation Details**
148Cover technical specifics:
149- Page width and centering approach
150- Layout systems (Flexbox, Grid, or both)
151- Fixed/sticky positioning for navigation
152- Spacing scale (margins, padding, gaps)
153- Typography (font family, sizes, weights)
154- Interactive states (hover, active, focus, disabled)
155- Icon sources and usage
156- Border and divider styling
157158**6. Tailwind Configuration**
159If using Tailwind CSS, provide custom config:
160```javascript
161tailwind.config = {
162 theme: {
163 extend: {
164 colors: {
165 'brand-primary': '#3478F6',
166 // ... all custom colors
167 }
168 }
169 }
170}
171```
172173**7. Content Structure & Hierarchy**
174Visualize the page structure as a tree:
175```
176Page Name
177├─ Section 1
178│ ├─ Element 1
179│ └─ Element 2
180├─ Section 2
181│ ├─ Subsection A
182│ │ ├─ Item 1
183│ │ └─ Item 2
184│ └─ Subsection B
185└─ Section 3
186```
187188**8. Special Requirements**
189Highlight unique considerations:
190- Design system-specific guidelines
191- Primary color application scenarios
192- Interaction details (tap feedback, animations, gestures)
193- Accessibility requirements (contrast, touch targets, ARIA)
194- Performance considerations (image optimization, lazy loading)
195196**9. Output Format**
197Specify the exact deliverable:
198```
199# Output Format
200201Please output complete [file type] code, ensuring:
2021. [Requirement 1]
2032. [Requirement 2]
204...
205206The output should be production-ready and viewable at [viewport] on [device].
207```
208209### Step 4: Populate with Specifics
210211Replace all template placeholders with concrete values:
212213**Replace vague terms with precise specifications:**
214- ❌ "Use blue colors" → ✅ "Primary: #3478F6 (tech blue), Link: #576B95 (link blue)"
215- ❌ "Make buttons rounded" → ✅ "Border radius: 4px (Tailwind: rounded)"
216- ❌ "Add some spacing" → ✅ "Card spacing: 12px, page margins: 16px"
217- ❌ "Display user info" → ✅ "Show username (15px bold), email (13px gray), avatar (48px circle)"
218219**Use real content, not placeholders:**
220- ❌ "Lorem ipsum dolor sit amet" → ✅ "Customer Total: 14, Today's New Customers: 1, Today's Revenue: ¥0.00"
221- ❌ "[Company Name]" → ✅ "Acme Insurance Co."
222- ❌ "Feature 1, Feature 2, Feature 3" → ✅ "Customer Contact, Customer Moments, Customer Groups"
223224**Specify all measurements:**
225- Component heights (44px, 50px, 64px)
226- Font sizes (13px, 15px, 16px, 18px)
227- Spacing values (8px, 12px, 16px, 24px)
228- Icon sizes (24px, 32px, 48px)
229- Border radius (4px, 8px, 10px)
230231**Define all states:**
232- Normal: base colors and styles
233- Hover: if applicable (desktop)
234- Active/Pressed: opacity or background changes
235- Disabled: grayed out with reduced opacity
236- Selected: highlight color (often primary brand color)
237238**Include all colors:**
239Every color mentioned must have a hex code. Reference the chosen design system from `references/design-systems.md` for accurate values.
240241### Step 5: Quality Assurance
242243Before presenting the final prompt, verify against the checklist in `references/prompt-structure.md`:
244245**Completeness Check:**
246- [ ] Role clearly defined with relevant expertise
247- [ ] Task explicitly states what to build and design style
248- [ ] All tech stack components listed with versions/CDNs
249- [ ] Complete color palette with hex codes for all colors
250- [ ] All UI components specified with exact dimensions and styles
251- [ ] Page layout fully described with precise measurements
252- [ ] Actual, realistic content provided (no placeholders like "Lorem Ipsum" or "[Name]")
253- [ ] Implementation details cover all technical requirements
254- [ ] Tailwind config included if using Tailwind CSS
255- [ ] Content hierarchy visualized as a tree structure
256- [ ] Special requirements and interactions documented
257- [ ] Output format clearly defined with all deliverables
258259**Clarity Check:**
260- [ ] No ambiguous terms or vague descriptions (e.g., "some padding", "nice colors")
261- [ ] All measurements specified with units (px, rem, %, vh, etc.)
262- [ ] All colors defined with hex codes (e.g., #3478F6, not just "blue")
263- [ ] Component states described (normal, hover, active, disabled, selected)
264- [ ] Layout relationships clear (parent-child, spacing, alignment, z-index)
265266**Specificity Check:**
267- [ ] Design system explicitly named (WeChat Work, iOS Native, Material Design, etc.)
268- [ ] Viewport dimensions provided (e.g., 375px × 812px for iPhone)
269- [ ] Typography scale defined (sizes, weights, line heights)
270- [ ] Interactive behaviors documented with timing if animated
271- [ ] Edge cases considered (long text overflow, empty states, loading, errors)
272273**Realism Check:**
274- [ ] Real content examples, not Latin placeholder text
275- [ ] Authentic data points (realistic numbers, names, dates, amounts)
276- [ ] Practical feature set (not overengineered or underspecified)
277- [ ] Appropriate complexity for the stated use case
278279**Technical Accuracy Check:**
280- [ ] Valid Tailwind class names (if using Tailwind)
281- [ ] Correct CDN links with versions (e.g., https://cdn.tailwindcss.com)
282- [ ] Proper HTML structure implied (semantic elements, hierarchy)
283- [ ] Feasible layout techniques (Flexbox/Grid patterns that work)
284- [ ] Accessible markup considerations (touch targets ≥44px, color contrast)
285286If any checks fail, refine the prompt before proceeding.
287288### Step 6: Present and Iterate
289290**Present the generated prompt to the user** with a brief explanation:
291- What design system was selected and why
292- Key design decisions made
293- Any assumptions or defaults applied
294- How to use the prompt (copy and provide to another AI tool or developer)
295296**Offer refinement options:**
297- "Would you like to adjust any colors or spacing?"
298- "Should we add more pages or features?"
299- "Do you want to change the design system?"
300- "Any specific interactions or animations to emphasize?"
301302**Iterate based on feedback:**
303If the user requests changes:
3041. Update the relevant sections of the prompt
3052. Maintain consistency across all sections
3063. Re-verify against the quality checklist
3074. Present the updated prompt
308309**Save or Export:**
310Offer to save the prompt to a file:
311- Markdown file for documentation
312- Text file for easy copying
313- Include as a code block for immediate use
314315## Best Practices
316317**1. Default to High Quality:**
318Even if the user provides minimal requirements, generate a comprehensive prompt. It's easier to remove details than to add them later. Include:
319- Complete color palettes (8-12 colors minimum)
320- All common UI components (buttons, cards, lists, inputs)
321- Multiple component states (normal, active, disabled)
322- Responsive considerations
323- Accessibility basics (contrast, touch targets)
324325**2. Use Design System Defaults Intelligently:**
326When user requirements are vague:
327- Apply the full design system consistently
328- Use standard component dimensions from the design system
329- Follow established patterns (e.g., WeChat Work's 64px list items)
330- Include typical interaction patterns for the platform
331332**3. Prioritize Clarity Over Brevity:**
333Longer, detailed prompts produce better prototypes than short, vague ones. Include:
334- Exact hex codes instead of color names
335- Precise measurements instead of relative terms
336- Specific component layouts instead of general descriptions
337- Actual content instead of placeholder text
338339**4. Think Mobile-First:**
340For mobile applications, always consider:
341- Safe areas (iOS notch, Android gesture bar)
342- Touch target sizes (minimum 44px × 44px)
343- Thumb-reachable zones (bottom navigation over top)
344- Portrait orientation primarily (landscape as secondary)
345- One-handed operation where possible
346347**5. Balance Flexibility and Specificity:**
348- Be specific about core design elements (colors, typography, key components)
349- Allow flexibility in implementation details (exact animation timing, minor spacing adjustments)
350- Specify "must-haves" clearly, mark "nice-to-haves" as optional
351352**6. Consider the Full User Journey:**
353Include specifications for:
354- Entry points (splash screen, onboarding if applicable)
355- Primary workflows (happy path through key features)
356- Edge cases (empty states, error states, loading states)
357- Exit points (logout, back navigation, completion states)
358359**7. Provide Context, Not Just Specs:**
360Explain the "why" behind design decisions:
361- "Tech blue (#3478F6) for trust and professionalism in enterprise context"
362- "64px list item height for comfortable thumb tapping on mobile"
363- "Fixed bottom tab bar for quick access to primary features"
364365**8. Validate Technical Feasibility:**
366Before finalizing the prompt:
367- Ensure CSS/Tailwind classes can achieve the described design
368- Verify that layout patterns work with the stated grid/flexbox approach
369- Confirm that the specified viewport can accommodate all content
370- Check that CDN links and versions are correct and available
371372**9. Make It Actionable:**
373The prompt should enable immediate implementation:
374- Include all necessary CDN links and imports
375- Provide complete Tailwind config (no "...add more as needed")
376- Specify file structure and organization
377- Define clear deliverables (HTML file, React components, etc.)
378379**10. Anticipate Questions:**
380Address common uncertainties in the prompt:
381- Font fallbacks (e.g., "sans-serif" system font stack)
382- Image dimensions and aspect ratios
383- Icon usage (when to use FontAwesome vs SVG vs emoji)
384- Z-index layering (what's on top)
385- Overflow behavior (scroll, truncate, wrap)
386387## Common Patterns
388389### Pattern 1: Enterprise Work Dashboard (WeChat Work Style)
390**Typical Structure:**
391- Top navigation bar (44px, title + search/menu icons)
392- Quick access grid (4-column icon grid)
393- Data summary cards (key metrics in horizontal layout)
394- Feature list (icon + text rows, 64px height each)
395- Bottom tab bar (5 tabs, 50px height)
396397**Key Elements:**
398- Tech blue (#3478F6) for primary actions and active states
399- White cards with subtle shadows on light gray background
400- 48px icons with rounded-lg containers
401- Right arrow indicators for navigation
402403### Pattern 2: iOS Consumer App (iOS Native Style)
404**Typical Structure:**
405- Large title navigation bar (96px when expanded)
406- Card-based content sections
407- System standard lists (44px minimum row height)
408- Tab bar with SF Symbols icons
409410**Key Elements:**
411- System blue (#007AFF) for interactive elements
412- Generous whitespace (20px margins, 16px padding)
413- Subtle dividers with left inset
414- Translucent blur effects on navigation
415416### Pattern 3: Android App (Material Design Style)
417**Typical Structure:**
418- Top app bar (56px on mobile, 64px on tablet)
419- FAB (Floating Action Button) for primary action
420- Card-based content with elevation
421- Bottom navigation or navigation drawer
422423**Key Elements:**
424- Bold primary color (#6200EE) with elevation shadows
425- Ripple effects on tap
426- 16dp grid system
427- Material icons (24px)
428429### Pattern 4: Enterprise Form App (Ant Design Mobile)
430**Typical Structure:**
431- Simple navigation bar (45px)
432- Form sections with grouped inputs
433- List views with detailed information
434- Fixed bottom action bar with primary button
435436**Key Elements:**
437- Professional blue (#108EE9) for actions
438- Dense information layout
439- Clear form field labels and validation
440- Breadcrumb or step indicators for multi-step flows
441442## Troubleshooting
443444**Issue: User requirements are too vague**
445**Solution:** Ask focused questions, provide examples of similar apps, suggest design systems to choose from, or create a default prompt and offer iteration.
446447**Issue: User wants multiple design styles mixed**
448**Solution:** Pick a primary design system for overall structure and consistency, then incorporate specific elements from other systems as accent features. Explain trade-offs.
449450**Issue: User specifies impossible or conflicting requirements**
451**Solution:** Identify the conflict, explain why it's problematic (e.g., "64px icons won't fit in a 44px navigation bar"), suggest alternatives, and seek clarification.
452453**Issue: Too many features for one prompt**
454**Solution:** Focus on the primary page/workflow first, generate that prompt, then create separate prompts for additional features. Maintain consistency across prompts.
455456**Issue: User lacks technical knowledge**
457**Solution:** Avoid jargon, explain design decisions in plain language, provide visual descriptions instead of technical terms, and include helpful comments in the prompt.
458459**Issue: Prototype prompt doesn't produce good results**
460**Solution:** Review against the quality checklist, ensure all colors have hex codes, verify all measurements are specified, add more specific content examples, check for ambiguous language.
461462## Resources
463464This skill includes reference documentation to support prompt generation:
465466### references/design-systems.md
467Comprehensive specifications for major design systems:
468- **WeChat Work Style**: Chinese enterprise applications
469- **iOS Native Style**: Apple ecosystem apps
470- **Material Design**: Google/Android apps
471- **Ant Design Mobile**: Enterprise mobile apps
472473Each design system includes:
474- Complete color palettes with hex codes
475- Component specifications (dimensions, spacing, states)
476- Typography scales (sizes, weights, line heights)
477- Interaction patterns (animations, gestures, feedback)
478- Layout guidelines (grids, spacing, safe areas)
479- Code examples (Tailwind classes, CSS snippets)
480481**When to reference:** Always load this file when generating a prompt to ensure accurate design system specifications. Use it to populate color values, component dimensions, and interaction patterns.
482483### references/prompt-structure.md
484Detailed template and guidelines for prompt construction:
485- Standard prompt structure (9 sections)
486- Template syntax with placeholders
487- Examples for each section
488- Quality checklist (completeness, clarity, specificity)
489- Workflow guidance (requirements → prompt → iteration)
490- Tips for effective prompts
491- Common pitfalls to avoid
492493**When to reference:** Use this as the skeleton for every generated prompt. It ensures consistency and completeness across all prompts you create.
494495---
496497**Note:** This skill generates prompts for prototype creation—it does not create the prototypes themselves. The output is a comprehensive text prompt that can be provided to another AI tool, developer, or design tool to generate the actual HTML/CSS/React code.
Run npx skillmds@latest add ahang1598/prototype-prompt-generator in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
This skill should be used when users need to generate detailed, structured prompts for creating UI/UX prototypes. Trigger when users request help with "create a prototype prompt", "design a mobile app", "generate UI specifications", or need comprehensive design documentation for web/mobile applications. Works with multiple design systems including WeChat Work, iOS Native, Material Design, and Ant Design Mobile. It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: CAUTION, Skill Scanner: PASS. Capability flags: makes network calls. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ahang1598 (@ahang1598) published this skill. Their other Agent Skills are listed on their SkillMD profile.