Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Better Auth: setup and migration v1.0.0

Use this resource to set up or migrate authentication in a TypeScript application with Better Auth

New

  • 327 downloads
  • 181 likes
  • 236 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install better-auth-typescript-setup

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies 42 rules ranked by impact: auth instance, database adapter, route handlers, session cookies, OAuth, email verification and plugins. You get authentication configured to Better Auth guidance, with migration from NextAuth, Clerk, Auth0 or Supabase Auth if needed.

Mostly picked by

Updated November 2, 2026

Card for the “Better Auth: setup and migration” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules by category, from setup to migration
  • references/auth-require-email-verification.md: email verification; references/db-connection-pooling.md: connection pooling

Good fit for

  • You are adding OAuth sign-in and sessions to a Next.js app
  • You are leaving NextAuth or Clerk for Better Auth

Not for

    Tags

    • better auth
    • authentication
    • oauth
    • sessions

    About

    You say

    “Set up Better Auth in this Next.js app with Google sign-in and email verification.”

    Card for the “Better Auth: setup and migration” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to set up or migrate authentication in a TypeScript application with Better Auth
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md13.8 KB
    • assets/templates/_template.md2.5 KB
    • LICENSE1.1 KB
    • metadata.json2.6 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md3.1 KB
    • references/auth-client-sign-in-helpers.md2.6 KB
    • references/auth-infer-additional-fields.md2.7 KB
    • references/auth-magic-link-setup.md2.8 KB
    • references/auth-oauth-env-vars.md2.7 KB
    • references/auth-oauth-redirect-uri.md2.9 KB
    • references/auth-require-email-verification.md2.7 KB
    • references/db-adapter-selection.md2.3 KB
    • references/db-additional-fields.md2.6 KB
    • references/db-connection-pooling.md2.5 KB
    • references/db-database-hooks.md2.9 KB
    • references/db-plugin-schema-customization.md2.3 KB
    • references/db-schema-generate.md2.1 KB
    • references/migrate-force-allow-id.md2.8 KB
    • references/migrate-nextauth-schema-mapping.md3.5 KB
    • references/migrate-oauth-account-mapping.md3.3 KB
    • references/migrate-parallel-cutover.md3 KB
    • references/plugins-admin-impersonation.md2.6 KB
    • references/plugins-jwt-when-to-use.md3 KB
    • references/plugins-next-cookies-last.md2.2 KB
    • references/plugins-organization-active-context.md2.8 KB
    • references/plugins-pair-client-server.md3 KB
    • references/plugins-shared-access-control.md3.2 KB
    • references/plugins-two-factor-issuer.md2.3 KB
    • references/route-mount-catchall.md2.7 KB
    • references/route-no-body-consumers.md2.6 KB
    • references/route-runtime-selection.md3.2 KB
    • references/security-min-password-length.md2.3 KB
    • references/security-password-hash-interop.md2.8 KB
    • references/security-rate-limit.md2.7 KB
    • references/security-revoke-on-password-reset.md2.7 KB
    • references/security-trusted-origins-strict.md2.6 KB
    • references/session-cookie-attributes.md2.3 KB
    • references/session-cookie-cache.md2.1 KB
    • references/session-cross-subdomain.md2.3 KB
    • references/session-customsession-fields.md2.7 KB
    • references/session-expiry-tuning.md2.2 KB
    • references/session-server-vs-client.md2.6 KB
    • references/setup-base-url.md2.1 KB
    • references/setup-client-base-url.md2 KB
    • references/setup-secret.md1.6 KB
    • references/setup-singleton.md2.3 KB
    • references/setup-trusted-origins.md2.2 KB
    • SKILL.md8.8 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/better-auth
    Licence
    MIT

    Notice

    « better-auth » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.