一键导入
ios
Architecture, SwiftUI, View architecture, and DI rules for iOS apps.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Architecture, SwiftUI, View architecture, and DI rules for iOS apps.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Git Worktree: parallel working trees for isolated branch-level execution, debugging, and safe experimentation.
Durable project-memory rules for `.agent-memory/` plus session-memory boundaries.
Review routing, independent post-implementation review gates, multi-model escalation, and targeted optimization follow-up.
Planning-track selection, epic/feature decomposition, readiness gates, and plan-delta rules.
Architecture, Jetpack Compose, Navigation3 KMP, and Koin DI rules for Android apps.
Practical rules for designing, evolving, and integrating APIs safely.
| name | ios |
| description | Architecture, SwiftUI, View architecture, and DI rules for iOS apps. |
| user-invocable | false |
Use this skill for iOS work built with SwiftUI, Swift Concurrency, and unidirectional state flow.
func send(_ event: Event) pattern). Events flow up.<Name>Screen or <Name>Coordinator: Handles Environment injection, Navigation, and connects the ViewModel (or Reducer) to the UI.<Name>View: A completely pure, stateless (or strictly internal view-state) SwiftUI View that accepts data via inputs and emits events via closures..task or .onAppear inside the View struct.@Observable ViewModel or TCA Reducer.View structs must be implicitly or explicitly @MainActor isolated.Task { } without understanding the actor context; use .task { } modifiers tied to view lifecycle.private or fileprivate if they are only used within a single screen.#Preview blocks for every distinct state of the View (loading, error, success).some View or separate View structs.Void.private.@Observable macro exclusively. Do NOT use legacy ObservableObject, @Published, or Combine bindings for State management unless interacting with legacy code.init.Environment (@Environment) ONLY for UI-specific dependencies (like formatters, themes, or global view routers), NOT for Repositories or UseCases.