[PR #5799] docs(better-auth): add Architecture & Plugin Authoring guide and link… #14479

Closed
opened 2026-04-13 09:29:44 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5799

State: closed
Merged: No


This adds a new developer-focused doc (docs/architecture.md) explaining the Better Auth monorepo structure and plugin system.
Also linked the new doc from packages/better-auth/README.md for easy discovery.


Summary by cubic

Added a developer-focused Architecture & Plugin Authoring guide for Better Auth and linked it from the package README for easy discovery. This helps plugin authors and contributors understand the monorepo, request lifecycle, hooks, adapters, and safe extension patterns.

  • New Features
    • Monorepo overview and package roles (runtime, core, adapters).
    • Request lifecycle with hook contracts (before/after) and flow.
    • Plugin authoring examples with options, typing, and best practices.
    • Adapter interface basics, error handling tips, and common gotchas.

Written for commit d816eb447a. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5799 **State:** closed **Merged:** No --- This adds a new developer-focused doc (`docs/architecture.md`) explaining the Better Auth monorepo structure and plugin system. Also linked the new doc from packages/better-auth/README.md for easy discovery. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added a developer-focused Architecture & Plugin Authoring guide for Better Auth and linked it from the package README for easy discovery. This helps plugin authors and contributors understand the monorepo, request lifecycle, hooks, adapters, and safe extension patterns. - **New Features** - Monorepo overview and package roles (runtime, core, adapters). - Request lifecycle with hook contracts (before/after) and flow. - Plugin authoring examples with options, typing, and best practices. - Adapter interface basics, error handling tips, and common gotchas. <sup>Written for commit d816eb447acf852135c14f3f8107ee8852068dc9. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:29:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14479