Skip to content
frontend-master logo

Gemini Frontend Skill

frontend-master

Frontend UI/UX work with Gemini CLI in --yolo mode. Use when (1) modifying visual/styling elements in frontend files (.tsx, .jsx, .vue, .svelte, .css), (2) implementing UI components, (3) adjusting layout, colors, spacing, typography, or animations, (4) creating responsive designs, or (5) any fro...

SKILL.md

Full skill instructions

Gemini Frontend Skill

Execute frontend UI/​UX tasks using Gemini CLI in --yolo mode for automatic approval.

When to Use

  • Visual changes: colors, backgrounds, borders, shadows
  • Layout: flexbox, grid, margins, padding, positioning
  • Typography: font sizes, weights, line heights
  • Animation: transitions, keyframes, hover states
  • Responsive design: breakpoints, media queries
  • Component styling: Tailwind, CSS-in-JS, styled-components

When NOT to Use

  • Pure logic changes (API calls, state management, event handlers)
  • Type definitions, utility functions, business logic
  • Use logic-master skill for logic optimization or image-based tasks

Execution Pattern

Basic Command Structure

# With file context
cat <frontend-file> | gemini --yolo --prompt "<instruction>"

# With directory context
gemini --yolo --prompt "<instruction>" --include-directories <dirs>

# With all project files
gemini --yolo --prompt "<instruction>" --all-files

Required Flags

FlagPurpose
--yoloMANDATORY - Auto-approve all changes
--prompt or -pSpecify the task
--include-directoriesAdd specific folders to context
--all-files or -aInclude full project context
--output-format jsonGet structured output for parsing

Workflow

  1. Identify frontend file(s) to modify
  2. Construct Gemini command with --yolo flag
  3. Execute via bash tool
  4. Verify results with lsp_diagnostics
  5. Apply changes if output is satisfactory

Example Commands

Modify Component Styling

# Update button styles
cat src/​components/​Button.tsx | gemini --yolo -p "Change button color to blue-500, add hover:scale-105 transition"

# Responsive navbar
gemini --yolo -p "Make the navbar responsive with hamburger menu on mobile" --include-directories src/​components

Layout Changes

# Convert to grid layout
cat src/​pages/​Dashboard.tsx | gemini --yolo -p "Convert this layout to CSS Grid with 3 columns"

# Add spacing
gemini --yolo -p "Add consistent spacing between cards using gap-4" --include-directories src/​components/​cards

Animation & Effects

# Add transitions
cat src/​components/​Modal.tsx | gemini --yolo -p "Add fade-in animation when modal opens"

# Hover effects
gemini --yolo -p "Add subtle shadow and scale effect on card hover" --include-directories src/​components

Full Project Changes

# Theme update
gemini --yolo -p "Update all components to use dark mode color palette" --all-files

# Design system alignment
gemini --yolo -p "Align all buttons to use design system tokens" --all-files

Output Handling

Get JSON Output for Scripting

gemini --yolo -p "List all CSS classes used in this component" --output-format json | jq '.response'

Save Changes to File

cat src/​styles/​main.css | gemini --yolo -p "Add responsive utilities" > src/​styles/​main.css.new

Integration with Subagents

When delegating to frontend-ui-ux-engineer:

1. TASK: Execute Gemini CLI to update component styling
2. EXPECTED OUTCOME: Component with updated visual styles
3. REQUIRED SKILLS: frontend-master
4. REQUIRED TOOLS: Bash (for gemini CLI), Read, lsp_diagnostics
5. MUST DO: 
   - Use --yolo flag for auto-approval
   - Verify changes with lsp_diagnostics after execution
   - Match existing Tailwind/​CSS patterns in codebase
6. MUST NOT DO:
   - Modify logic or event handlers
   - Remove existing functionality
   - Use --approval-mode (use --yolo instead)
7. CONTEXT: [file paths, design requirements, existing patterns]

Troubleshooting

IssueSolution
Command hangsEnsure --yolo flag is present
No changes madeCheck file is in context (use --include-directories)
Unexpected changesAdd more specific constraints in prompt
Build errorsRun lsp_diagnostics and fix type issues

Security Note

--yolo mode auto-approves ALL actions. Use only when:

  • Working in version-controlled directories
  • Changes can be easily reverted
  • No sensitive operations involved

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

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...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

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...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

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.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View