Skip to content
cccskills
FreePublished on GitHub

better-auth

Better Auth (TypeScript 認証フレームワーク) v1.7 リファレンス。

認証・認可、サインアップ・サインイン、セッション管理、OAuth、パスキー、二要素認証 (2FA / TOTP)、SSO / SAML、SCIM、 OAuth Provider (OAuth 2.1 / OIDC)、MCP 認可 (@better-auth/mcp)、Infrastructure (dash / sentinel)、 プラグイン (organization, admin, magic-link, anonymous 等)。

betterAuth, createAuthClient, signUp, signIn, getSession。Next.js, Nuxt, SvelteKit, Hono, Express, Expo, TanStack, Effect 統合。

The English summary is being prepared. Showing the original description.

See how to install

Files included (200)

  • SKILL.md10.9 KB
  • references/adapters/community-adapters.md1.3 KB
  • references/adapters/drizzle.md4.9 KB
  • references/adapters/mongodb.md3.5 KB
  • references/adapters/mssql.md2.9 KB
  • references/adapters/mysql.md2.4 KB
  • references/adapters/other-relational.md2.5 KB
  • references/adapters/postgresql.md4.4 KB
  • references/adapters/prisma.md3.4 KB
  • references/adapters/README.md2.6 KB
  • references/adapters/sqlite.md2.3 KB
  • references/authentication/email-password.md6.3 KB
  • references/authentication/other-social-providers.md5.8 KB
  • references/authentication/README.md2.9 KB
  • references/authentication/social-apple.md2.2 KB
  • references/authentication/social-atlassian.md1.4 KB
  • references/authentication/social-cloudflare.md4.7 KB
  • references/authentication/social-cognito.md3.4 KB
  • references/authentication/social-discord.md1.9 KB
  • references/authentication/social-dropbox.md1.3 KB
  • references/authentication/social-facebook.md2.5 KB
  • references/authentication/social-figma.md1.7 KB
  • references/authentication/social-github.md1.6 KB
  • references/authentication/social-gitlab.md1.6 KB
  • references/authentication/social-google.md4.2 KB
  • references/authentication/social-huggingface.md1.3 KB
  • references/authentication/social-kakao.md1.7 KB
  • references/authentication/social-kick.md1.4 KB
  • references/authentication/social-line.md2.8 KB
  • references/authentication/social-linear.md2.0 KB
  • references/authentication/social-linkedin.md1.4 KB
  • references/authentication/social-microsoft.md4.6 KB
  • references/authentication/social-naver.md1.4 KB
  • references/authentication/social-notion.md1.9 KB
  • references/authentication/social-paybin.md1.9 KB
  • references/authentication/social-paypal.md2.7 KB
  • references/authentication/social-polar.md1.7 KB
  • references/authentication/social-providers-common.md2.2 KB
  • references/authentication/social-railway.md2.7 KB
  • references/authentication/social-reddit.md2.4 KB
  • references/authentication/social-roblox.md1.4 KB
  • references/authentication/social-salesforce.md1.8 KB
  • references/authentication/social-slack.md2.2 KB
  • references/authentication/social-spotify.md1.5 KB
  • references/authentication/social-tiktok.md1.8 KB
  • references/authentication/social-twitch.md1.3 KB
  • references/authentication/social-twitter.md1.4 KB
  • references/authentication/social-vercel.md1.7 KB
  • references/authentication/social-vk.md1.4 KB
  • references/authentication/social-wechat.md1.8 KB
  • references/authentication/social-zoom.md1.5 KB
  • references/concepts/api.md3.1 KB
  • references/concepts/cli.md7.8 KB
  • references/concepts/client.md6.2 KB
  • references/concepts/cookies.md4.9 KB
  • references/concepts/database.md8.0 KB
  • references/concepts/dynamic-base-url.md5.1 KB
  • references/concepts/email.md4.6 KB
  • references/concepts/hooks.md3.6 KB
  • references/concepts/oauth.md13.2 KB
  • references/concepts/plugins.md10.7 KB
  • references/concepts/rate-limit.md3.8 KB
  • references/concepts/README.md3.5 KB
  • references/concepts/session-management.md8.9 KB
  • references/concepts/typescript.md3.5 KB
  • references/concepts/users-accounts.md8.7 KB
  • references/examples/astro.md841 B
  • references/examples/next-js.md1004 B
  • references/examples/nuxt.md667 B
  • references/examples/react-router.md662 B
  • references/examples/README.md1.5 KB
  • references/examples/svelte-kit.md606 B
  • references/getting-started/basic-usage.md4.3 KB
  • references/getting-started/installation.md5.0 KB
  • references/getting-started/README.md410 B
  • references/guides/1-7-upgrade-guide.md14.1 KB
  • references/guides/auth0-migration.md2.1 KB
  • references/guides/browser-extension.md2.9 KB
  • references/guides/clerk-migration.md1.8 KB
  • references/guides/create-a-db-adapter.md9.4 KB
  • references/guides/dynamic-base-url.md2.0 KB
  • references/guides/next-auth-migration.md2.1 KB
  • references/guides/optimizing-for-performance.md2.8 KB
  • references/guides/README.md2.7 KB
  • references/guides/saml-sso-with-okta.md3.4 KB
  • references/guides/supabase-migration.md3.0 KB
  • references/guides/workos-migration.md1.5 KB
  • references/guides/your-first-plugin.md5.6 KB
  • references/infrastructure/audit-logs.md4.1 KB
  • references/infrastructure/dashboard.md5.3 KB
  • references/infrastructure/email-service.md4.3 KB
  • references/infrastructure/getting-started.md2.5 KB
  • references/infrastructure/introduction.md1.1 KB
  • references/infrastructure/README.md1.3 KB
  • references/infrastructure/sentinel.md6.3 KB
  • references/infrastructure/sms-service.md2.8 KB
  • references/integrations/astro.md1.4 KB
  • references/integrations/convex.md1.0 KB
  • references/integrations/effect.md2.9 KB
  • references/integrations/electron.md3.4 KB
  • references/integrations/elysia.md1021 B
  • references/integrations/encore.md990 B
  • references/integrations/expo.md3.4 KB
  • references/integrations/express.md1.2 KB
  • references/integrations/fastify.md1.2 KB
  • references/integrations/hono.md4.6 KB
  • references/integrations/lynx.md831 B
  • references/integrations/nestjs.md1.0 KB
  • references/integrations/next.md1.6 KB
  • references/integrations/nitro.md3.3 KB
  • references/integrations/nuxt.md1.7 KB
  • references/integrations/react-router.md1.1 KB
  • references/integrations/README.md3.4 KB
  • references/integrations/solid-start.md602 B
  • references/integrations/svelte-kit.md1.6 KB
  • references/integrations/tanstack.md1.2 KB
  • references/integrations/waku.md1.1 KB
  • references/plugins/admin.md10.2 KB
  • references/plugins/agent-auth.md8.1 KB
  • references/plugins/anonymous.md3.4 KB
  • references/plugins/api-key-advanced.md7.3 KB
  • references/plugins/api-key-reference.md6.0 KB
  • references/plugins/api-key.md6.5 KB
  • references/plugins/autumn.md1.9 KB
  • references/plugins/bearer.md3.1 KB
  • references/plugins/captcha.md4.7 KB
  • references/plugins/chargebee.md3.6 KB
  • references/plugins/cimd.md7.0 KB
  • references/plugins/commet.md2.8 KB
  • references/plugins/community-plugins.md2.7 KB
  • references/plugins/creem.md11.5 KB
  • references/plugins/device-authorization.md11.1 KB
  • references/plugins/dodopayments.md2.4 KB
  • references/plugins/dub.md1.7 KB
  • references/plugins/email-otp.md5.9 KB
  • references/plugins/generic-oauth.md13.3 KB
  • references/plugins/have-i-been-pwned.md1.9 KB
  • references/plugins/i18n.md4.4 KB
  • references/plugins/jwt.md6.1 KB
  • references/plugins/last-login-method.md4.9 KB
  • references/plugins/magic-link.md5.1 KB
  • references/plugins/mcp.md16.4 KB
  • references/plugins/multi-session.md2.2 KB
  • references/plugins/oauth-provider.md26.2 KB
  • references/plugins/oauth-proxy.md5.4 KB
  • references/plugins/oidc-provider.md7.3 KB
  • references/plugins/one-tap.md6.2 KB
  • references/plugins/one-time-token.md2.3 KB
  • references/plugins/open-api.md1.7 KB
  • references/plugins/organization.md14.9 KB
  • references/plugins/passkey.md7.2 KB
  • references/plugins/phone-number.md5.3 KB
  • references/plugins/polar.md2.3 KB
  • references/plugins/README.md10.7 KB
  • references/plugins/scim-groups-and-roles.md5.3 KB
  • references/plugins/scim-reference.md13.4 KB
  • references/plugins/scim.md9.8 KB
  • references/plugins/siwe.md4.1 KB
  • references/plugins/sso.md12.2 KB
  • references/plugins/stripe.md4.6 KB
  • references/plugins/test-utils.md5.7 KB
  • references/plugins/two-factor.md8.6 KB
  • references/plugins/username.md5.3 KB
  • references/reference/contributing.md2.5 KB
  • references/reference/error-account-already-linked.md2.4 KB
  • references/reference/error-account-not-linked.md1.2 KB
  • references/reference/error-email-doesnt-match.md1.4 KB
  • references/reference/error-email-not-found.md1.5 KB
  • references/reference/error-internal-server-error.md844 B
  • references/reference/error-invalid-callback-request.md2.0 KB
  • references/reference/error-invalid-code.md560 B
  • references/reference/error-no-callback-url.md1.1 KB
  • references/reference/error-no-code.md1.7 KB
  • references/reference/error-oauth-provider-not-found.md1.6 KB
  • references/reference/error-signup-disabled.md1.3 KB
  • references/reference/error-state-invalid.md1.2 KB
  • references/reference/error-state-mismatch.md5.9 KB
  • references/reference/error-state-not-found.md1.3 KB
  • references/reference/error-unable-to-create-session.md844 B
  • references/reference/error-unable-to-create-user.md1.1 KB
  • references/reference/error-unable-to-get-user-info.md1.2 KB
  • references/reference/error-unable-to-link-account.md1.4 KB
  • references/reference/error-unknown.md1.0 KB
  • references/reference/errors.md3.1 KB
  • references/reference/faq.md2.4 KB
  • references/reference/instrumentation.md1.8 KB
  • references/reference/options.md16.8 KB
  • references/reference/README.md6.5 KB
  • references/reference/resources.md1.8 KB
  • references/reference/security.md7.0 KB
  • references/reference/telemetry.md1.3 KB
  • samples/astro.md1.6 KB
  • samples/client-setup.md1.0 KB
  • samples/convex.md2.2 KB
  • samples/electron.md1.8 KB
  • samples/elysia.md946 B
  • samples/email-password-auth.md1.4 KB
  • samples/email-verification.md1.1 KB
  • samples/encore.md1.7 KB
  • samples/expo.md2.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Better Auth API リファレンス

