Mobile-First Design
Skill files6 files

references/

scripts/

templates/

SKILL.md101 lines
1
---
2
name: mobile-first-design
3
description: >
4
Design for mobile devices first, then scale up to larger screens. Create
5
responsive interfaces that work seamlessly across all device sizes.
6
---
7
8
# Mobile-First Design
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Mobile-first design prioritizes small screens as the starting point, ensuring core functionality works on all devices while leveraging larger screens for enhanced experience.
21
22
## When to Use
23
24
- Web application design
25
- Responsive website creation
26
- Feature prioritization
27
- Performance optimization
28
- Progressive enhancement
29
- Cross-device experience design
30
31
## Quick Start
32
33
Minimal working example:
34
35
```yaml
36
Mobile-First Approach:
37
38
Step 1: Design for Mobile (320px - 480px)
39
- Constrained space forces priorities
40
- Focus on essential content and actions
41
- Single column layout
42
- Touch-friendly interactive elements
43
44
Step 2: Enhance for Tablet (768px - 1024px)
45
- Add secondary content
46
- Multi-column layouts possible
47
- Optimize spacing and readability
48
- Take advantage of hover states
49
50
Step 3: Optimize for Desktop (1200px+)
51
- Full-featured experience
52
- Advanced layouts
53
- Rich interactions
54
- Multiple columns and sidebars
55
56
---
57
## Responsive Breakpoints:
58
59
Mobile: 320px - 480px
60
- iPhone SE, older phones
61
// ... (see reference guides for full implementation)
62
```
63
64
## Reference Guides
65
66
Detailed implementations in the `references/` directory:
67
68
| Guide | Contents |
69
|---|---|
70
| [Responsive Design Implementation](references/responsive-design-implementation.md) | Responsive Design Implementation |
71
| [Mobile Performance](references/mobile-performance.md) | Mobile Performance |
72
| [Progressive Enhancement](references/progressive-enhancement.md) | Progressive Enhancement |
73
74
## Best Practices
75
76
### ✅ DO
77
78
- Design for smallest screen first
79
- Test on real mobile devices
80
- Use responsive images
81
- Optimize for mobile performance
82
- Make touch targets 44x44px minimum
83
- Stack content vertically on mobile
84
- Use hamburger menu on mobile
85
- Hide non-essential content on mobile
86
- Test with slow networks
87
- Progressive enhancement approach
88
89
### ❌ DON'T
90
91
- Assume all mobile users have fast networks
92
- Use desktop-only patterns on mobile
93
- Ignore touch interaction needs
94
- Make buttons too small
95
- Forget about landscape orientation
96
- Over-complicate mobile layout
97
- Ignore mobile performance
98
- Assume no keyboard (iPad users)
99
- Skip mobile user testing
100
- Forget about notches and safe areas
101

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…