mobile-design

📁 noelrohi/skills 📅 5 days ago
1
总安装量
1
周安装量
#48033
全站排名
安装命令
npx skills add https://github.com/noelrohi/skills --skill mobile-design

Agent 安装分布

amp 1
opencode 1
kimi-cli 1
codex 1
gemini-cli 1

Skill 文档

Mobile UI Design

Generate production-grade iOS mobile screens as standalone HTML files. Each screen is an iPhone 14 Pro viewport (393×852) using Tailwind CSS v4, Google Fonts, and Iconify icons.

References

  • HTML Template: See references/template.html for the base boilerplate
  • Style Guide: See references/style-guide.md for domain-specific palettes, fonts, and anti-patterns

How It Works

  1. Clarify the app concept — ask what the app does if not specified
  2. Pick an aesthetic direction — commit to a bold tone (minimal, glassmorphic, editorial, retro-futuristic, organic, luxury, etc.)
  3. Generate 3 cohesive screens using the HTML template from references/template.html
  4. Write each screen as a separate file: screens/home.html, screens/detail.html, screens/action.html
  5. Verify all screens share the same theme tokens, fonts, and color palette

Usage

Use the Write tool to create HTML files. Do NOT output raw HTML as text.

File naming: screens/{screen-name}.html (kebab-case)

Include data-title attribute on the <html> tag for the screen name.

Screen Set (default: 3 screens)

Screen Purpose Examples
Home/Dashboard Main landing view Feed, dashboard, overview
Detail/Content Deeper view Item detail, article, profile
Action/Input User interaction Create, edit, settings, search

Each screen must feel like part of the same app family while showing different UI patterns (lists, cards, forms, charts, etc.).

Design Thinking

Before coding, answer three questions:

  1. Purpose — What problem does this solve? Who uses it?
  2. Tone — Minimal, soft, bold, glassmorphic, editorial, retro-futuristic, organic, luxury?
  3. Differentiation — What is the ONE thing someone will remember about this screen?

Make It Memorable

Achievements Must Feel Tangible

Numbers in circles are forgettable. Make achievements feel like real rewards:

  • Streaks: Growing flames, stacking coins, rising plants, filling jars
  • Progress: Liquid filling a glass, a path being walked, rings completing
  • Milestones: Trophies, badges with texture, celebratory bursts

Navigation Fits the App

App Type Nav Style
Content-first (TikTok, Instagram) Standard bottom tab bar
Utility/productivity Minimal — floating pill, single FAB, or hidden nav
Premium/luxury Floating blurred dock, asymmetric layout, gesture-based

Bottom Navigation Spacing

  • Do NOT stack large bottom offsets and fake spacer blocks together
  • Avoid trailing spacer divs like <div class="h-24"></div> unless explicitly requested
  • If using a floating bottom nav/dock:
    • Place nav around bottom-[12px] to bottom-[18px]
    • Reserve clearance in scroll container with pb-[88px] to pb-[104px]
    • Keep nav visually near the bottom edge — avoid “floating too high”

Icons

<span class="iconify" data-icon="solar:home-bold" data-width="24"></span>

Preferred sets: solar (modern), phosphor (friendly), tabler (crisp)

NEVER use emoji as icons.

Images

https://images.unsplash.com/photo-PHOTOID?w=WIDTH&h=HEIGHT&fit=crop

Present Results to User

After generating screens, present:

  1. List of screens created with file paths
  2. The aesthetic direction chosen and why
  3. Key design decisions (palette, typography, navigation pattern)
  4. Suggest next steps (additional screens, animations, interactions)