SwiftUI 技法精要

原名:swift-patterns

审查、重构或构建SwiftUI功能,需掌握正确的状态管理、现代API使用、最优视图组合、导航模式、性能优化与测试最佳实践。

分类
开发提效
版本
v1.0.0
作者
弈韬(@ra1nzzz)
下载
2
收藏
0
发布
2026-08-25
更新
2026-10-14
TRACE 评分
3.6 / 5

内容概览

Review, refactor, or build SwiftUI features with correct state management, modern API usage, optimal view composition, and performance-conscious patterns. Prioritize native APIs, Apple design guidance, and testable code structure. This skill focuses on facts and best practices without enforcing specific architectural patterns. → Read references/workflows-review.md for review methodology - Check state management against property wrapper selection (see references/state.md) - Verify view composition and extraction patterns (see references/view-composition.md) - Audit list performance and identity stability (see references/lists-collections.md) - Validate modern API usage (see references/modern-swiftui-apis.md) - Check async work patterns with .task (see references/concurrency.md) - Verify navigation implementation (see references/navigation.md) - Use Review Response Template (below) → Read …

查看 SKILL 详情