solidstart-middleware-auth
CommunitySecure SolidStart apps with middleware & sessions.
Authorvallafederico
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust framework for implementing middleware, session management, and authentication in SolidStart applications, ensuring secure and efficient user access control.
Core Features & Use Cases
- Custom Middleware: Define
onRequestandonBeforeResponsehooks for request/response manipulation, logging, and setting headers. - Session Management: Securely manage user sessions using encrypted cookies with
useSession. - Authentication: Implement protected routes and handle login/logout actions.
- WebSocket Endpoints: Configure and manage experimental WebSocket connections.
- Use Case: Protect sensitive user data by ensuring only authenticated users can access specific routes, and manage user preferences like theme settings via sessions.
Quick Start
Configure middleware in app.config.ts by setting middleware: "src/middleware/index.ts".
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: solidstart-middleware-auth Download link: https://github.com/vallafederico/solid-ai-rules/archive/main.zip#solidstart-middleware-auth Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.