generating-components
Phase 3: GENERATING COMPONENTS — Build UI with Gemini Design
When
After Phases 0-2 are complete. design-system.md, tokens, and copy-guide.md must exist.
Input (from Phases 0-2)
design-system.mdwith OKLCH palette, typography, motion personality.- CSS-precise observations from Phase 1 Playwright browsing (oklch values, clamp sizes, grid ratios).
copy-guide.mdfrom Phase 2 (voice, CTAs, microcopy).
Steps
- Pre-generation checklist — Verify: design-system.md exists, OKLCH tokens defined, typography pair set, motion profile set, visual-technique-matrix consulted.
- Browse inspiration —
mcp__playwright__browser_navigate+mcp__playwright__browser_take_screenshoton sector-matching sites (see../1-designing-systems/references/design-inspiration.mdand../1-designing-systems/references/design-inspiration-urls.md). New project: 4 sites. New page: 2 sites. New component: 1 site. - Search 21st.dev —
mcp__magic__21st_magic_component_inspirationfor component patterns. - Read premium patterns — Read
references/premium-patterns/PATTERNS.md, pick 2-3 patterns matching your sector, then read theirdescription.md. Copy the "Gemini Context Prompt" section from each. - Prepare 7 XML blocks for Gemini:
<aesthetics>,<typography>,<color_system>,<spacing>,<layout>,<states>,<forbidden>. - Generate —
mcp__gemini-design__create_frontendwith design-system.md tokens + premium pattern context prompts combined. In thecontextparameter, ALWAYS include the copied Gemini Context Prompts + "Visual depth required: hero >= 75vh, 3-level shadows, alternating section backgrounds, glassmorphism nav, typography contrast 3:1 H1 vs body. NO flat design." - Add variants per
references/component-variants-ref.md— size, state, color variants. - Compose layouts using
references/layouts/(pages, navigation, patterns) andreferences/component-composition-ref.md. - Iterate —
mcp__gemini-design__modify_frontendperreferences/gemini-feedback-loop.md.
Output
- HTML/CSS components generated via Gemini, matching design-system.md identity.
- Variants (size, state, color) defined. Page layouts composed.
- Components ready for animation in Phase 4.
Next → Phase 4: ADDING ANIMATIONS
4-adding-animations/SKILL.md — Add motion, interactions, and visual effects.
References
| File | Purpose |
|---|---|
references/gemini-design-workflow.md |
Gemini MCP workflow |
references/gemini-tool-signatures.md |
Gemini tool API signatures |
references/gemini-feedback-loop.md |
Iterative refinement process |
references/premium-patterns/PATTERNS.md |
10 premium design patterns with CSS specs + Gemini prompts |
../1-designing-systems/references/design-inspiration.md |
Browsing methodology (Phase 1) |
../1-designing-systems/references/design-inspiration-urls.md |
Sector-specific URLs (Phase 1) |
references/component-variants-ref.md |
Variant patterns |
references/component-composition-ref.md |
Composition patterns |
references/layouts/ |
Page layouts, navigation, patterns |
references/templates/ |
Component templates (hero, pricing, etc.) |
references/21st-dev.md |
21st.dev component library |
references/shadcn.md |
shadcn/ui integration |
More from fusengine/agents
laravel-architecture
Design Laravel app architecture with services, repositories, actions, and clean code patterns. Use when structuring projects, creating services, implementing DI, or organizing code layers.
97nextjs-i18n
Next.js 16 internationalization with next-intl or DIY. Use when implementing i18n, translations, localization, multilingual, language switch, locale routing, or formatters.
59tailwindcss-v4
Tailwind CSS v4.1 core features, @theme, directives, migration guide
46laravel-migrations
Laravel 12 database migrations - Schema Builder, columns, indexes, foreign keys, seeders. Use when designing database schema or managing migrations.
41seo
SEO/SEA/GEO 2026 complete methodology for organic, paid, and AI search optimization.
40prompt-optimization
Analyze and improve existing prompts for better performance
39