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…

npx skills add https://github.com/clerk/cli --skill audit-clerk-skill

Audit the clerk-cli Skill

Find a local clerk/skills checkout containing both skills/clerk-cli/SKILL.md and .agents/skills/audit-clerk-skill/SKILL.md. If this CLI checkout is a worktree, use the parent of git rev-parse --path-format=absolute --git-common-dir to find the main CLI checkout, then look for a skills checkout beside it. If none exists and network access is available, clone clerk/skills. A temporary clone is fine for a read-only audit.

Read the entire .agents/skills/audit-clerk-skill/SKILL.md from the resolved checkout, not GitHub main, then run that audit from the skills checkout with this CLI checkout's path as --source. The GitHub copy is for reference only. Do not look for the target skill in this repository. If you cannot access clerk/skills, stop and ask for a checkout.

For --apply, create a new branch in the skills checkout before making edits. Give the user its path and branch, and do not delete it while it contains work that has not been committed or handed off.

來自 clerk 的更多技能

clerk-testing
clerk
針對 Clerk 身份驗證流程在 Playwright 與 Cypress 中的端到端測試工具。支援 Playwright 與 Cypress 框架,並提供框架專屬的設定模式(Playwright 的 globalSetup、Cypress 的自訂指令)。提供 clerkSetup() 與 setupClerkTestingToken() 工具,用於初始化測試環境並繞過機器人偵測。包含 storageState 持久化功能,可跨測試重複使用已驗證的工作階段,減少測試執行時間。需要測試 API 金鑰(pk_test_*、...)。
clerk-swift
clerk
使用 ClerkKit 進行原生 Swift/iOS 認證,支援預建或自訂認證流程。提供兩種實作模式:預建的 AuthView 元件或完全自訂的原生流程,可根據專案需求選擇。需在應用程式設定中直接配置有效的 Clerk 發布金鑰;預設不使用 plist 或環境檔案間接設定。安裝套件後,必須呼叫 /v1/environment 以判斷功能可用性(例如 Apple 登入支援),依據...
mosaic
clerk
Work on Mosaic UI: styling a component with slot recipes (`defineSlotRecipe` / `useRecipe` / slots / variants), or building a flow — authoring a state machine…
clerk-billing
clerk
用於訂閱管理的 Clerk Billing - 渲染 Clerk 的 PricingTable
clerk-nextjs-patterns
clerk
適用於 Clerk 的進階 Next.js 模式,涵蓋驗證、中介軟體、伺服器動作及使用者範圍快取。區分伺服器端的 await auth() 與客戶端的 useAuth() 鉤子;混用兩者是常見的破壞性錯誤。涵蓋中介軟體策略(公開優先 vs 受保護優先)、API 路由保護,以及正確的 HTTP 狀態碼(401 vs 403)。包含使用 unstable_cache 的使用者範圍快取模式,以及保護伺服器動作免受未授權變更。提供 Core 2 相容性...
clerk-expo-patterns
clerk
Expo / React Native 模式搭配 Clerk — SecureStore 令牌快取、OAuth
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",…
clerk-astro-patterns
clerk
使用 Clerk 的 Astro 模式 — 中介軟體、SSR 頁面、島嶼元件