/mobile-first-design
Designs responsive interfaces starting from mobile screens with progressive enhancement for larger devices. Use when building responsive websites, optimizing for mobile users, or implementing adaptive layouts.
One skill from claude-skills.
shell
$ npx -y skills add secondsky/claude-skills --skill mobile-first-design --agent claude-codeInstalls just this skill. Get the whole plugin for auto-invocation.
How it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/mobile-first-design
Context preview
The summary Claude sees to decide when to auto-load this skill.
Designs responsive interfaces starting from mobile screens with progressive enhancement for larger devices. Use when building responsive websites, optimizing for mobile users, or implementing adaptive layouts.
Stats
Stars194
Forks29
LanguageTypeScript
LicenseMIT
Ships with claude-skills
SKILL.md
mobile-first-design.SKILL.md
--- name: mobile-first-design description: Designs responsive interfaces starting from mobile screens with progressive enhancement for larger devices. Use when building responsive websites, optimizing for mobile users, or implementing adaptive layouts. license: MIT --- # Mobile-First Design Design interfaces starting with mobile as the foundation, then enhance for larger screens. ## Breakpoints | Name | Width | Devices | |------|-------|---------| | Mobile | 320-480px | iPhone SE, small Android | | Tablet | 481-768px | iPad mini | | Desktop | 769-1024px | iPad Pro, laptops | | Large | 1025px+ | Desktop monitors | ## Mobile-First CSS ```css /* Base styles (mobile) */ .container { padding: 1rem; } .nav { display: none; /* Hidden on mobile */ } .nav-toggle { display: block; /* Hamburger visible */ } /* Tablet and up */ @media (min-width: 768px) { .container { padding: 2rem; max-width: 720px;
