neo-swift-ui

Solid

Use this skill when building, debugging, refactoring, or reviewing SwiftUI apps or views for iOS 16+ and related Apple platforms. Trigger for NavigationStack, Observation/state flow, view composition, previews, performance, accessibility, and SwiftUI architecture.

Code & Development 7 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Modern SwiftUI (iOS 16+) Expert Skill ## Trigger On - The user asks to write, debug, refactor, or review SwiftUI code. - The target project version is iOS 16 or higher (utilizing features like `NavigationStack`, `Grid`, etc.). - Development involves state management (`@State`, `@Observable`), custom layouts, or animations. ## Workflow 1. **Perceive (Version and Environment Awareness):** - Confirm if the deployment target is iOS 16+. - Identify the current state management paradigm (traditional `ObservableObject` vs. modern `@Observable`). - Assess the usage of navigation components (check if deprecated `NavigationView` is still in use). 2. **Reason (Planning Phase):** - Plan the view hierarchy to maximize reusability and minimize redundant `body` computations. - Enforce the use of `NavigationStack` or `NavigationSplitView` for navigation needs. - Select the correct data flow tools based on data lifecycle (`State`, `Binding`, `Environment`). 3. **Act (Execution Phase):** - Follow SwiftUI core principles to write concise, declarative Swift code. - Use `Grid`, `ViewThatFits`, or custom `Layout` protocols to implement complex layouts. - Leverage modern modifiers (e.g., `.sheet` with `detents`). 4. **Validate (Standard Validation):** - Check for "God Views" (views with excessive logic or `body` content) and suggest splitting them. - Ensure `@State` and `@Binding` are used correctly to avoid unnecessary view refreshes. - Verify that the UI re...

Details

Author
Benknightdark
Repository
Benknightdark/neo-skills
Created
6 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

swiftui-expert

This skill should be used when the user is building, reviewing, or debugging SwiftUI/Swift code for iOS, macOS, or visionOS apps. It detects the project's iOS and Swift version and covers MV architecture (no per-screen ViewModels by default), @Observable state, NavigationStack typed routes, view lifecycle, Approachable Concurrency, persistence (SwiftData / Core Data / SQLiteData / GRDB), design tokens, selective Liquid Glass adoption, iOS and macOS platform capabilities, accessibility, performance with Instruments SwiftUI, and Swift Testing. Trigger phrases include "review my SwiftUI code", "my @State isn't updating", "should I adopt Liquid Glass", "fix my Swift concurrency warning", "set up SwiftData", "what should App.swift own", "ObservableObject to @Observable", "should I use MVVM in SwiftUI", "do I need TCA", and "AppKit or SwiftUI for my Mac app". For driving/screenshotting a RUNNING app use the peekaboo validator; for dead-code hunts use the dead-code plugin.

11 Updated yesterday
johnkozaris
Code & Development Solid

neo-swift

Use this skill when writing, reviewing, debugging, or modernizing Swift code for iOS, macOS, server-side Swift, or shared packages. Trigger for Swift 5+ language features, structured concurrency, memory safety, protocols/generics, SwiftUI integration, and performance-sensitive code.

7 Updated today
Benknightdark
Web & Frontend Listed

swiftui-expert

This skill should be used when the user is building, reviewing, or debugging SwiftUI views and apps. Detects iOS and Swift version from the project. Covers creating views, state management with @Observable, NavigationStack routing, animations, accessibility, performance optimization, Liquid Glass adoption, design systems, and clean code architecture. Use when the user asks things like "create a SwiftUI list view", "my @State isn't updating", "add navigation to my app", "make this accessible", "optimize SwiftUI performance", "add Liquid Glass to my toolbar", "fix my Swift concurrency warning", "set up SwiftData models", "critique my SwiftUI code", "fix my SwiftUI layout", "create a custom ViewModifier", or "add Dark Mode support".

4 Updated today
mathisk2095