This adds better-auth integration for Claude Code, focusing heavily on preventing a common mistake: better-auth doesn't have a d1Adapter() for Cloudflare D1 databases. You need to use Drizzle or Kysely instead. The skill documentation covers breaking changes across recent versions (it went ESM-only, changed multi-team tables, turned on admin impersonation prevention by default) and walks through proper D1 setup. Worth having if you're building auth with better-auth and Claude, especially on Cloudflare's stack where the adapter confusion has clearly tripped people up enough to warrant a dedicated skill about it.

skills.sh installs
434
GitHub stars
1.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add jezweb/claude-skills --skill better-auth --agent claude-code

Installs into .claude/skills of the current project.

Files

This adds better-auth integration for Claude Code, focusing heavily on preventing a common mistake: better-auth doesn't have a d1Adapter() for Cloudflare D1 databases. You need to use Drizzle or Kysely instead. The skill documentation covers breaking changes across recent versions (it went ESM-only, changed multi-team tables, turned on admin impersonation prevention by default) and walks through proper D1 setup. Worth having if you're building auth with better-auth and Claude, especially on Cloudflare's stack where the adapter confusion has clearly tripped people up enough to warrant a dedicated skill about it.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/jezweb/claude-skills
Categories
Backend & APIs, Security, Debugging, Cloud & Infrastructure, Mobile Development, Databases
First seen
Jun 3, 2026

More from jezweb/claude-skills

All 166
1secondsky avatarnuxt-serversecondsky/claude-skills| Nuxt 4 server-side development with Nitro: API routes, server middleware, database integration, and backend patterns. Use when: creating server API routes, im415skills.sh installs
2mrgoonie avatarbetter-authmrgoonie/claudekit-skillsImplement authentication and authorization with Better Auth - a framework-agnostic TypeScript authentication framework. Features include email/password authenti396skills.sh installs
3davila7 avatarfirebasedavila7/claude-code-templatesFirebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are 390skills.sh installs
4davila7 avatarprisma-expertdavila7/claude-code-templatesPrisma ORM expert for schema design, migrations, query optimization, relations modeling, and database operations. Use PROACTIVELY for Prisma schema issues, migr386skills.sh installs
5levnikolaevich avatarln-113-backend-docs-creatorlevnikolaevich/claude-code-skillsCreates backend docs (api_spec.md, database_schema.md). Use when project has backend API or database.384skills.sh installs
6onewave-ai avatarapi-documentation-writeronewave-ai/claude-skillsGenerate comprehensive API documentation including endpoint descriptions, request/response examples, authentication guides, error codes, and SDKs. Creates OpenA384skills.sh installs