Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

mobile-developer移动开发者

Agent Skill

mobile-developer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,257

周安装

95

GitHub Stars

76

下载量

790
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mobile-developer(移动开发者)
来源仓库:https://github.com/404kidwiz/claude-supercode-skills
仓库路径:skills/mobile-developer
安装命令:
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill mobile-developer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill mobile-developer

简介

用于查找、检索和筛选移动开发相关信息。

  • 适合根据关键词或任务场景快速定位候选结果。
  • 可结合来源仓库 README 核验具体用法和功能范围。
  • 安装前建议确认权限范围和是否会触发联网操作。
  • 需注意维护状态和执行边界。mobile-developer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Native Mobile Developer

Purpose

Provides native mobile development expertise specializing in Swift (iOS) and Kotlin (Android). Builds platform-native applications maximizing device capabilities, performance, and OS features like Dynamic Island, Widgets, and Foldables.

When to Use

  • Building high-fidelity apps requiring 100% native performance
  • Implementing complex background services (Location tracking, Audio processing)
  • Developing SDKs or native modules for React Native/Flutter
  • Integrating heavily with system APIs (Siri, Shortcuts, HealthKit, Wallet)
  • Requiring zero-dependency architectures (Banking, Medical apps)
  • Adopting bleeding-edge OS features day-one (iOS 18 APIs)


2. Decision Framework

Native vs. KMP vs. Cross-Platform

Architecture Choice?
│
├─ **Pure Native (Swift/Kotlin)**
│  ├─ Needs deep system integration? → **Yes** (Best access)
│  ├─ Zero compromise UX? → **Yes** (Standard platform behavior)
│  └─ Team size? → **Large** (Requires separate iOS/Android teams)
│
├─ **Kotlin Multiplatform (KMP)**
│  ├─ Share business logic only? → **Yes** (Shared Domain/Data layer)
│  ├─ Native UI required? → **Yes** (SwiftUI on iOS, Compose on Android)
│  └─ Existing native app? → **Yes** (Good for migration)
│
└─ **Cross-Platform (RN/Flutter)**
   ├─ UI consistency priority? → **Yes** (Same UI on both)
   └─ Single codebase priority? → **Yes**

UI Framework Selection

PlatformFrameworkState of Tech (2026)Recommendation
iOSSwiftUIMature, Default choiceUse for 95% of new apps. Fallback to UIKit only for complex custom gestures/legacy.
iOSUIKitLegacy, StableMaintenance only, or wrapping old libs.
AndroidJetpack ComposeStandard, DefaultUse for 100% of new apps. XML is legacy.
AndroidXML / ViewLegacyMaintenance only.

Concurrency Model

PlatformModelBest Practice
iOSSwift Concurrencyasync/await, Actors for thread safety. Avoid GCD/closures.
AndroidKotlin Coroutinessuspend functions, Flow for streams. Dispatchers.IO for work.

Red Flags → Escalate to mobile-app-developer (Cross-platform):

  • Client has budget for only 1 developer but wants 2 apps
  • App is a simple form-based utility with no device hardware usage
  • Timeline is < 4 weeks for dual-platform launch


3. Core Workflows

Workflow 1: Modern iOS Architecture (SwiftUI + MVVM)

Goal: Build a scalable iOS app using Swift 6 concurrency and SwiftUI.

Steps:

  1. Project Setup

- Target: iOS 17.0+ (Aggressive adoption for modern APIs). - Swift Strict Concurrency Checking: Complete.

  1. ViewModel Definition (Observable) import SwiftUI import Observation @Observable class ProductListViewModel {var products: [Product] = [] var isLoading = false var error: Error? private let service: ProductService init(service: ProductService =.live) {self.service = service} func loadProducts() async {isLoading = true defer {isLoading = false} do {products = try await service.fetchProducts()} catch {self.error = error}}}
  2. View Implementation struct ProductListView: View {@State private var viewModel = ProductListViewModel() var body: some View {NavigationStack {List(viewModel.products) {product in ProductRow(product: product)}.overlay {if viewModel.isLoading {ProgressView()}}.task {await viewModel.loadProducts()}.navigationTitle("Products")}}}


