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

Closed
opened 2026-04-15 21:30:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5799
Author: @MuzzaiyyanHussain
Created: 11/6/2025
Status: Closed

Base: canaryHead: docs/architecture-and-plugin-authoring


📝 Commits (1)

  • d816eb4 docs(better-auth): add Architecture & Plugin Authoring guide and link in README

📊 Changes

1 file changed (+239 additions, -0 deletions)

View changed files

packages/better-auth/docs/architecture.md (+239 -0)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5799 **Author:** [@MuzzaiyyanHussain](https://github.com/MuzzaiyyanHussain) **Created:** 11/6/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `docs/architecture-and-plugin-authoring` --- ### 📝 Commits (1) - [`d816eb4`](https://github.com/better-auth/better-auth/commit/d816eb447acf852135c14f3f8107ee8852068dc9) docs(better-auth): add Architecture & Plugin Authoring guide and link in README ### 📊 Changes **1 file changed** (+239 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `packages/better-auth/docs/architecture.md` (+239 -0) </details> ### 📄 Description 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. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 21:30:32 -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#23133