agentleFS
xiaobei930xiaobei930/cc-best/skills/native/SKILL.md

native

Skill48 starsChanged 10 months agoMITView on GitHub

Native app development strategies including iOS/macOS (Apple platforms), Tauri desktop apps. Use when developing native mobile or desktop applications.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. simota/agent-skills★ 87same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository21 other files it gives its agents.

The file

Files
SKILL.md

原生应用开发

本技能提供原生应用开发的策略选择指南,整合各平台特定的开发模式。

子文件

  • ios.md - iOS/macOS 开发指南
  • swift-concurrency.md - Swift 并发编程
  • swiftui-performance.md - SwiftUI 性能优化
  • tauri.md - Tauri 跨平台桌面应用开发

原生 vs 跨平台

维度原生开发跨平台 (Flutter/RN)
性能最佳接近原生
平台特性完全支持部分支持
开发成本各平台独立一套代码
维护成本较高较低
用户体验最佳良好

选择原生开发的场景:

  • 性能敏感应用(游戏、视频)
  • 深度平台集成(系统 API、硬件)
  • 追求极致用户体验
  • 团队有平台专业知识

平台概览

Apple 平台(iOS/macOS)

覆盖范围:iOS/iPadOS、macOS、watchOS/tvOS

技术栈:Swift 6.x、SwiftUI / UIKit、Xcode

详细指南参阅 ios.md

Android(未来)

覆盖范围:Android 手机/平板、Wear OS、Android TV

技术栈:Kotlin、Jetpack Compose / View、Android Studio

通用最佳实践

架构模式

模式iOSAndroid
MVVMSwiftUI + @ObservableCompose + ViewModel
Clean Architecture分层 + 协议分层 + 接口
依赖注入Swift DIHilt/Koin

性能优化

  1. 启动优化 - 延迟加载、预加载
  2. 内存管理 - 避免循环引用、及时释放
  3. UI 流畅 - 主线程保持响应、异步处理
  4. 电量优化 - 减少后台任务、优化网络请求

测试策略

层级覆盖内容
单元测试业务逻辑、ViewModel
集成测试网络层、数据层
UI 测试关键用户流程

记住:原生开发追求的是最佳的平台体验,选择原生意味着要深入理解平台特性。

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.