clerk-android
Implement Clerk authentication for native Android apps using Kotlin and Jetpack Compose with clerk-android source-guided patterns. Use for prebuilt AuthView/UserButton or custom API-driven auth flows. Do not use for Expo or React Native projects.
Security Assessment
About clerk-android
The clerk-android skill provides implementation guidance for integrating Clerk authentication into native Android applications built with Kotlin and Jetpack Compose. It is designed specifically for projects using the `clerk-android` SDK and helps developers follow current source-guided integration patterns instead of relying on outdated or hardcoded examples. The skill focuses on ensuring proper Android-native authentication setup, including SDK initialization, publishable key configuration, dependency installation, and compatibility verification. It explicitly excludes Expo and React Native environments, helping developers avoid applying incorrect mobile authentication workflows to unsupported project types.
The skill supports two primary authentication approaches: prebuilt UI flows using AuthView and UserButton components, and custom API-driven authentication flows for teams that require full control over the user experience. It includes activation rules to detect whether a project is a native Android application, structured decision trees to determine the correct implementation path, and source-driven guidance that references official Clerk Android documentation and SDK patterns. The skill also enforces an interaction contract requiring both a valid Clerk publishable key and a selected flow type before implementation work begins.
This skill is intended for Android developers, mobile engineers, and technical teams implementing authentication in native Android applications. It is particularly useful for projects using Android Studio, Jetpack Compose, and Kotlin-based architectures where developers want either rapid integration through prebuilt authentication UI or advanced customization through API-driven flows. Teams maintaining production-grade Android applications can use this skill to ensure Clerk integrations follow current SDK standards and recommended setup practices.
FAQ
Does this skill support React Native or Expo projects?
No. This skill is intended only for native Android applications built with Kotlin and Jetpack Compose. Expo and React Native projects should use a different setup approach.
What authentication flows are supported?
The skill supports two flows: prebuilt authentication using AuthView and UserButton components, and custom API-driven authentication flows for full UI and logic control.
What information is required before implementation can begin?
A valid Clerk publishable key and a selected flow type (`prebuilt` or `custom`) are required before implementation steps, dependency installation, or file edits should occur.
What Android environment is expected for this skill?
The skill expects a native Android project using Android Studio with the required `clerk-android` Gradle dependencies and compatible Android project structure.
Can prebuilt and custom flows be combined in one implementation?
The documentation recommends using only one flow reference at a time unless the developer explicitly requests a hybrid implementation approach.
Install clerk-android
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
clerk/skills