Better Auth — TypeScript 向けフレームワーク非依存の認証・認可フレームワーク。 対象 Better Auth v1.7.10(docs: GitHub tag v1.7.10、取得 2026-10-17)。1.6 からの移行は references/guides/1-7-upgrade-guide.md。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。

ディレクトリ構成

skills/better-auth/
  SKILL.md
  references/
    getting-started/
      README.md
      installation.md
      basic-usage.md
    concepts/
      README.md
      api.md
      cli.md
      client.md
      cookies.md
      database.md
      dynamic-base-url.md
      email.md
      hooks.md
      oauth.md
      plugins.md
      rate-limit.md
      session-management.md
      typescript.md
      users-accounts.md
    adapters/
      README.md
      community-adapters.md
      drizzle.md
      mongodb.md
      mssql.md
      mysql.md
      other-relational.md
      postgresql.md
      prisma.md
      sqlite.md
    integrations/
      README.md
      astro.md
      convex.md
      electron.md
      elysia.md
      encore.md
      expo.md
      express.md
      fastify.md
      hono.md
      lynx.md
      nestjs.md
      next.md
      nitro.md
      nuxt.md
      react-router.md
      solid-start.md
      svelte-kit.md
      tanstack.md
      waku.md
      effect.md
    examples/
      README.md
      astro.md
      next-js.md
      nuxt.md
      react-router.md
      svelte-kit.md
    authentication/
      README.md
      email-password.md
      social-providers-common.md
      other-social-providers.md
      social-apple.md
      social-atlassian.md
      social-cloudflare.md
      social-cognito.md
      social-discord.md
      social-dropbox.md
      social-facebook.md
      social-figma.md
      social-github.md
      social-gitlab.md
      social-google.md
      social-huggingface.md
      social-kakao.md
      social-kick.md
      social-line.md
      social-linear.md
      social-linkedin.md
      social-microsoft.md
      social-naver.md
      social-notion.md
      social-paybin.md
      social-paypal.md
      social-polar.md
      social-railway.md
      social-reddit.md
      social-roblox.md
      social-salesforce.md
      social-slack.md
      social-spotify.md
      social-tiktok.md
      social-twitch.md
      social-twitter.md
      social-vercel.md
      social-vk.md
      social-wechat.md
      social-zoom.md
    plugins/
      README.md
      admin.md
      agent-auth.md
      anonymous.md
      api-key.md
      api-key-advanced.md
      api-key-reference.md
      autumn.md
      bearer.md
      captcha.md
      chargebee.md
      cimd.md
      commet.md
      community-plugins.md
      creem.md
      device-authorization.md
      dodopayments.md
      dub.md
      email-otp.md
      generic-oauth.md
      have-i-been-pwned.md
      i18n.md
      jwt.md
      last-login-method.md
      magic-link.md
      mcp.md
      multi-session.md
      oauth-provider.md
      oauth-proxy.md
      oidc-provider.md
      one-tap.md
      one-time-token.md
      open-api.md
      organization.md
      passkey.md
      phone-number.md
      polar.md
      scim.md
      scim-groups-and-roles.md
      scim-reference.md
      siwe.md
      sso.md
      stripe.md
      test-utils.md
      two-factor.md
      username.md
    infrastructure/
      README.md
      introduction.md
      getting-started.md
      dashboard.md
      audit-logs.md
      sentinel.md
      email-service.md
      sms-service.md
    reference/
      README.md
      contributing.md
      options.md
      resources.md
      security.md
      faq.md
      instrumentation.md
      telemetry.md
      errors.md
      error-account-already-linked.md
      error-account-not-linked.md
      error-email-doesnt-match.md
      error-email-not-found.md
      error-internal-server-error.md
      error-invalid-callback-request.md
      error-invalid-code.md
      error-no-callback-url.md
      error-no-code.md
      error-oauth-provider-not-found.md
      error-signup-disabled.md
      error-state-invalid.md
      error-state-mismatch.md
      error-state-not-found.md
      error-unable-to-create-session.md
      error-unable-to-create-user.md
      error-unable-to-get-user-info.md
      error-unable-to-link-account.md
      error-unknown.md
    guides/
      README.md
      1-7-upgrade-guide.md
      auth0-migration.md
      browser-extension.md
      clerk-migration.md
      create-a-db-adapter.md
      dynamic-base-url.md
      next-auth-migration.md
      optimizing-for-performance.md
      saml-sso-with-okta.md
      supabase-migration.md
      workos-migration.md
      your-first-plugin.md
  samples/
    README.md
    astro.md
    client-setup.md
    convex.md
    electron.md
    elysia.md
    email-password-auth.md
    email-verification.md
    encore.md
    expo.md
    express.md
    fastify.md
    hono.md
    hooks.md
    lynx.md
    mcp-server.md
    nestjs.md
    next.md
    nitro.md
    nuxt.md
    password-reset.md
    react-router.md
    server-setup.md
    session-management.md
    sign-out.md
    social-sign-in.md
    solid-start.md
    svelte-kit.md
    tanstack.md
    two-factor-auth.md
    user-management.md
    waku.md
  scripts/
    README.md
    cli.md
    generate.md
    install.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
