SwiftUI App Patterns
Keeps a SwiftUI app translated and consistent, and fixes date, preview and sheet bugs before they ship.
Claude's review
7/10 Specific SwiftUI conventions with real traps such as ISO8601 fractional seconds, list section spacing and the iOS 18 keyboard toolbar bug.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Use when building iOS/macOS apps with SwiftUI — covers localization (String Catalogs), date/time formatting, JSON date decoding, Previews, state management, sheet/navigation, list spacing, and animation patterns.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: ios-patterns
description: Use when building iOS/macOS apps with SwiftUI — covers localization (String Catalogs), date/time formatting, JSON date decoding, Previews, state management, sheet/navigation, list spacing, and animation patterns.
allowed-tools: Read, Write, Edit, Bash, Grep, Glob
---
# iOS SwiftUI Patterns
A collection of SwiftUI conventions that keep code consistent, localizable,
and resilient to edge cases. Apply these patterns to any iOS/macOS SwiftUI
project. See `references/` for in-depth guides.
## 1. Localization (i18n)
Use **String Catalog** (`.xcstrings`) — not `Localizable.strings` — for all
user-facing text. Reference: `references/i18n-guide.md`.
```swift
// In a View: LocalizedStringKey is inferred
Text("welcome_message")
Text("greeting \(username)")
// In a ViewModel or non-View context, use String(localized:)
let message = String(localized: "error_network")
let formatted = String(localized: "items_count \(count)")
```
### Key naming
Use `snake_case`, grouped by feature: `home_title`, `settings_notification_enabled`,
`error_network_unavailable`. Embed parameters in the key:
`"profile_welcome \(name)"`, `"cart_items_count \(count)"`.
### Avoid
```swift
Text("Welcome") // ❌ hard-coded
let title: LocalizedStringKey = "welcome" // ❌ only works in Views
let title = String(localized: "welcome") // ✅ works anywhere
```
...From hanamizuki's repository, MIT licence.
Related skills
-
Checked
Android Gradle Plugin upgrade
Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.
8/101 credit -
Checked
CocoaPods to SwiftPM
Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.
8/101 credit -
Checked
Kotlin Native build speed
Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.
7/101 credit -
Checked
SwiftUI Liquid Glass
Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.
7/101 credit -
Checked
Native Mobile App Design
Designs Expo and React Native screens that feel truly native, with proper navigation, motion and dark mode.
7/101 credit -
Checked
EAS cloud simulators
Runs your app on Expo's cloud iOS and Android simulators, so you can test without a local simulator.
7/101 credit