Workflow 3: Kotlin Multiplatform (KMP) Setup

Goal: Share networking and database logic between iOS and Android.

Steps:

  1. Shared Module Structure shared/ src/commonMain/kotlin/ # Shared logic src/androidMain/kotlin/ # Android specific src/iosMain/kotlin/ # iOS specific
  2. Networking (Ktor) // commonMain class ApiClient {private val client = HttpClient {install(ContentNegotiation) {json(Json {ignoreUnknownKeys = true})}} suspend fun getData(): Data = client.get("...").body()}
  3. Consumption

- Android: Call ApiClient().getData() directly in ViewModel. - iOS: Call ApiClient().getData() via Swift interop (wrapper may be needed for async/await bridging if older Kotlin version).



5. Anti-Patterns & Gotchas

❌ Anti-Pattern 1: "Massive View Controller" (MVC)

What it looks like:

  • 3,000 line ViewController.swift files containing networking, logic, and UI code.

Why it fails:

  • Untestable.
  • Impossible to maintain.

Correct approach:

  • Use MVVM (Model-View-ViewModel) or TCA (The Composable Architecture) on iOS.
  • Use MVI (Model-View-Intent) or MVVM on Android.
  • Separate Logic from UI entirely.

❌ Anti-Pattern 2: Ignoring Lifecycle Events

What it looks like:

  • Starting a network request in onAppear but not cancelling it on onDisappear.
  • Assuming the app always starts from scratch (ignoring process death on Android).

Why it fails:

  • Memory leaks.
  • Crashes when background tasks try to update UI that no longer exists.
  • Data loss when Android kills the app to save memory.

Correct approach:

  • Use structured concurrency (.task in SwiftUI cancels auto).
  • Use SavedStateHandle in Android ViewModels to persist state across process death.

❌ Anti-Pattern 3: Blocking the Main Thread

What it looks like:

  • Decoding JSON or filtering a large list on the Main/UI thread.
  • Dropped frames (jank).

Why it fails:

  • App becomes unresponsive (ANR on Android).
  • Watchdog kills the app.

Correct approach:

  • Always move heavy work to background dispatchers (Dispatchers.Default / Task.detached).


Examples

Example 1: Enterprise Banking App Development

Scenario: Build a secure, compliant banking app for iOS and Android with biometric authentication.

Development Approach:

  1. Architecture: Clean Architecture with MVVM
  2. Authentication: Face ID/Touch ID integration with secure enclave
  3. Networking: Certificate pinning with retry logic
  4. Offline Support: Local encryption with periodic sync

Implementation Highlights:

// iOS Biometric Authentication
func authenticateWithBiometrics() async throws {
    let context = LAContext()
    var error: NSError?

    guard context.canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: &error) else {
        throw AuthenticationError.biometricsNotAvailable
    }

    do {
        let success = try await context.evaluatePolicy(
            .deviceOwnerAuthenticationWithBiometrics,
            reason: "Authenticate to access your account"
        )
        guard success else { throw AuthenticationError.authenticationFailed }
    } catch {
        throw AuthenticationError.authenticationFailed
    }
}

Results:

  • Released on both App Store and Play Store
  • 500,000+ downloads in first month
  • 4.9-star rating on both platforms
  • Zero security incidents in 2 years

Example 2: Healthcare App with HIPAA Compliance

Scenario: Develop a patient management app with strict HIPAA compliance requirements.

Compliance Implementation:

  1. Data Encryption: AES-256 encryption at rest
  2. Audit Logging: Complete audit trail of all data access
  3. Session Management: Auto-logout with configurable timeout
  4. Network Security: TLS 1.3 with certificate pinning

Android Implementation:

// Encrypted SharedPreferences
val masterKey = MasterKey.Builder(context)
    .setKeyScheme(MasterKey.KeyScheme.AES256_GCM)
    .build()

