Documents & data

Better Auth Best Practices

Better Auth server/client, adapter, session, OAuth, plugins, env setup.

  • Official source

Use it when

Use it in TypeScript projects using Better Auth; pair it with security-specific guidance for hardening.

Install command

This is the command stored in the directory. Read the source, then run it on work you can undo.

npx skills add better-auth/skills --skill better-auth-best-practices

Source

Inspect it before you install it

Treat the skill like a dependency. The directory entry is a shortlist, and the source is the thing you are about to run.

  • Read the instructions and any scripts before you grant tools, files, or credentials.
  • Test it on reversible work. Keep deploy, send, publish, and payment steps for a person.
  • Keep it when the output is easier to review. Remove it when it only adds steps.

Keep going