mobile-design

sickn33/antigravity-awesome-skills · updated Apr 15, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill mobile-design
0 commentsdiscussion
summary

$22

skill.md

Mobile Design System

(Mobile-First · Touch-First · Platform-Respectful)

Philosophy: Touch-first. Battery-conscious. Platform-respectful. Offline-capable. Core Law: Mobile is NOT a small desktop. Operating Rule: Think constraints first, aesthetics second.

This skill exists to prevent desktop-thinking, AI-defaults, and unsafe assumptions when designing or building mobile applications.


1. Mobile Feasibility & Risk Index (MFRI)

Before designing or implementing any mobile feature or screen, assess feasibility.

MFRI Dimensions (1–5)

Dimension Question
Platform Clarity Is the target platform (iOS / Android / both) explicitly defined?
Interaction Complexity How complex are gestures, flows, or navigation?
Performance Risk Does this involve lists, animations, heavy state, or media?
Offline Dependence Does the feature break or degrade without network?
Accessibility Risk Does this impact motor, visual, or cognitive accessibility?

Score Formula

MFRI = (Platform Clarity + Accessibility Readiness)
       − (Interaction Complexity + Performance Risk + Offline Dependence)

Range: -10 → +10

Interpretation

MFRI Meaning Required Action
6–10 Safe Proceed normally
3–5 Moderate Add performance + UX validation
0–2 Risky Simplify interactions or architecture
< 0 Dangerous Redesign before implementation

2. Mandatory Thinking Before Any Work

⛔ STOP: Ask Before Assuming (Required)

If any of the following are not explicitly stated, you MUST ask before proceeding:

Aspect Question Why
Platform iOS, Android, or both? Affects navigation, gestures, typography
Framework React Native, Flutter, or native? Determines performance and patterns
Navigation Tabs, stack, drawer? Core UX architecture
Offline Must it work offline? Data & sync strategy
Devices Phone only or tablet too? Layout & density rules
Audience Consumer, enterprise, accessibility needs? Touch & readability

🚫 Never default to your favorite stack or pattern.


3. Mandatory Reference Reading (Enforced)

Universal (Always Read First)

File Purpose Status
mobile-design-thinking.md Anti-memorization, context-forcing 🔴 REQUIRED FIRST
touch-psychology.md Fitts’ Law, thumb zones, gestures 🔴 REQUIRED
mobile-performance.md 60fps, memory, battery 🔴 REQUIRED
mobile-backend.md Offline sync, push, APIs 🔴 REQUIRED
mobile-testing.md Device & E2E testing 🔴 REQUIRED
mobile-debugging.md Native vs JS debugging 🔴 REQUIRED

Platform-Specific (Conditional)

Platform File
iOS platform-ios.md
Android platform-android.md
Cross-platform BOTH above

❌ If you haven’t read the platform file, you are not allowed to design UI.


4. AI Mobile Anti-Patterns (Hard Bans)

🚫 Performance Sins (Non-Negotiable)

❌ Never Why ✅ Always
ScrollView for long lists Memory explosion FlatList / FlashList / ListView.builder
Inline renderItem Re-renders all rows useCallback + memo
Index as key Reorder bugs Stable ID
JS-thread animations Jank Native driver / GPU
console.log in prod JS thread block Strip logs
No memoization Battery + perf drain React.memo / const widgets

🚫 Touch & UX Sins

❌ Never Why ✅ Always
Touch <44–48px Miss taps Min touch target
Gesture-only action Excludes users Button fallback
No loading state Feels broken Explicit feedback
No error recovery Dead end Retry + message
Ignore platform norms Muscle memory broken iOS ≠ Android

🚫 Security Sins

❌ Never Why ✅ Always
Tokens in AsyncStorage Easily stolen SecureStore / Keychain
Hardcoded secrets Reverse engineered Env + secure storage
No SSL pinning MITM risk Cert pinning
Log sensitive data PII leakage Never log secrets

5. Platform Unification vs Divergence Matrix

