This skill leverages Gemini 3 Pro's creative capabilities to generate distinctive, production-grade frontend interfaces. It uses a multi-step workflow: Gemini provides creative direction and initial implementation, then Claude refines and polishes the output.
Workflow
Step 1: Parse User Requirements
Extract from user input:
- Component/Page Type: What are we building? (landing page, dashboard, form, card, etc.)
- Purpose: What problem does it solve? Who uses it?
- Technical Constraints: Framework (React, Vue, vanilla), styling (Tailwind, CSS), etc.
- Aesthetic Hints: Any mentioned preferences (dark mode, minimal, playful, etc.)
Step 2: Call Gemini 3 Pro for Design Generation
CRITICAL: Use the Bash tool to execute this Python command. Replace {REQUIREMENTS} with the parsed user requirements.
python -c "
from google import genai
from google.genai import types
client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY"))
requirements = '''
{REQUIREMENTS}
'''
response = client.models.generate_content(
model='gemini-3-pro-preview',
contents=f'''You are an elite frontend designer known for creating distinctive, memorable interfaces that avoid generic \"AI slop\" aesthetics.
REQUIREMENTS:
{requirements}
DESIGN THINKING PROCESS:
1. **Purpose Analysis**: What problem does this solve? Who uses it?
2. **Aesthetic Direction**: Choose ONE bold direction and commit fully:
- Brutally minimal (precision, negative space, restraint)
- Maximalist chaos (layered, textured, overwhelming)
- Retro-futuristic (CRT vibes, neon, chrome)
- Organic/natural (flowing shapes, earth tones, textures)
- Luxury/refined (gold accents, serif fonts, dark themes)
- Playful/toy-like (rounded corners, bright colors, bouncy animations)
- Editorial/magazine (dramatic typography, asymmetric layouts)
- Brutalist/raw (exposed structure, unconventional, harsh)
- Art deco/geometric (patterns, gold, symmetry)
- Industrial/utilitarian (monospace, yellow/black, functional)
3. **Typography**: Choose distinctive fonts - NEVER use Inter, Roboto, Arial, or generic system fonts. Pick characterful display fonts paired with refined body fonts.
4. **Color Palette**: Commit to a cohesive scheme. Dominant colors with sharp accents beat timid, evenly-distributed palettes.
5. **Signature Element**: What ONE thing will make this unforgettable?
OUTPUT FORMAT:
## Design Direction
[Explain your chosen aesthetic in 2-3 sentences]
## Signature Element
[The ONE memorable thing about this design]
## Color Palette
- Primary: [hex]
- Secondary: [hex]
- Accent: [hex]
- Background: [hex]
- Text: [hex]
## Typography
- Display Font: [font name from Google Fonts]
- Body Font: [font name from Google Fonts]
## Code
```[html/jsx/vue based on requirements]
[Complete, production-ready code with:
- All CSS included (inline styles, styled-components, or Tailwind based on context)
- Animations and micro-interactions
- Responsive design
- Semantic HTML
- Accessibility attributes
- Google Fonts import if needed]
CRITICAL RULES:
- NO purple gradients on white backgrounds
- NO generic card layouts
- NO cookie-cutter component patterns
- NEVER use overused fonts (Inter, Space Grotesk, Roboto)
- MAKE IT MEMORABLE - someone should remember this design
- COMMIT to your aesthetic direction - half-measures fail
- INCLUDE working animations and hover states
- USE unexpected layouts: asymmetry, overlap, diagonal flow, grid-breaking
''',
config=types.GenerateContentConfig(
system_instruction='You are an elite frontend designer and developer. You create distinctive, production-grade interfaces with bold aesthetic choices. Your code is always complete, functional, and ready for production. You never produce generic or templated designs.',
temperature=0.9
)
)
print(response.text)
"
### Step 3: Review and Refine Gemini's Output
After Gemini returns the design:
1. **Validate the code** - Ensure it's complete and functional
2. **Check aesthetic commitment** - Is the direction bold enough?
3. **Verify typography** - No generic fonts slipped through?
4. **Enhance animations** - Add more polish if needed
5. **Fix any issues** - Syntax errors, missing imports, etc.
Use Edit/Write tools to save the refined code to appropriate files.
### Step 4: Present Final Design
Display to user:
- Design direction and rationale
- The signature element
- Color palette and typography choices
- Complete, working code
---
## Alternative: Multi-Shot Design Exploration
For more complex projects, spawn multiple Gemini calls with different aesthetic directions:
```bash
# Call 1: Minimal direction
python -c "... aesthetic='brutally minimal' ..."
# Call 2: Maximalist direction
python -c "... aesthetic='maximalist chaos' ..."
# Call 3: User's hinted direction
python -c "... aesthetic='{user_preference}' ..."
Then present all options and let user choose, or synthesize the best elements.
Gemini 3 Pro Configuration
| Parameter |
Value |
Rationale |
| Model |
gemini-3-pro-preview |
Best creative reasoning |
| Temperature |
0.9 |
High creativity for design |
| Max Tokens |
(omitted) |
Uses model's maximum - no artificial limit |
Design Quality Checklist
Before presenting to user, verify:
Example Usage
User: "Build me a pricing page for a SaaS product"
Workflow:
- Parse: Pricing page, SaaS context, likely needs 3 tiers
- Call Gemini 3 Pro with full prompt
- Gemini returns: Art deco direction, geometric patterns, gold accents
- Claude refines: Fixes any code issues, enhances animations
- Present: Complete pricing page with distinctive aesthetic
Why Gemini 3 Pro?
- Extended thinking: Deep reasoning about design choices
- Creative temperature: High temperature (0.9) for bold choices
- Fresh perspective: Different training data = different aesthetics
- Complementary: Gemini ideates, Claude refines
This combination produces designs that neither model would create alone.
1---2name: gemini-frontend-design3description: Create distinctive, production-grade frontend interfaces using Gemini 3 Pro for design ideation. Use this skill when you want Gemini's creative perspective on web components, pages, or applications. Generates bold, polished code that avoids generic AI aesthetics.4license: MIT5---67This skill leverages Gemini 3 Pro's creative capabilities to generate distinctive, production-grade frontend interfaces. It uses a multi-step workflow: Gemini provides creative direction and initial implementation, then Claude refines and polishes the output.89## Workflow1011### Step 1: Parse User Requirements1213Extract from user input:14- **Component/Page Type**: What are we building? (landing page, dashboard, form, card, etc.)15- **Purpose**: What problem does it solve? Who uses it?16- **Technical Constraints**: Framework (React, Vue, vanilla), styling (Tailwind, CSS), etc.17- **Aesthetic Hints**: Any mentioned preferences (dark mode, minimal, playful, etc.)1819### Step 2: Call Gemini 3 Pro for Design Generation2021**CRITICAL**: Use the Bash tool to execute this Python command. Replace `{REQUIREMENTS}` with the parsed user requirements.2223```bash24python -c "25from google import genai26from google.genai import types2728client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY"))2930requirements = '''31{REQUIREMENTS}32'''3334response = client.models.generate_content(35 model='gemini-3-pro-preview',36 contents=f'''You are an elite frontend designer known for creating distinctive, memorable interfaces that avoid generic \"AI slop\" aesthetics.3738REQUIREMENTS:39{requirements}4041DESIGN THINKING PROCESS:42431. **Purpose Analysis**: What problem does this solve? Who uses it?44452. **Aesthetic Direction**: Choose ONE bold direction and commit fully:46 - Brutally minimal (precision, negative space, restraint)47 - Maximalist chaos (layered, textured, overwhelming)48 - Retro-futuristic (CRT vibes, neon, chrome)49 - Organic/natural (flowing shapes, earth tones, textures)50 - Luxury/refined (gold accents, serif fonts, dark themes)51 - Playful/toy-like (rounded corners, bright colors, bouncy animations)52 - Editorial/magazine (dramatic typography, asymmetric layouts)53 - Brutalist/raw (exposed structure, unconventional, harsh)54 - Art deco/geometric (patterns, gold, symmetry)55 - Industrial/utilitarian (monospace, yellow/black, functional)56573. **Typography**: Choose distinctive fonts - NEVER use Inter, Roboto, Arial, or generic system fonts. Pick characterful display fonts paired with refined body fonts.58594. **Color Palette**: Commit to a cohesive scheme. Dominant colors with sharp accents beat timid, evenly-distributed palettes.60615. **Signature Element**: What ONE thing will make this unforgettable?6263OUTPUT FORMAT:6465## Design Direction66[Explain your chosen aesthetic in 2-3 sentences]6768## Signature Element69[The ONE memorable thing about this design]7071## Color Palette72- Primary: [hex]73- Secondary: [hex]74- Accent: [hex]75- Background: [hex]76- Text: [hex]7778## Typography79- Display Font: [font name from Google Fonts]80- Body Font: [font name from Google Fonts]8182## Code8384```[html/jsx/vue based on requirements]85[Complete, production-ready code with:86- All CSS included (inline styles, styled-components, or Tailwind based on context)87- Animations and micro-interactions88- Responsive design89- Semantic HTML90- Accessibility attributes91- Google Fonts import if needed]92```9394CRITICAL RULES:95- NO purple gradients on white backgrounds96- NO generic card layouts97- NO cookie-cutter component patterns98- NEVER use overused fonts (Inter, Space Grotesk, Roboto)99- MAKE IT MEMORABLE - someone should remember this design100- COMMIT to your aesthetic direction - half-measures fail101- INCLUDE working animations and hover states102- USE unexpected layouts: asymmetry, overlap, diagonal flow, grid-breaking103''',104 config=types.GenerateContentConfig(105 system_instruction='You are an elite frontend designer and developer. You create distinctive, production-grade interfaces with bold aesthetic choices. Your code is always complete, functional, and ready for production. You never produce generic or templated designs.',106 temperature=0.9107 )108)109print(response.text)110"111```112113### Step 3: Review and Refine Gemini's Output114115After Gemini returns the design:1161171. **Validate the code** - Ensure it's complete and functional1182. **Check aesthetic commitment** - Is the direction bold enough?1193. **Verify typography** - No generic fonts slipped through?1204. **Enhance animations** - Add more polish if needed1215. **Fix any issues** - Syntax errors, missing imports, etc.122123Use Edit/Write tools to save the refined code to appropriate files.124125### Step 4: Present Final Design126127Display to user:128- Design direction and rationale129- The signature element130- Color palette and typography choices131- Complete, working code132133---134135## Alternative: Multi-Shot Design Exploration136137For more complex projects, spawn multiple Gemini calls with different aesthetic directions:138139```bash140# Call 1: Minimal direction141python -c "... aesthetic='brutally minimal' ..."142143# Call 2: Maximalist direction144python -c "... aesthetic='maximalist chaos' ..."145146# Call 3: User's hinted direction147python -c "... aesthetic='{user_preference}' ..."148```149150Then present all options and let user choose, or synthesize the best elements.151152---153154## Gemini 3 Pro Configuration155156| Parameter | Value | Rationale |157|-----------|-------|-----------|158| Model | `gemini-3-pro-preview` | Best creative reasoning |159| Temperature | `0.9` | High creativity for design |160| Max Tokens | (omitted) | Uses model's maximum - no artificial limit |161162---163164## Design Quality Checklist165166Before presenting to user, verify:167168- [ ] **Typography**: Distinctive fonts (not Inter/Roboto/Arial)169- [ ] **Color**: Cohesive palette with clear hierarchy170- [ ] **Layout**: Unexpected/interesting composition171- [ ] **Motion**: Animations on load, hover, and interactions172- [ ] **Details**: Textures, shadows, gradients, or other depth173- [ ] **Accessibility**: Semantic HTML, ARIA labels, contrast174- [ ] **Responsive**: Works on mobile and desktop175- [ ] **Complete**: All code included, no placeholders176177---178179## Example Usage180181**User**: "Build me a pricing page for a SaaS product"182183**Workflow**:1841. Parse: Pricing page, SaaS context, likely needs 3 tiers1852. Call Gemini 3 Pro with full prompt1863. Gemini returns: Art deco direction, geometric patterns, gold accents1874. Claude refines: Fixes any code issues, enhances animations1885. Present: Complete pricing page with distinctive aesthetic189190---191192## Why Gemini 3 Pro?193194- **Extended thinking**: Deep reasoning about design choices195- **Creative temperature**: High temperature (0.9) for bold choices196- **Fresh perspective**: Different training data = different aesthetics197- **Complementary**: Gemini ideates, Claude refines198199This combination produces designs that neither model would create alone.