agentleFS
AdhamxonAdhamxon/claude-code-skills/.claude/skills/mobile-development/SKILL.md

mobile-development

Skill2 starsChanged 4 months agoMITView on GitHub

Mobile Development — React Native (Expo), Flutter, cross-platform strategies, mobile UI/UX, testing, CI/CD, performance, security, app store deployment. Use when building mobile apps for iOS/Android.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ui-ux-pro-max.

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.
  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 3 projects that use this

The file

Files
SKILL.md

Mobile Development Skill

React Native (Expo)

Setup

npx create-expo-app@latest MyApp --template blank-typescript
npx expo install expo-router nativewind

Navigation (Expo Router)

// app/(tabs)/index.tsx
import { Link } from 'expo-router';
export default function Home() {
  return <Link href="/profile/123">View Profile</Link>;
}

State (Zustand)

import { create } from 'zustand';
export const useAuth = create<{user: any; login: (email: string, pw: string) => void}>((set) => ({
  user: null,
  login: async (email, pw) => set({ user: await api.login(email, pw) }),
}));

Offline (WatermelonDB)

import { Model } from '@nozbe/watermelondb';
import { field } from '@nozbe/watermelondb/decorators';
export default class Post extends Model {
  static table = 'posts';
  @field('title') title!: string;
  @field('body') body!: string;
}

Push Notifications

import * as Notifications from 'expo-notifications';
const token = (await Notifications.getExpoPushTokenAsync()).data;

Flutter

Setup

flutter create my_app
cd my_app && flutter pub add riverpod go_router

State (Riverpod)

@riverpod
class Counter extends _$Counter {
  @override
  int build() => 0;
  void increment() => state++;
}
// Usage: ref.watch(counterProvider)

Navigation (GoRouter)

final router = GoRouter(routes: [
  GoRoute(path: '/', builder: (_, __) => HomeScreen()),
  GoRoute(path: '/profile/:id', builder: (_, state) => 
    ProfileScreen(id: state.pathParameters['id']!)),
]);

Cross-Platform Best Practices

  • Code sharing: Feature-based architecture, shared business logic
  • Platform-specific: .ios.tsx / .android.tsx file extensions
  • Build: EAS Build (Expo), Codemagic, Fastlane
  • Analytics: Firebase Analytics, Amplitude, Mixpanel

Mobile Testing

TypeReact NativeFlutter
UnitJest + Testing Libraryflutter_test
ComponentReact Native Testing LibraryWidget tests
E2EDetox, Maestrointegration_test
VisualPercy (App)Alchemist

Mobile CI/CD (EAS)

# eas.json
{
  "build": {
    "production": {
      "android": { "buildType": "app-bundle" },
      "ios": { "autoIncrement": true }
    }
  },
  "submit": {
    "production": {
      "ios": { "appleId": "...", "ascAppId": "..." },
      "android": { "track": "production" }
    }
  }
}

Performance Checklist

  • App startup < 2s (lazy load non-critical modules)
  • List virtualization (FlashList, FlatList windowing)
  • Image optimization (WebP, resize on upload, progressive loading)
  • Bundle size < 50MB (code splitting, asset optimization)
  • Memory profiling (no leaks, proper cleanup)
  • Network caching (react-native-mmkv, flutter_cache_store)

Security (OWASP Mobile Top 10)

  • M1: Improper platform usage — use OS APIs correctly
  • M2: Insecure data storage — Keychain/Keystore, encrypted shared prefs
  • M3: Insecure communication — SSL pinning, HTTPS only
  • M4: Insecure auth — Biometric + device attestation
  • M5: Insufficient cryptography — Use platform CryptoKit/ Security framework
  • M6: Client code quality — Input validation, error handling
  • M7: Code tampering — Code obfuscation, integrity checks
  • M8: Reverse engineering — ProGuard/DexGuard (Android), obfuscation (iOS)
  • M9: Extraneous functionality — Remove debug code, disable dev menus
  • M10: Insecure WebView — No JavaScript if not needed, validate URLs

App Store Deployment

  • iOS: TestFlight → App Review → App Store Connect
  • Android: Internal Testing → Closed/Open Track → Production
  • ASO: Keywords, screenshots, ratings, reviews, app description
  • Versioning: Semantic (iOS CFBundleVersion), versionCode increment (Android)

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.