Agent Skills: Better Auth Protected Routes

Add server-side route protection to enforce authentication on specific pages while keeping others public.

UncategorizedID: andrelandgraf/fullstackrecipes/better-auth-protected-routes

Install this agent skill to your local

pnpm dlx add-skill https://github.com/andrelandgraf/fullstackrecipes/tree/HEAD/.agents/skills/better-auth-protected-routes

Skill Files

Browse the full folder contents for better-auth-protected-routes.

Download Skill

Loading file tree…

.agents/skills/better-auth-protected-routes/SKILL.md

Skill Metadata

Name
better-auth-protected-routes
Description
Add server-side route protection to enforce authentication on specific pages while keeping others public.

Better Auth Protected Routes

To set up Better Auth Protected Routes, refer to the fullstackrecipes MCP server resource:

Resource URI: recipe://fullstackrecipes.com/better-auth-protected-routes

If the MCP server is not configured, fetch the recipe directly:

curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/better-auth-protected-routes