← ClaudeAtlas

clerk-swiftlisted

Implement Clerk authentication for native Swift and iOS apps using ClerkKit and ClerkKitUI source-guided patterns. Use for prebuilt AuthView or custom native flows. Do not use for Expo or React Native projects.
FJRG2007/enigma · ★ 2 · Web & Frontend · score 72
Install: claude install-skill FJRG2007/enigma
# Clerk Swift (Native iOS) This skill implements Clerk in native Swift/iOS projects by reading installed package source and mirroring current ClerkKit/ClerkKitUI behavior. ## Activation Rules Activate this skill when either condition is true: - The user explicitly asks for Swift, SwiftUI, UIKit, or native iOS Clerk implementation. - The project appears to be native iOS/Swift (for example `.xcodeproj`, `.xcworkspace`, `Package.swift`, Swift targets). Do not activate this skill when either condition is true: - The project is Expo. - The project is React Native. If Expo/React Native signals are present, route to the general setup skill instead of this one. ## What Do You Need? | Task | Reference | |------|-----------| | Prebuilt AuthView / UserButton (fastest) | references/prebuilt.md | | Custom API-driven auth flows (full control) | references/custom.md | ## Quick Start | Step | Action | |------|--------| | 1 | Confirm project type is native Swift/iOS and not Expo/React Native | | 2 | Determine flow type (`prebuilt` or `custom`) and load the matching reference file | | 3 | Ensure a valid publishable key exists (or ask developer) and wire it directly in configuration | | 4 | Ensure `clerk-ios` package is installed with correct products for selected flow; if missing, install latest available release using an up-to-next-major version requirement | | 5 | Inspect installed `ClerkKitUI` source to identify which `Environment` fields drive feature/step gating | | 6 | Call `/v1