com um clique
swiftui-patterns
Patterns for SwiftUI apps using MVVM and `@Observable` (iOS 17+).
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Patterns for SwiftUI apps using MVVM and `@Observable` (iOS 17+).
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Backend testing patterns — API request construction, response verification, database state checks, error handling testing, and adaptive tool detection.
Frontend testing patterns using Playwright — navigation, interaction, assertions, screenshots on failure, and common UI testing scenarios.
Test report format with QA-XXX issue IDs compatible with code-review plugin. Defines report structure, severity levels, issue format with canonical fields, and detailed results.
Test plan structure, naming conventions, edge case generation rules, and file saving conventions for QA test plans.
Enforces AppVerk Swift coding standards across all code.
Structured concurrency and thread safety patterns in modern Swift.
| name | swiftui-patterns |
| description | Patterns for SwiftUI apps using MVVM and `@Observable` (iOS 17+). |
| activation | Load when writing or reviewing SwiftUI views, state management, or UI code |
Patterns for SwiftUI apps using MVVM and @Observable (iOS 17+).
@Observable class holding business logic and derived state.struct value types. Immutable where possible.@Observable class — default for ViewModels. Properties are automatically tracked.@State — for ephemeral local View state only.@Binding — for two-way parent-child communication.@Environment / @EnvironmentValue — for global/shared dependencies (theme, analytics container).@ObservedObject and @StateObject are intentionally not covered by this skill.onAppear: one-time setup.task: preferred over onAppear + manual Task {} for async work. Auto-cancels on disappearance.onChange: react to specific value changes. Use with care to avoid infinite loops.#Preview macro. Include meaningful sample data.