clerk 是做什么的?
Clerk 身份验证路由器。当用户询问添加身份验证、设置 Clerk、自定义登录流程、Swift 或原生 iOS 身份验证、原生 Android 身份验证、Next.js 模式、React 模式、Vue 模式、Nuxt 模式、Astro 模式、TanStack Start 模式、Expo 模式、React Router 模式、Chrome 扩展模式、组织、计费、订阅、支付、定价、套餐、基于座位的定价、功能权限、同步用户或测试时使用。会根据任务自动路由到特定的技能。
Clerk 身份验证路由器。当用户询问添加身份验证、设置 Clerk、自定义登录流程、Swift 或原生 iOS 身份验证、原生 Android 身份验证、Next.js 模式、React 模式、Vue 模式、Nuxt 模式、Astro 模式、TanStack Start 模式、Expo 模式、React Router 模式、Chrome 扩展模式、组织、计费、订阅、支付、定价、套餐、基于座位的定价、功能权限、同步用户或测试时使用。会根据任务自动路由到特定的技能。
clerk/clerk 技能是一个智能路由器,专为在 AI 编码助手(如 Claude Code、Cursor 或 Codex)中处理与 Clerk 身份验证相关的各类任务而设计。当用户提出身份验证、用户管理、计费或组织相关问题时,该技能会自动将任务路由到最合适的子技能或处理模块,无需用户手动指定具体方向。它支持广泛的前端框架和平台模式,包括 Next.js、React、Vue、Nuxt、Astro、TanStack Start、Expo、React Router 以及原生 iOS (Swift) 和 Android 环境。此外,它还涵盖高级功能如组织管理、计费系统、基于座位的定价、订阅管理、功能权限和用户同步。通过自动路由,该技能简化了开发流程,确保开发者在不同框架和场景下都能获得最相关、最准确的指导,从而快速集成和使用 Clerk 的强大身份验证功能。
npx skills add https://github.com/clerk/skills/tree/main/skills/clerkInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
Clerk 身份验证路由器。当用户询问添加身份验证、设置 Clerk、自定义登录流程、Swift 或原生 iOS 身份验证、原生 Android 身份验证、Next.js 模式、React 模式、Vue 模式、Nuxt 模式、Astro 模式、TanStack Start 模式、Expo 模式、React Router 模式、Chrome 扩展模式、组织、计费、订阅、支付、定价、套餐、基于座位的定价、功能权限、同步用户或测试时使用。会根据任务自动路由到特定的技能。
This repo contains 19 individual skills — each has its own dedicated page.
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.
Astro patterns with Clerk — middleware, SSR pages, island components, API routes, static vs SSR rendering. Triggers on: astro clerk, clerk astro middleware, astro protected page, clerk island component, astro API route auth, clerk astro SSR.
Clerk Backend REST API explorer and executor. Browse tags, inspect endpoint schemas, and execute authenticated requests. Use when listing users, managing organizations, or calling any Clerk API endpoint.
Clerk Billing for subscription management - render Clerk's PricingTable and in-app checkout drawer, configure subscription plans, seat-limit plans for B2B, feature entitlements with has(), and billing webhooks. Use for SaaS monetization, plan gating, checkout flows, trials, invoicing, and subscription lifecycle management.
Chrome Extension auth with @clerk/chrome-extension -- popup/sidepanel setup, syncHost for OAuth/SAML via web app, createClerkClient for service workers and headless extensions, stable CRX ID. Triggers on: Chrome extension auth, Plasmo clerk, popup sign-in, syncHost, background service worker token, createClerkClient, headless extension.
Custom authentication flows and component appearance - hooks (useSignIn, useSignUp), themes, colors, fonts, CSS. Use for custom sign-in/sign-up flows, appearance styling, visual customization, branding.
Implement Clerk authentication for Expo and React Native apps using @clerk/expo source-guided patterns. Use for prebuilt AuthView/UserButton or custom hook-driven auth flows. Do not use for native iOS/Swift, native Android/Kotlin, or web framework projects.
Expo / React Native patterns with Clerk — SecureStore token cache, OAuth deep linking, useAuth in native, Expo Router protected routes, push notifications with user context. Triggers on: expo clerk, clerk react native, SecureStore token cache, expo router auth, OAuth deep link clerk, mobile auth clerk.
Advanced Next.js patterns - middleware, Server Actions, caching with Clerk.
Nuxt 3 auth patterns with @clerk/nuxt - middleware, composables, server API routes, SSR. Triggers on: Nuxt auth, useAuth composable, clerkMiddleware Nuxt, server API Clerk, Nuxt route protection.
Clerk Organizations for B2B SaaS - create multi-tenant apps with org switching, role-based access, verified domains, and enterprise SSO. Use for team workspaces, RBAC, org-based routing, member management.
React SPA auth patterns with @clerk/react for Vite/CRA - ClerkProvider setup, useAuth/useUser/useClerk hooks, React Router protected routes, custom sign-in flows. Triggers on: Vite Clerk setup, React Router auth, useAuth hook, protected route, custom sign-in form React.
React Router v7 patterns with Clerk — rootAuthLoader, getAuth in loaders, clerkMiddleware, protected routes, SSR user data, org switching. Triggers on: react-router auth, rootAuthLoader, getAuth loader, react-router protected route, loader authentication, SSR auth react-router.
Add Clerk authentication to any project by following the official quickstart guides.
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.
TanStack React Start auth patterns with @clerk/tanstack-react-start - createServerFn, beforeLoad guards, loaders, Vinxi server. Triggers on: TanStack auth, createServerFn clerk, beforeLoad protection, TanStack Start middleware.
E2E testing for Clerk apps. Use with Playwright or Cypress for auth flow tests.
Vue 3 patterns with Clerk — composables (useAuth, useUser, useClerk, useOrganization), Vue Router guards, Pinia auth store integration. Triggers on: vue clerk, useAuth vue, clerk composables, vue router clerk guard, pinia auth clerk. For Nuxt, use clerk-nuxt-patterns instead.
Clerk webhooks for real-time events and data syncing. Verify with verifyWebhook from the framework-specific package. Handle user, session, organization, billing, and payment events. Build event-driven features like database sync, notifications, and integrations.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.