swiftui-view-refactor
Dimillian · Development
重构和审查SwiftUI视图文件,确保结构一致、依赖注入合理、Observation使用规范。当要求清理SwiftUI视图的布局/顺序、安全处理视图模型(尽可能非可选)、或统一依赖和@Observable状态的初始化与传递方式时使用。
Refactor and review SwiftUI view files for consistent structure, dependency injection, and Observation usage. Use when asked to clean up a SwiftUI view’s layout/ordering, handle view models safely (non-optional when possible), or standardize how dependencies and @Observable state are initialized and passed.
npx skills add https://github.com/Dimillian/Skills --skill swiftui-view-refactor
星标 3670 · 安装量 0