agentleFS
irahardiantoirahardianto/awesome-agv/.agents/skills/mobile-design/SKILL.md

mobile-design

Skill157 starsChanged 3 months agoMITView on GitHub

Generates distinctive, production-grade mobile interfaces for Flutter and React Native. Prioritizes platform-native patterns, adaptive layouts, and fluid motion. Use when building mobile apps, screens, widgets, or when the user requests to style or create visually striking mobile UI.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use intelligent-routing, 2d-games and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • tiendatworkSkill

    intelligent-routing

    Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

    Also in 3 projects that use this

  • tiendatworkSkill

    2d-games

    2D game development principles. Sprites, tilemaps, physics, camera.

    Also in 3 projects that use this

  • +6 more from tiendatwork

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before coding, understand the context and commit to a platform-aware aesthetic direction:

    line 14
  2. Distinctive:

    Cross-platform: Use adaptive widgets that render platform-appropriate UI

    line 27
  3. Very specific:

    Use TextTheme in Flutter, keep a consistent type scale

    line 32
  4. Very specific:

    Use ColorScheme / ThemeData for consistency

    line 37
  5. Distinctive:

    Ensure contrast ratios work on OLED (pure black) and LCD displays

    line 38
  6. Distinctive:

    Use color purposefully — primary actions, status indicators, brand identity

    line 39
  7. Distinctive:

    Use meaningful motion — animations should communicate state changes, not decorate

    line 42
  8. Distinctive:

    Keep animations under 300ms for interactions, up to 500ms for transitions

    line 43
  9. Very specific:

    Use Hero animations for shared element transitions

    line 44
  10. Distinctive:

    Use safe area insets — never overlap system UI (notch, home indicator, status bar)

    line 50
  11. Distinctive:

    Use responsive breakpoints: compact (<600dp), medium (600-840dp), expanded (>840dp)

    line 52
  12. Very specific:

    Avoid rebuilding expensive widget trees — use const constructors

    line 56
  13. Distinctive:

    Before implementing, verify against:

    line 84

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Mobile Design Skill

This skill guides creation of distinctive, production-grade mobile interfaces that feel native to the platform while maintaining a unique aesthetic identity. Implement real working code with exceptional attention to platform conventions and creative design choices.

The user provides mobile UI requirements: a screen, widget, feature, or complete app interface. They may include context about the platform (iOS/Android), audience, or technical constraints.

Design Thinking

Before coding, understand the context and commit to a platform-aware aesthetic direction:

  • Platform: iOS (Cupertino), Android (Material 3), or cross-platform? Each has distinct expectations.
  • Tone: Pick a direction — refined luxury, playful/energetic, utilitarian/efficient, editorial/content-first, organic/warm, bold/geometric, soft/pastel, etc.
  • Constraints: Performance on low-end devices, offline capability, accessibility.
  • Differentiation: What makes this app memorable? What's the signature interaction?

CRITICAL: Mobile users have muscle memory. Respect platform conventions (navigation patterns, gesture zones, system UI) while injecting personality through typography, color, motion, and layout composition.

Mobile Design Guidelines

Platform Conventions

  • iOS: Bottom tab bar, large title navigation, swipe-to-go-back, Cupertino widgets
  • Android: Material 3, navigation rail/drawer, FAB, top app bar
  • Cross-platform: Use adaptive widgets that render platform-appropriate UI

Typography

  • Choose distinctive but highly readable fonts at mobile sizes (16px+ body)
  • Respect dynamic type / font scaling — never hardcode font sizes
  • Use TextTheme in Flutter, keep a consistent type scale
  • Pair a characterful display font with a supremely legible body font

Color & Theme

  • Support both light and dark themes — always
  • Use ColorScheme / ThemeData for consistency
  • Ensure contrast ratios work on OLED (pure black) and LCD displays
  • Use color purposefully — primary actions, status indicators, brand identity

Motion & Animation

  • Use meaningful motion — animations should communicate state changes, not decorate
  • Keep animations under 300ms for interactions, up to 500ms for transitions
  • Use Hero animations for shared element transitions
  • Stagger list item animations for visual polish
  • Respect reduceMotion / accessibility settings — always provide a static fallback

Layout & Spacing

  • Design for one-handed use — critical actions in thumb-reach zone (bottom 60% of screen)
  • Use safe area insets — never overlap system UI (notch, home indicator, status bar)
  • Design for varying screen sizes — phones, tablets, foldables
  • Use responsive breakpoints: compact (<600dp), medium (600-840dp), expanded (>840dp)
  • Generous touch targets: minimum 48x48dp

Performance

  • Avoid rebuilding expensive widget trees — use const constructors
  • Lazy-load lists with ListView.builder (never ListView for large lists)
  • Optimize images — use cached_network_image, proper resolution variants
  • Profile on real devices, not just emulators

Flutter-Specific Patterns

// ✅ Good: Adaptive widget that respects platform
Widget buildButton(BuildContext context) {
  return Platform.isIOS
    ? CupertinoButton(child: text, onPressed: onTap)
    : ElevatedButton(child: text, onPressed: onTap);
}

// ✅ Good: Responsive layout with breakpoints
Widget build(BuildContext context) {
  final width = MediaQuery.of(context).size.width;
  if (width >= 840) return _expandedLayout();
  if (width >= 600) return _mediumLayout();
  return _compactLayout();
}

// ❌ Bad: Hardcoded sizes that break on different devices
Container(width: 375, height: 812) // iPhone X only!

Rule Compliance

Before implementing, verify against:

  • Project Structure @project-structure.md (Flutter/Mobile layout, feature organization)
  • Testing Strategy @testing-strategy.md (widget tests, integration tests)
  • Security Principles @security-principles.md (secure storage, API key handling)
  • Accessibility Principles @accessibility-principles.md (screen reader, dynamic type, contrast)
  • Architectural Patterns @architectural-pattern.md (Riverpod 3 Notifier, repository pattern)

IMPORTANT: Mobile has unique constraints — battery life, network variability, and user context (one-handed, on-the-go). Every design choice should respect these realities. Beautiful UI that drains battery or stutters on scroll is a failure.

Remember: The best mobile apps feel like they were designed specifically for the device in your hand. Make every pixel and every interaction intentional.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.