## What problem does it solve?
Frontend teams spend excessive time turning UI descriptions or visual references into React components. This skill automates the process by leveraging the Gemini CLI to generate UI code from natural language prompts and to convert screenshots into ready-to-use components, accelerating frontend delivery.
## Core Features & Use Cases
- UI Code Generation: Generate React components from descriptive prompts.
- Vision-to-Code: Transform UI screenshots into ready-to-use components.
- Refactoring & Optimization: Improve structure and styling with guided, script-driven transformations.
### Quick Start
Use the Gemini-based skill to generate components from descriptions or convert screenshots into code as part of your frontend workflow.
- Generate: ./scripts/gemini-generate.sh "A responsive navigation bar with a logo, links, and a dark mode toggle."
- Vision-to-Code: ./scripts/gemini-generate.sh "Replicate this dashboard design pixel-perfectly." "ref-screenshots/dashboard.png"
- Refactor: ./scripts/gemini-refactor.sh "src/components/MyComponent.tsx" "Refactor to use the new glass-bar utility class and fix accessibility issues."