UNIFY                          DIVERGE
──────────────────────────     ─────────────────────────
Business logic                Navigation behavior
Data models                    Gestures
API contracts                  Icons
Validation                     Typography
Error semantics                Pickers / dialogs

Platform Defaults

Element iOS Android
Font SF Pro Roboto
Min touch 44pt 48dp
Back Edge swipe System back
Sheets Bottom sheet Dialog / sheet
Icons SF Symbols Material Icons

6. Mobile UX Psychology (Non-Optional)

Fitts’ Law (Touch Reality)

  • Finger ≠ cursor
  • Accuracy is low
  • Reach matters more than precision

Rules:

  • Primary CTAs live in thumb zone
  • Destructive actions pushed away
  • No hover assumptions

7. Performance Doctrine

React Native (Required Pattern)

const Row = React.memo(({ item }) => (
  <View><Text>{item.title}</Text></View>
));

const renderItem = useCallback(
  ({ item }) => <Row item={item} />,
  []
);

<FlatList
  data={items}
  renderItem={renderItem}
  keyExtractor={(i) => i.id}
  getItemLayout={(_, i) => ({
    length: ITEM_HEIGHT,
    offset: ITEM_HEIGHT * i,
    index: i,
  })}
/>

Flutter (Required Pattern)

class Item extends StatelessWidget {
  const Item({super.key});

  
  Widget build(BuildContext context) {
    return const Text('Static');
  }
}
  • const everywhere possible
  • Targeted rebuilds only

8. Mandatory Mobile Checkpoint

Before writing any code, you must complete this:

🧠 MOBILE CHECKPOINT

Platform:     ___________
Framework:    ___________
Files Read:   ___________

3 Principles I Will Apply:
1.
2.
3.

Anti-Patterns I Will Avoid:
1.
2.

❌ Cannot complete → go back and read.


9. Framework Decision Tree (Canonical)

Need OTA + web team → React Native + Expo
High-perf UI → Flutter
iOS only → SwiftUI
Android only → Compose

No debate without justification.


10. Release Readiness Checklist

Before Shipping

  • Touch targets ≥ 44–48px
  • Offline handled
  • Secure storage used
  • Lists optimized
  • Logs stripped
  • Tested on low-end devices
  • Accessibility labels present
  • MFRI ≥ 3

11. Related Skills

  • frontend-design – Visual systems & components
  • frontend-dev-guidelines – RN/TS architecture
  • backend-dev-guidelines – Mobile-safe APIs
  • error-tracking – Crash & performance telemetry

Final Law: Mobile users are distracted, interrupted, and impatient—often using one hand on a bad network with low battery. Design for that reality, or your app will fail quietly.


When to Use

This skill is applicable to execute the workflow or actions described in the overview.

how to use mobile-design

How to use mobile-design on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add mobile-design
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill mobile-design

The skills CLI fetches mobile-design from GitHub repository sickn33/antigravity-awesome-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/mobile-design

Reload or restart Cursor to activate mobile-design. Access the skill through slash commands (e.g., /mobile-design) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.533 reviews
  • Chinedu Zhang· Dec 28, 2024

    Useful defaults in mobile-design — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Shikha Mishra· Dec 16, 2024

    I recommend mobile-design for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Sophia Bhatia· Dec 16, 2024

    mobile-design has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Chinedu Gill· Dec 16, 2024

    Keeps context tight: mobile-design is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Meera Iyer· Dec 4, 2024

    mobile-design is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Maya Flores· Nov 23, 2024

    Keeps context tight: mobile-design is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Maya Garcia· Nov 19, 2024

    We added mobile-design from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Rahul Santra· Nov 7, 2024

    Solid pick for teams standardizing on skills: mobile-design is focused, and the summary matches what you get after install.

  • Zara Iyer· Nov 7, 2024

    mobile-design is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Pratham Ware· Oct 26, 2024

    mobile-design is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

showing 1-10 of 33

1 / 4