clerk-swift

Installation
Summary

Native Swift/iOS authentication using ClerkKit with prebuilt or custom auth flows.

  • Supports two implementation modes: prebuilt AuthView components 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/environment call after package install to determine feature availability (for example Apple Sign In support) based on ClerkKitUI environment field inspection
  • Quickstart compliance is enforced: reads installed clerk-ios package 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
SKILL.md

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 |

Related skills
Installs
2.3K
Repository
clerk/skills
GitHub Stars
40
First Seen
Mar 2, 2026