aj-geddes avatar

Mobile First Design

This walks you through the mobile-first methodology: start with a 320px baseline, nail the essential features and touch targets, then progressively enhance for tablets and desktops. You get breakpoint guidelines, performance optimization tips, and the core principle that constraints force better prioritization. The reference guides cover responsive patterns, mobile performance, and progressive enhancement strategies. Honest take: the approach is sound and the 44px touch target rule alone saves headaches, but the real value is in forcing you to justify every element before scaling up. Best for web apps and responsive sites where you need cross-device consistency without bloat.

skills.sh installs
869
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill mobile-first-design --agent claude-code

Installs into .claude/skills of the current project.

Files

Mobile-First Design

Table of Contents

Overview

Mobile-first design prioritizes small screens as the starting point, ensuring core functionality works on all devices while leveraging larger screens for enhanced experience.

When to Use

  • Web application design
  • Responsive website creation
  • Feature prioritization
  • Performance optimization
  • Progressive enhancement
  • Cross-device experience design

Quick Start

Minimal working example:

Mobile-First Approach:

Step 1: Design for Mobile (320px - 480px)
  - Constrained space forces priorities
  - Focus on essential content and actions
  - Single column layout
  - Touch-friendly interactive elements

Step 2: Enhance for Tablet (768px - 1024px)
  - Add secondary content
  - Multi-column layouts possible
  - Optimize spacing and readability
  - Take advantage of hover states

Step 3: Optimize for Desktop (1200px+)
  - Full-featured experience
  - Advanced layouts
  - Rich interactions
  - Multiple columns and sidebars

---
## Responsive Breakpoints:

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Frontend Development, AI & Agent Building, Mobile Development, Design & UI/UX
First seen
May 16, 2026

More from aj-geddes/useful-ai-prompts

All 258
1jwynia avatarelectron-best-practicesjwynia/agent-skillsGuide AI agents through Electron app development with React including security patterns, type-safe IPC, React integration, packaging with code signing, and test863skills.sh installs
2pulumi avatarpackage-usagepulumi/agent-skillsTrack which stacks across a Pulumi organization use a specific package and at what versions. Use for cross-stack audits, identifying outdated or unmaintained pa860skills.sh installs
3pproenca avatartanstack-querypproenca/dot-skillsTanStack Query v5 performance optimization for data fetching, caching, mutations, and query patterns. This skill should be used when using useQuery, useMutation858skills.sh installs
4astronomer avatarwarehouse-initastronomer/agentsInitialize warehouse schema discovery. Generates .astro/warehouse.md with all table metadata for instant lookups. Run once per project, refresh when schema chan841skills.sh installs
5makisuo avatareffect-best-practicesmakisuo/skillsEnforces Effect-TS patterns for services, errors, layers, and atoms. Use when writing code with Effect.Service, Schema.TaggedError, Layer composition, or effect841skills.sh installs
6netresearch avatarsecurity-auditnetresearch/security-audit-skillUse when conducting security assessments — OWASP Top 10 / API / LLM, CWE Top 25, CVSS scoring — auditing PHP/TYPO3, APIs, frontend, Terraform/K8s/Docker IaC, AW839skills.sh installs