Skip to main content
在 Manus 中运行任何 Skill
一键导入

rails-auth

星标0
分支0
更新时间2026年6月13日 06:04

Add authentication AND authorization to a Rails 8.1 app, unified in one skill. Authentication menu — Rails 8 built-in generator with has_secure_password (Recommended), Devise, Rodauth (rodauth-rails), or authentication-zero — plus social login via OmniAuth and API token strategies. Authorization menu — Pundit (Recommended), Action Policy, or CanCanCan. Menu-driven with a Recommended default per menu; detects any installed auth/authz gem and config.api_only first (token surface for APIs, session/cookie flow for Web), gives per-solution integration guidance (install → wire → routes/controllers → views or token surface → tests), and verifies a real login/authorize round-trip. Apply when adding login/logout, password reset, sign-up, social login, API tokens, or role/permission checks.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
6 个文件
SKILL.md
readonly