Community-maintained Agent Skills for complete Swift and Apple-platform app delivery.
72
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Medium
Suggest reviewing before use
Localize Apple-platform applications using String Catalogs (.xcstrings), compiler-generated symbols, locale-aware FormatStyle, and right-to-left (RTL) layout adaptation. Targets Swift 6.3 / iOS 26+.
String Catalogs are the standard format for Xcode localization. Xcode automatically extracts localizable strings from source code on every build:
// Automatically extracted as LocalizedStringKey in SwiftUI
Text("Welcome back")
Button("Save Changes") { }
Label("Account Settings", systemImage: "person.crop.circle")For non-view code, use generated symbols or String(localized:):
// Modern type-safe localized string
let message = String(localized: "order_confirmation_title", defaultValue: "Order Confirmed")LocalizedStringKey: Used across SwiftUI views (Text, Button). Evaluated lazily at view render time.LocalizedStringResource: Decoupled from SwiftUI. Ideal for passing localized strings across view models, models, or App Intents.String(localized:): Immediately materializes the localized String using the current locale.String Catalogs support Unicode plural rules (zero, one, two, few, many, other) and device-specific variations (iPhone, iPad, Mac) in the visual catalog editor without complex .stringsdict files:
// Single integer interpolation triggers plural variant support in String Catalogs
Text("\(unreadCount) unread messages")Never format currency, numbers, or dates with manual string concatenation. Always use FormatStyle:
// Currency formatting adhering to user locale
let priceString = amount.formatted(.currency(code: "USD"))
// Date and relative time formatting
let dateString = eventDate.formatted(date: .abbreviated, time: .shortened)
let relativeString = eventDate.formatted(.relative(presentation: .named)).imageScale or disable mirroring only when representing physical hardware orientation.%1$@).FormatStyle.leading/trailing.String(localized:) in static properties pins the language at launch, failing when the user switches language dynamically.s for counts fails across languages with complex plural rules (e.g. Russian, Arabic)..xcstrings) used for all new string localizationLocalizedStringResource used when passing localized strings from model layersFormatStyleleading and trailing.tessl-plugin
skills
accessorysetupkit
references
activitykit
adattributionkit
references
alarmkit
references
app-clips
app-intents
app-store-optimization
app-store-review
apple-on-device-ai
appmigrationkit
audioaccessorykit
references
authentication
references
avfoundation-audio
references
avkit
background-processing
references
browserenginekit
callkit
references
carplay
cloudkit
contacts-framework
references
core-bluetooth
references
core-data
core-haptics
references
core-motion
references
core-nfc
references
coreml
references
cryptokit
cryptotokenkit
debugging-instruments
device-integrity
references
energykit
references
eventkit
family-controls
references
financekit
focus-engine
gamekit
git-branching-workflow
references
healthkit
references
homekit
references
ios-accessibility
ios-app-workflow
references
ios-ettrace-performance
ios-localization
ios-memgraph-analysis
ios-networking
ios-simulator
references
metrickit
references
musickit
references
natural-language
paperkit
references
passkit
references
pdfkit
pencilkit
references
permissionkit
references
photokit
push-notifications
quicklook
references
realitykit
references
relevancekit
references
scenekit
sensorkit
shazamkit
references
speech-recognition
references
spritekit
storekit
swift-api-design-guidelines
swift-architecture
references
swift-charts
swift-codable
references
swift-code-review
swift-concurrency
swift-formatstyle
references
swift-language
swift-security
references
swift-testing
swiftdata
swiftlint
swiftui-animation
swiftui-gestures
references
swiftui-layout-components
swiftui-liquid-glass
references
swiftui-patterns
swiftui-performance
swiftui-responsive-layout
swiftui-uikit-interop
swiftui-webkit
tabletopkit
tipkit
vision-framework
weatherkit
references