app-stability
稳定性与崩溃治理
本技能提供 iOS 应用稳定性保障和崩溃预防的最佳实践。
核心原则
- 预防为主 - 通过代码质量减少崩溃
- 快速发现 - 完善的崩溃监控和上报
- 优雅降级 - 错误发生时不影响核心功能
- 线程安全 - 正确的并发处理
- 防御性编程 - 假设一切皆可能失败
崩溃类型与预防
常见崩溃类型
| 崩溃类型 | 原因 | 预防方案 |
More from creeveliu/ios-skills
objective-c-language
Objective-C language best practices. Use this skill whenever the user mentions Objective-C, ObjC, OC, working with legacy iOS code, ARC, Blocks, Categories, Protocols, Runtime, or Swift interoperability.
15swiftui-best-practices
How to build iOS interfaces using SwiftUI following best practices. Use this skill whenever the user mentions SwiftUI, building Swift UI, creating views with Swift, state management, @State/@Binding/@ObservedObject, ViewBuilder, or needs guidance on SwiftUI architecture, performance optimization, or UIKit interoperability.
13code-style-guide
iOS code style guide for Swift and Objective-C. Use this skill whenever the user mentions code style, formatting, naming conventions, code organization, Swift/Objective-C coding standards, indentation, comments, or needs to enforce consistent code quality across the project. This skill covers formatting rules, naming patterns, documentation standards, and file organization.
5uikit-best-practices
UIKit development best practices. Use this skill whenever the user mentions UIKit, UIViewController, Auto Layout, UITableView, UICollectionView, or needs guidance on iOS UI implementation using UIKit with Swift.
5user-experience
iOS user experience best practices. Use this skill whenever the user mentions UX, user experience, animations, haptic feedback, accessibility, localization, dark mode, or app polish.
4swift-language
Swift language best practices. Use this skill whenever the user mentions Swift programming, Swift syntax, memory management, async/await, generics, protocols, or needs guidance on writing idiomatic Swift code.
4