better-auth-plugin

Community

Build robust Better Auth plugins

AuthorRicka7x
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide and boilerplate for creating custom authentication plugins for the Better Auth framework, ensuring structured, secure, and feature-rich authentication solutions.

Core Features & Use Cases

  • Plugin Architecture: Defines server/client plugin structure, file organization, and core components.
  • Schema Extension: Guides on extending database schemas for user and custom data.
  • Endpoint Creation: Demonstrates creating GET (read) and POST (mutation) endpoints with validation, authentication, and error handling.
  • Advanced Features: Covers pagination, filtering, searching, sorting, hooks, and middleware for robust API design.
  • Use Case: Develop a custom plugin for Better Auth to manage user roles and permissions, including endpoints for listing, creating, and updating roles, with built-in pagination and filtering.

Quick Start

Use the better-auth-plugin skill to create a new plugin named 'my-custom-auth-plugin' with user schema extensions and basic CRUD endpoints for managing user profiles.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: better-auth-plugin
Download link: https://github.com/Ricka7x/skills/archive/main.zip#better-auth-plugin

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.