From cc-best
Provides strategies and guides for native iOS/macOS app development with Swift/SwiftUI and Tauri desktop apps, including architecture, performance optimization, and testing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cc-best:nativeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
本技能提供原生应用开发的策略选择指南,整合各平台特定的开发模式。
本技能提供原生应用开发的策略选择指南,整合各平台特定的开发模式。
| 维度 | 原生开发 | 跨平台 (Flutter/RN) |
|---|---|---|
| 性能 | 最佳 | 接近原生 |
| 平台特性 | 完全支持 | 部分支持 |
| 开发成本 | 各平台独立 | 一套代码 |
| 维护成本 | 较高 | 较低 |
| 用户体验 | 最佳 | 良好 |
选择原生开发的场景:
覆盖范围:iOS/iPadOS、macOS、watchOS/tvOS
技术栈:Swift 6.x、SwiftUI / UIKit、Xcode
详细指南参阅 ios.md
覆盖范围:Android 手机/平板、Wear OS、Android TV
技术栈:Kotlin、Jetpack Compose / View、Android Studio
| 模式 | iOS | Android |
|---|---|---|
| MVVM | SwiftUI + @Observable | Compose + ViewModel |
| Clean Architecture | 分层 + 协议 | 分层 + 接口 |
| 依赖注入 | Swift DI | Hilt/Koin |
| 层级 | 覆盖内容 |
|---|---|
| 单元测试 | 业务逻辑、ViewModel |
| 集成测试 | 网络层、数据层 |
| UI 测试 | 关键用户流程 |
记住:原生开发追求的是最佳的平台体验,选择原生意味着要深入理解平台特性。
npx claudepluginhub xiaobei930/cc-best --plugin cc-bestDevelops React Native, Flutter, and native iOS/Android mobile apps using modern architecture patterns, cross-platform strategies, native integrations, offline sync, and app store optimization.
Develops React Native, Flutter, and native mobile apps with modern architecture, performance optimization, offline sync, and app store deployment.
Configures Tauri v2 to package web frontends as native Android, Windows, macOS, and Linux apps. Handles builds, permissions, and native features like notifications and file system.