Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

build-convex-clerk-swiftui构建凸文员 swiftui

Agent Skill

build-convex-clerk-swiftui 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

404

周安装

17

GitHub Stars

5

下载量

141
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:build-convex-clerk-swiftui(构建凸文员 swiftui)
来源仓库:https://github.com/yigitkonur/skills-by-yigitkonur
仓库路径:skills/build-convex-clerk-swiftui
安装命令:
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-convex-clerk-swiftui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-convex-clerk-swiftui

简介

build-convex-clerk-swiftui 用于 SwiftUI 应用中 Convex 后端与 Clerk 认证的集成指导,保持两端认知一致。

  • 它依据 repo 内文档提供官方行为参考,涵盖授权、客户端 SDK 和操作流程。
  • 使用时需先评估 Convex 是否适合产品需求,再参照 adoption checklist 进行技术选型。
  • 安装前请确认仓库权限、维护状态,以及是否会修改 Swift 代码或调用后端 API。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Build Convex With Clerk Backend For SwiftUI Devs

Use this skill to keep Swift-side guidance and Convex-backend guidance aligned. Use the repo-local references for the broad Convex/Swift mental model, and use the verified Clerk facts captured in the auth, client-sdk, playbook, and operations docs here for official clerk-convex-swift / WorkoutTracker behavior.

Workflow

  1. Decide whether Convex fits the product.

- Start with references/onboarding/04-adoption-checklist-and-hard-stops.md. - Then read references/onboarding/02-convex-vs-firebase-vs-supabase.md if backend choice is still open.

  1. If starting from scratch, follow the setup walkthrough.

- Read references/setup/01-installing-convex-and-node-prerequisites.md through references/setup/05-first-run-npx-convex-dev.md.

  1. Reset the mental model before recommending architecture.

- Read references/onboarding/03-mental-model-live-data-functions-and-state.md. - Use references/onboarding/01-why-convex-fits-swiftui.md when the user is SwiftUI-strong but backend-new.

  1. Lock auth and root ownership.

- Default to references/authentication/01-clerk-first-setup.md. - If the task involves Firebase, a custom provider, or the exact AuthProvider contract, also read references/authentication/02-custom-auth-provider-and-firebase-fallback.md. - If the task involves Sign in with Apple, Keychain policy, or cached-session restore, also read references/authentication/03-sign-in-with-apple-keychain-and-session-restoration.md. - Then read references/swiftui/04-environment-injection-and-root-architecture.md.

  1. Design the backend before wiring the UI.

- Read references/backend/01-schema-document-model-and-relationships.md. - Then references/backend/02-indexes-query-shaping-and-performance.md, references/backend/03-queries-mutations-actions-scheduling.md, and references/backend/04-auth-rules-and-server-ownership.md. - For internal functions, scheduling, errors, and file organization: references/backend/05-internal-functions-and-helpers.md through references/backend/08-file-organization-and-naming.md.

  1. Design client consumption and ownership.

- Read references/client-sdk/01-client-surface-runtime-and-auth-bridge.md, references/client-sdk/02-type-system-wire-format-and-modeling.md, references/client-sdk/03-subscriptions-errors-logging-and-connection-state.md. - For pipeline termination (critical): references/client-sdk/04-pipeline-termination-and-recovery.md. - Read references/swiftui/01-consumption-patterns.md, references/swiftui/02-observation-and-ownership.md, and references/swiftui/03-lifecycle-navigation-tabs-and-sheets.md.

  1. Load only the platform and advanced docs that match the task.

- iOS lifecycle or degraded state: references/platforms/01-ios-backgrounding-reconnection-and-staleness.md, references/platforms/02-offline-behavior-network-transitions-and-recovery.md - Performance, battery, binary-size: references/platforms/03-performance-battery-and-threading.md, references/platforms/06-binary-size-and-instruments-profiling.md - macOS or shared apps: references/platforms/04-macos-multi-window-menu-bar-and-support-limits.md, references/platforms/07-per-window-viewmodels-stateobject-gotcha.md - Uploads, pagination, search, streaming: references/advanced/01-pagination-live-tail-and-history.md through references/advanced/08-convex-components-ecosystem.md - Common pitfalls: references/pitfalls/ (10 docs covering pipeline death, threading, auth, offline traps) - Testing: references/testing/ (mock client, integration, previews, logging, server-side)

  1. For a complete example app, read references/walkthrough/ (chat app from zero).
  2. For fast lookup, use references/quick-reference/ (cheat sheets, decision trees, SQL mapping).
  3. Before you answer with confidence, read references/operations/01-verified-corrections-and-trust-boundaries.md and surface any relevant limitation from references/operations/02-known-gaps-limitations-and-non-goals.md.

Default Stance

  • Prefer Clerk as the default Swift auth path. Use the official ClerkConvex package (clerk-convex-swift >= 0.1.0) with clerk-ios >= 1.0.0 and convex-swift >= 0.8.0.
  • Prefer one @MainActor long-lived authenticated client per process, created with ConvexClientWithAuth(deploymentUrl:authProvider: ClerkConvexAuthProvider()).
  • Prefer ObservableObject plus @StateObject for subscription-owning models.
  • Treat tokenIdentifier as the canonical server ownership key, enforced via convex-helpers userQuery/userMutation wrappers.
  • Use AuthView() and UserButton() from ClerkKitUI for interactive sign-in and user management. Do not build manual client.login() flows.
  • Treat the official WorkoutTracker sample as the default small-app baseline, not as proof of every production or macOS architecture rule.
  • Add .prefetchClerkImages() and .environment(Clerk.shared) on root views.
  • Treat subscriptions as bounded live reads, not endless full-history pipes.
  • Treat iOS as reconnecting-online, not offline-first.
  • Treat macOS support as Apple Silicon only.
  • Target iOS 17+ / macOS 14+ minimum (required by clerk-convex-swift).

Hard Rules

  • Do not recommend Convex as the default when offline-first, SQL-heavy, unsupported-platform, or Intel-macOS requirements are real blockers.
  • Do not promise optimistic updates, native offline persistence, Catalyst support, watchOS support, tvOS support, or visionOS support.
  • Do not use client-passed userId values for authorization design.
  • Do not use .filter() or unbounded .collect() as the normal backend query strategy.
  • Do not use Date.now() in Convex queries.
  • Do not store unbounded growing arrays inside one document.
  • Do not recommend long-lived view .task ownership for important shared live data.
  • Do not assume subscription recovery after a terminal failure unless you explicitly rebuild the pipeline.
  • Do not repeat stale or corrected claims without checking the operations docs.

Reference Map

Start Here

Setup

Onboarding

Backend

Client SDK

SwiftUI

Authentication

Platforms

Advanced

Pitfalls

Walkthrough

Quick Reference

Testing

Playbooks

Operations

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.89%
按下载量换算51

Claude

31.35%
按下载量换算44

Cursor

16.43%
按下载量换算23

Gemini CLI

9.54%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills