clerk-swift
Native Swift/iOS authentication using ClerkKit with prebuilt or custom auth flows.
- Supports two implementation modes: prebuilt
AuthViewcomponents or fully custom native flows, selected based on project requirements - Requires direct wiring of a valid Clerk publishable key in app configuration; does not use plist or environment file indirection by default
- Mandatory
/v1/environmentcall after package install to determine feature availability (for example Apple Sign In support) based onClerkKitUIenvironment field inspection - Quickstart compliance is enforced: reads installed
clerk-iospackage README to locate and audit all required setup steps, including Associated Domains capability (webcredentials:{YOUR_FRONTEND_API_URL}) - Not compatible with Expo or React Native projects; routes to general setup skill if detected
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 |
More from clerk/skills
clerk-nextjs-patterns
Advanced Next.js patterns - middleware, Server Actions, caching with
11.2Kclerk
Clerk authentication router. Use when user asks about adding authentication,
7.8Kclerk-setup
Add Clerk authentication to any project by following the official quickstart
7.0Kclerk-custom-ui
Custom authentication flows and component appearance - hooks (useSignIn,
6.7Kclerk-webhooks
Clerk webhooks for real-time events and data syncing. Verify with verifyWebhook
6.1Kclerk-testing
E2E testing for Clerk apps. Use with Playwright or Cypress for auth flow
5.8K