xiaohongshu
xiaohongshu
gemini-frontend-design
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.
Full skill instructions
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.
Extract from user input:
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:
### 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.
| 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 |
Before presenting to user, verify:
User: "Build me a pricing page for a SaaS product"
Workflow:
This combination produces designs that neither model would create alone.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience