What problem does it solve?
This Skill solves the problem of implementing secure, repeatable user authentication and session management in a Rails 8 app without relying on heavyweight authentication gems.
Core Features & Use Cases
- Rails 8 Authentication Generator Workflow: Create a complete authentication flow (User, Session, Current, controller concerns, and basic views) using built-in Rails 8 tooling.
- Session and Cookie Security: Establish signed, HTTP-only session token cookies and request-local user access via Current attributes.
- Login/Logout and Password Reset Support: Provide controller patterns for login, logout, and password reset journeys.
Use cases include securing controllers by default, enabling public endpoints selectively, resuming sessions from signed cookies, and wiring authentication into request handling with Current.user for views and controller logic.
Quick Start
Ask the AI to implement Rails 8 authentication in your project by running the Rails generator, migrating the database, and wiring controllers to protect actions and manage the signed session token cookie.