インストール・初期設定・auth インスタンス作成getting-startedreferences/getting-started/README.md
基本的な認証パターン・メール/パスワード・セッション取得の概要getting-startedreferences/getting-started/README.md
auth.api・クライアント・セッション管理・Cookie・DB・フック・レートリミットconceptsreferences/concepts/README.md
OAuth フロー・型安全性・プラグイン概念・動的ベース URLconceptsreferences/concepts/README.md
Prisma / Drizzle / MongoDB / SQLite / PostgreSQL / MySQL 等の DB アダプターadaptersreferences/adapters/README.md
コミュニティ製サードパーティ DB アダプターadaptersreferences/adapters/README.md
Next.js / Nuxt / SvelteKit / Hono / Express / Fastify / Expo 等フレームワーク統合integrationsreferences/integrations/README.md
Astro / React Router / TanStack / Convex / Electron / NestJS 等の統合手順integrationsreferences/integrations/README.md
公式ウォークスルー実例 (Astro, Next.js, Nuxt, React Router, SvelteKit)examplesreferences/examples/README.md
Email/Password 認証・ソーシャルログイン (GitHub, Google, Apple 等)authenticationreferences/authentication/README.md
特定ソーシャルプロバイダー (Discord, Microsoft, LINE, Twitter 等) の設定authenticationreferences/authentication/README.md
2FA (TOTP)・パスキー・マジックリンク・SMS OTP・匿名認証pluginsreferences/plugins/README.md
Organization・Admin・SSO・SCIM・API Key・JWT・Bearer トークンpluginsreferences/plugins/README.md
Stripe / Chargebee / Polar / Autumn 等の課金・サブスクリプション統合pluginsreferences/plugins/README.md
MCP 認証・エージェント認証・SIWE・キャプチャ・パスワード漏洩チェックpluginsreferences/plugins/README.md
コミュニティ製プラグイン一覧を確認したいpluginsreferences/plugins/README.md
OAuth 2.1 / OIDC プロバイダー構築・CIMD・DPoPpluginsreferences/plugins/README.md
SCIM の groups・roles・referencepluginsreferences/plugins/README.md
Effect HTTP server 統合integrationsreferences/integrations/README.md
Better Auth Infrastructure(有料。@better-auth/infra の dash / sentinel、audit logs、managed email / SMS)infrastructurereferences/infrastructure/README.md
設定オプション一覧・セキュリティガイド・FAQreferencereferences/reference/README.md
エラーコード調査・OpenTelemetry・テレメトリーreferencereferences/reference/README.md
コントリビューションガイド・コミュニティ動画/ブログ等のリソース集referencereferences/reference/README.md
1.6 → 1.7 アップグレード・破壊的変更(npx auth upgrade)guidesreferences/guides/README.md
Auth.js (NextAuth) / Auth0 / Clerk / Supabase / WorkOS からの移行guidesreferences/guides/README.md
カスタムプラグイン作成・カスタム DB アダプター作成・パフォーマンス最適化guidesreferences/guides/README.md
SAML SSO (Okta)・ブラウザ拡張機能統合・動的ベース URL 詳細guidesreferences/guides/README.md
典型的な使い方・動作するコード例・フレームワーク別セットアップ断片samplessamples/README.md
インストールコマンド・CLI コマンド・スキーマ生成を知りたいscriptsscripts/README.md

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

