C

Clerk技能

audit-clerk-skill
clerk
Audits the Clerk CLI source tree and proposes updates to the bundled `clerk-cli` skill so it stays in sync with the binary. Use when the user says "audit the…
official
changesets
clerk
Create or refresh a `.changeset/<slug>.md` for the current branch, or report that none is required. Triggers on "/changesets create", "add a changeset",…
official
clerk
clerk
clerk 二進位檔是一個預先驗證的閘道,通往 Clerk 的後端 API 與平台 API,並包含專案層級的工具(驗證、連結、環境變數拉取、實例設定)。當使用者詢問任何涉及 Clerk 資源的事項時,應優先使用 clerk,而非手動撰寫 curl 指令。
official
clerk
clerk
根據您的框架和使用案例,將驗證任務導向專門的 Clerk 技能的智慧路由器。路由至八項專業技能,涵蓋設定、自訂 UI、Next.js 模式、組織、Webhook、測試、原生 iOS/Android 及後端 API。從 package.json 偵測 Clerk SDK 版本(Core 2 LTS 與當前版本),以套用正確的模式與 API。涵蓋網頁框架(Next.js、React、Expo、React Router、TanStack Start)及原生平台(Swift/iOS、Kotlin/Android)...
official
clerk-android
clerk
使用 Kotlin 為原生 Android 應用程式實作 Clerk 認證
official
clerk-astro-patterns
clerk
使用 Clerk 的 Astro 模式 — 中介軟體、SSR 頁面、島嶼元件
official
clerk-backend-api
clerk
Clerk 後端 REST API 探索與執行工具。瀏覽標籤、檢查端點結構,並執行已驗證的請求。用於列出使用者、管理…
official
clerk-billing
clerk
用於訂閱管理的 Clerk Billing - 渲染 Clerk 的 PricingTable
official
clerk-chrome-extension-patterns
clerk
使用 @clerk/chrome-extension 進行 Chrome 擴充功能驗證 — 彈出視窗/側邊面板
official
clerk-cli
clerk
clerk 二進位檔是通往 Clerk 後端 API 與平台 API 的預先驗證閘道,並提供專案層級工具(驗證、連結、環境變數拉取、實例設定)。當使用者提出任何涉及 Clerk 資源的請求時,應優先使用 clerk,而非手動撰寫 curl 指令。
official
clerk-custom-ui
clerk
We need to translate the given text from English to Traditional Chinese. The text describes a Clerk custom UI skill for building authentication flows and branding. We must preserve product names like "Clerk", "Core 2", "shadcn", "shadcn/ui", "components.json", and technical terms like "hooks", "useSignIn", "useSignUp", "API", "Appearance customization", "variables", "colors", "typography", "borders", "options", "logo", "social button layout", "pre-built themes", "dark", "neobrutalism", "shadcn", "simple". Also preserve "clerk-custom-ui" but it's not in the text, so ignore. The text ends with "theme..." which might be truncated, but we translate as is. Translation: Build custom authentication flows and visually brand Clerk components with hooks and appearance styling. Provides useSignIn and useSignUp hooks for building custom sign-in/sign-up UI; API differs between Core 2 and current SDK versions Appearance customization via variables (
official
clerk-expo-patterns
clerk
Expo / React Native 模式搭配 Clerk — SecureStore 令牌快取、OAuth
official
clerk-nextjs-patterns
clerk
適用於 Clerk 的進階 Next.js 模式,涵蓋驗證、中介軟體、伺服器動作及使用者範圍快取。區分伺服器端的 await auth() 與客戶端的 useAuth() 鉤子;混用兩者是常見的破壞性錯誤。涵蓋中介軟體策略(公開優先 vs 受保護優先)、API 路由保護,以及正確的 HTTP 狀態碼(401 vs 403)。包含使用 unstable_cache 的使用者範圍快取模式,以及保護伺服器動作免受未授權變更。提供 Core 2 相容性...
official
clerk-nuxt-patterns
clerk
使用 @clerk/nuxt 的 Nuxt 3 驗證模式 - 中介軟體、組合式函式、伺服器
official
clerk-orgs
clerk
多租戶B2B SaaS,支援組織切換、基於角色的存取控制及企業單一登入。透過URL別名實現動態組織路由、角色型存取檢查(org:admin、org:member),並可透過儀表板建立自訂角色。內建OrganizationSwitcher元件供使用者選擇組織,以及<Show>條件式渲染實現角色限制介面。透過auth()輔助函式提供伺服器端組織上下文,包含成員資格驗證與權限檢查。支援...
official
clerk-react-patterns
clerk
使用 @clerk/react 在 Vite/CRA 中的 React SPA 驗證模式 - ClerkProvider
official
clerk-react-router-patterns
clerk
React Router v7 模式搭配 Clerk — rootAuthLoader、loaders 中的 getAuth
official
clerk-setup
clerk
與框架無關的 Clerk 認證設定,遵循官方快速入門指南。根據 package.json 中的依賴項偵測框架,並擷取對應的 Clerk 快速入門文件(支援 Next.js、Remix、Astro、Nuxt、React Router、TanStack Start、React SPA、Vue、Express、Fastify、Expo、Chrome 擴充功能、Android、iOS 及原生 JavaScript)。處理環境變數設定、提供者配置,以及中介軟體/代理檔案建立,並提供 Core 2 的版本特定指引...
official
clerk-swift
clerk
使用 ClerkKit 進行原生 Swift/iOS 認證,支援預建或自訂認證流程。提供兩種實作模式:預建的 AuthView 元件或完全自訂的原生流程,可根據專案需求選擇。需在應用程式設定中直接配置有效的 Clerk 發布金鑰;預設不使用 plist 或環境檔案間接設定。安裝套件後,必須呼叫 /v1/environment 以判斷功能可用性(例如 Apple 登入支援),依據...
official
clerk-tanstack-patterns
clerk
使用 @clerk/tanstack-react-start 的 TanStack React Start 認證模式
official
clerk-testing
clerk
針對 Clerk 身份驗證流程在 Playwright 與 Cypress 中的端到端測試工具。支援 Playwright 與 Cypress 框架,並提供框架專屬的設定模式(Playwright 的 globalSetup、Cypress 的自訂指令)。提供 clerkSetup() 與 setupClerkTestingToken() 工具,用於初始化測試環境並繞過機器人偵測。包含 storageState 持久化功能,可跨測試重複使用已驗證的工作階段,減少測試執行時間。需要測試 API 金鑰(pk_test_*、...)。
official
clerk-vue-patterns
clerk
Vue 3 模式搭配 Clerk — 組合式函式(useAuth、useUser、
official
clerk-webhooks
clerk
即時事件Webhook,用於將Clerk用戶、組織及會話數據同步至外部系統。支援超過40種事件類型,涵蓋用戶、組織、會話、角色、權限、邀請及通訊。內建透過verifyWebhook()的Webhook驗證功能,並透過Svix提供自動重試邏輯(最多3天)。最適合背景任務,如資料庫同步、通知及整合;不適用於需要即時資料存取的同步流程。需要公開...
official