Skip to content
secondsky avatar

Mobile First Design

Responsive interface guide that starts at 320px and layers enhancements for larger screens.

CCM score
52 of 100
skills.sh installs
629
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers four breakpoints from mobile (320-480px) through large desktop (1025px and up) with a mobile-first CSS pattern
  • Includes touch-target sizing with a 48x48px minimum, a performance budget, and a progressive enhancement layering model
  • Enforces a page weight cap of 500KB and a JS bundle limit of 100KB gzipped for initial load
  • Designed for building responsive websites and adaptive layouts that need to perform well on mobile networks

Install

$ npx -y skills add secondsky/claude-skills --skill mobile-first-design -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Mobile-First Design

Design interfaces starting with mobile as the foundation, then enhance for larger screens.

Breakpoints

NameWidthDevices
Mobile320-480pxiPhone SE, small Android
Tablet481-768pxiPad mini
Desktop769-1024pxiPad Pro, laptops
Large1025px+Desktop monitors

Mobile-First 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;
    margin: 0 auto;
  }

  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

Touch-Friendly Design

/* Minimum touch target: 48x48px */
.button {
  min-height: 48px;
  min-width: 48px;
  padding: 12px 24px;
}

/* Adequate spacing */
.list-item {
  padding: 16px;
  margin-bottom: 8px;
}

Performance Requirements

Details

Repository
github.com/secondsky/claude-skills
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the mobile-first-design skill do?

The mobile-first-design skill designs responsive interfaces starting from mobile screens, then adds progressive enhancement for larger devices. It covers breakpoints from 320px up to 1025px and touch-friendly target sizes.

How do I install the mobile-first-design skill?

Run npx -y skills add secondsky/claude-skills --skill mobile-first-design -y in a project to install it. Once installed, the agent can build responsive layouts that start from mobile screens.

Who is the mobile-first-design skill for?

The mobile-first-design skill is for developers building responsive websites, optimizing pages for mobile users, or implementing adaptive layouts. It guides the mobile-first CSS and HTML structure for those tasks.

Where does mobile-first-design sit among Frontend and UI Code skills?

Mobile-first-design is in the Frontend and UI Code category on Claude Marketplaces. It stands apart by focusing on mobile-first breakpoints, touch targets and progressive enhancement layers.

More from secondsky/claude-skills

All 116

Similar to Mobile First Design

More Frontend & UI Code