AMD ROCm / HIP GPU コンピューティングリファレンス。 hipMalloc, hipLaunchKernelGGL, HIP Graph, hipGreenCtx, HIPRTC, hipify, rocBLAS, MIOpen, RCCL, hipThreads, libhipcxx, rocprofv3, amd-smi, rocminfo, TheRock / Core SDK 10, CDNA1-4 / RDNA1-4, MI300 / MI350 / MI350P, gfx942, Matrix Core, wave32/64。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) の推奨アーキテクチャリファレンス。 Jetpack, androidx, UI layer, Domain layer, Data layer, state holder, UDF, SSOT, オフラインファースト, モジュール化, ViewModel, viewModelScope, SavedStateHandle, Lifecycle, repeatOnLifecycle, collectAsStateWithLifecycle, LiveData, Hilt による DI, Paging 3 によるページング処理。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) のバックグラウンド・非同期処理リファレンス。 Jetpack androidx WorkManager: Worker, CoroutineWorker, WorkRequest, Constraints, WorkInfo, WorkContinuation, expedited work, テスト。 Service: フォアグラウンドサービス, バウンドサービス, AIDL, Messenger。 AlarmManager, PendingIntent, BroadcastReceiver, JobScheduler, Doze。 Kotlin コルーチン, Flow, StateFlow, SharedFlow, Channel。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) の Gradle ビルドシステムリファレンス。 Android Gradle Plugin (AGP), Kotlin DSL (build.gradle.kts), version catalog, KSP, R8/ProGuard, App Bundle, baseline profile。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android Jetpack Compose (Kotlin) の androidx Material3 コンポーネントリファレンス。 Button, IconButton, FloatingActionButton, Checkbox, Switch, Slider, TextField, SearchBar, DropdownMenu, Chip, DatePicker, TimePicker, Card, Scaffold, Dialog, BottomSheet, TopAppBar, NavigationBar, NavigationRail, Tab, Snackbar, ProgressIndicator, Badge, Icon, MaterialTheme, ColorScheme, Typography, Shapes。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android Jetpack Compose (Kotlin) のアニメーション・描画リファレンス。 androidx.compose.animation / graphics API。 AnimatedVisibility, AnimatedContent, animate*AsState, Animatable, AnimationSpec, Canvas, DrawScope, Brush, Path, Color, Image。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

See all skills by Fandhe-AI

Report a problem with this skill