agent-browser
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and…
Build responsive, mobile-first layouts using fluid containers, flexible units, media queries, and touch-friendly design that works across all screen sizes. Use this skill when creating or modifying UI layouts, responsive grids, breakpoint styles, mobile navigation, or any
$ npx -y skills add am-will/codex-skills --skill frontend-responsive-ui --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/frontend-responsive-uiContext preview
The summary Claude sees to decide when to auto-load this skill.
Build responsive, mobile-first layouts using fluid containers, flexible units, media queries, and touch-friendly design that works across all screen sizes. Use this skill when creating or modifying UI layouts, responsive grids, breakpoint styles, mobile navigation, or any
name: Frontend Responsive Design Standards description: Build responsive, mobile-first layouts using fluid containers, flexible units, media queries, and touch-friendly design that works across all screen sizes. Use this skill when creating or modifying UI layouts, responsive grids, breakpoint styles, mobile navigation, or any interface that needs to adapt to different screen sizes. Apply when working with responsive CSS, media queries, viewport settings, flexbox/grid layouts, mobile-first styling, breakpoint definitions (mobile, tablet, desktop), touch target sizing, relative units (rem, em, %), image optimization for different screens, or testing layouts across multiple devices. Use for any task involving multi-device support, responsive design patterns, or adaptive layouts.
**Rule:** Mobile-first development with consistent breakpoints, fluid layouts, relative units, and touch-friendly targets.
This Skill provides Codex with specific guidance on how to adhere to coding standards as they relate to how it should handle frontend responsive.
**Always start with mobile layout, then enhance for larger screens.**
Bad (desktop-first):
.container {
width: 1200px;
display: grid;
grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
.container {
width: 100%;
grid-template-columns: 1fr;
}
}Good (mobile-first):
.container {
width: 100%;
display: grid;
grid-template-columns: 1fr;
}
@media (min-width: 768px) {
.container {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1024px) {
.container {
max-width: 1200px;
grid-template-columns: repeat(4, 1fr);
}
}**Why mobile-first:**
**Identify and use project breakpoints consistently:**
Common breakpoint systems:
Tailwind:
sm: 640px (small tablets) md: 768px (tablets) lg: 1024px (laptops) xl: 1280px (desktops) 2xl: 1536px (large desktops)
Bootstrap:
sm: 576px md: 768px lg: 992px xl: 1200px xxl: 1400px
**Check existing codebase for breakpoint definitions before creating new ones.**
Usage (Tailwind):
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4">
Usage (CSS):
@media (min-width: 768px) { }
@media (min-width: 1024px) { }**Never use arbitrary breakpoints like 850px or 1150px unless explicitly required.**
**Use flexible containers that adapt to screen size:**
Bad (fixed widths):
.container { width: 1200px; }
.sidebar { width: 300px; }
.content { width: 900px; }Good (fluid):
.container {
width: 100%;
max-width: 1200px;
padding: 0 1rem;
}
.layout {
display: grid;
grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
.layout {
grid-template-columns: 300px 1fr;
}
}**Patterns for fluid layouts:**
**Use rem/em for scalability and accessibility:**
Bad:
font-size: 16px; padding: 20px; margin: 10px; border-radius: 8px;
Good:
font-size: 1rem; /* 16px base */ padding: 1.25rem; /* 20px */ margin: 0.625rem; /* 10px */ border-radius: 0.5rem; /* 8px */
**When to use each unit:**
**Framework utilities handle this automatically:**
<div className="text-base p-5 m-2.5 rounded-lg">
**Minimum touch target size: 44x44px (iOS) / 48x48px (Android)**
Bad:
.icon-button {
width: 24px;
height: 24px;
}Good:
.icon-button {
width: 24px;
height: 24px;
padding: 12px; /* Total: 48x48px */
/* Or use min-width/min-height */
min-width: 44px;
min-height: 44px;
}**Touch target checklist:**
**Maintain readable font sizes without zoom:**
Bad:
body { font-size: 12px; }
.small-text { font-size: 10px; }Good:
body { font-size: 1rem; } /* 16px minimum */
.small-text { font-size: 0.875rem; } /* 14px minimum */**Typography guidelines:**
A collection of Codex/agent skills for planning, documentation access, frontend development, and browser automation.
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and…
Create or update Codex hooks for global or project scope by asking for scope and hook type when ambiguous, then writing the hook…
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web…
Build and run Gemini 2.5 Computer Use browser-control agents with Playwright. Use when a user wants to automate web browser tasks…
Build, transform, audit, and migrate prompts for GPT-5.6 Sol using outcome-first contracts, explicit success criteria, evidence…
Use when the user wants an end-to-end premium visual design workflow for any type of website or web page created directly from…