Install this skill
npx skills add sickn33/antigravity-awesome-skillsWorks across Claude Code, Cursor, Codex, Copilot & Antigravity
What this skill does
- β’Enforces a Mobile Feasibility & Risk Index (MFRI) to score architectural complexity
- β’Mandates platform-specific validation for iOS, Android, or cross-platform targets
- β’Provides deep integration with touch psychology and mobile interaction patterns
- β’Strictly forbids performance-draining anti-patterns like unoptimized long lists or heavy inline rendering
- β’Requires adherence to offline-first synchronization logic
When to use it
- βBefore initiating the development of any new mobile screen or feature
- βWhen refactoring performance-heavy lists or complex state management
- βWhen establishing the foundation of a mobile architecture for React Native or Flutter
- βDuring the design phase of mobile navigation flows to ensure platform consistency
When not to use it
- βFor standard desktop web application development
- βWhen the primary goal is prototyping generic browser-based interfaces without mobile performance requirements
How to invoke it
Example prompts that trigger this skill:
- βAssess the feasibility of this feature using the mobile design system frameworkβ
- βBefore we write any code, run an MFRI score on this navigation flowβ
- βReview my component implementation against the touch-psychology and mobile-performance guidelinesβ
- βCheck these screen requirements for common mobile anti-patterns before generating the scaffoldβ
- βApply the mobile design system constraints to this login screen implementationβ
Example workflow
- Invoke the skill to perform an MFRI assessment on a proposed mobile feature
- Define platform targets (iOS/Android) and interaction complexity constraints
- The agent verifies the proposed stack against mandatory performance checklists
- The agent generates component code using memoization and virtualized lists
- Final validation check against native-specific platform guidelines
Pitfalls & limitations
- !The MFRI scoring can be subjective if the agent lacks sufficient context on user requirements
- !Strict adherence may slow down rapid prototyping cycles
- !Over-reliance on the library docs without individual critical thought may lead to rigid UI structures
FAQ
How it compares
Unlike generic prompts that might suggest desktop-centric CSS or heavy DOM structures, this skill enforces mobile-specific technical constraints and mandatory peer-review-style checklists.
Source & trust
From the source: β# 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 β¦β
View the full SKILL.md source
# 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)
```ts
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)
```dart
class Item extends StatelessWidget {
const Item({super.key});
@override
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.
## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Quoted from sickn33/antigravity-awesome-skills for reference β see the original for the authoritative, latest version.
π Full skill instructions β original source: sickn33/antigravity-awesome-skills
How to Use This Skill Unit
Option A: Project-Specific (Recommended)
- Click "Download" above
- In your project, create the directory:
.agent/skills/mobile-design/ - Save the file as
SKILL.md - The agent will automatically discover the skill based on its description.
Option B: Global Installation (All Agents)
Save the file to these locations to make it available across all projects:
- Claude Code:
~/.claude/skills/sickn33/antigravity-awesome-skills/mobile-design/SKILL.md - Cursor:
~/.cursor/skills/sickn33/antigravity-awesome-skills/mobile-design/SKILL.md - Antigravity:
~/.gemini/antigravity/skills/sickn33/antigravity-awesome-skills/mobile-design/SKILL.md
π Install with CLI:npx skills add sickn33/antigravity-awesome-skills