val encryptedPrefs = EncryptedSharedPreferences.create(
    context,
    "patient_data",
    masterKey,
    EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV,
    EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM
)

// Usage
encryptedPrefs.edit().putString("patient_id", "12345").apply()

Results:

  • HIPAA audit passed with zero critical findings
  • Integrated with 15+ healthcare systems
  • 99.9% uptime SLA achieved
  • FDA-compliant for medical device classification

Example 3: IoT Control App with BLE Integration

Scenario: Build a smart home control app integrating with IoT devices via Bluetooth Low Energy.

BLE Implementation:

  1. Device Discovery: Background scanning with filters
  2. Connection Management: Automatic reconnection with backoff
  3. Data Parsing: Protocol buffer deserialization
  4. Offline Control: Local command queue with sync

Architecture:

  • SwiftUI for iOS, Jetpack Compose for Android
  • Reactive state management with Combine/Flow
  • Background processing for BLE operations
  • Battery optimization with proper lifecycle handling

Results:

  • Supports 50+ device types
  • 50ms average response time
  • 40% better battery life than competitors
  • Featured in Apple Watch integration

Best Practices

Platform-Specific Development

  • iOS: Leverage SwiftUI for modern apps, use UIKit for complex animations
  • Android: Default to Compose, migrate from XML gradually
  • Navigation: Use NavigationPath (iOS) and NavHost (Android)
  • State Management: Observable (iOS), StateFlow (Android)

Performance Optimization

  • Lazy Loading: Defer image/resource loading until needed
  • Image Caching: Implement with memory and disk cache
  • Memory Management: Monitor memory pressure, use profiling tools
  • Battery Life: Minimize background operations, use batched updates

Security Implementation

  • Secure Storage: Keychain (iOS), EncryptedSharedPreferences (Android)
  • Network Security: Certificate pinning, TLS configuration
  • Input Validation: Sanitize all user inputs
  • Code Obfuscation: Enable ProGuard/R8 for release builds

Testing Strategy

  • Unit Tests: ViewModels, repositories, business logic
  • UI Tests: Critical user flows and interactions
  • Integration Tests: API calls, database operations
  • Performance Tests: Startup time, memory usage, scrolling performance

Distribution and Deployment

  • App Store: Follow Apple review guidelines, prepare metadata
  • Play Store: Optimize for Play Console features, testing tracks
  • Enterprise: Implement enterprise distribution certificates
  • Updates: Plan backward compatibility for major versions

Quality Checklist

Platform Standards:

  • iOS: Supports Dynamic Type (text scaling).
  • iOS: Supports Dark Mode seamlessly.
  • Android: Handles configuration changes (rotation) without data loss.
  • Android: Back navigation stack works correctly.
  • iOS: Supports iPad with adaptive layouts.
  • Android: Supports different screen sizes and densities.

Performance:

  • Scroll: Lists scroll at 60fps/120fps.
  • Memory: No retain cycles (iOS) or leaked Activities (Android).
  • Startup: App is usable within 2 seconds.
  • Network: Efficient batching and caching.

Architecture:

  • Separation: UI code contains NO business logic.
  • Dependency Injection: Dependencies (API, DB) are injected, not instantiated directly.
  • Testing: Unit tests exist for all ViewModels/Interactors.
  • Navigation: Deep linking support implemented.

Security:

  • Sensitive Data: Stored in Keychain/Keystore, NOT UserDefaults/SharedPreferences.
  • Networking: SSL Pinning enabled for sensitive endpoints.
  • Logs: No PII printed to console in release builds.
  • Authentication: Biometric or secure authentication implemented.
  • Compliance: Meets platform guidelines (App Store/Play Store).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.26%
按下载量换算239

OpenCode

23.57%
按下载量换算186

Codex

17.62%
按下载量换算139

Cursor

14.02%
按下载量换算111

Gemini CLI

8.71%
按下载量换算69

windsurf

3.88%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills