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

add-auth

星标84
分支3
更新时间2026年5月7日 07:03

Drop session-based auth into a pracht app following the framework's recommended pattern (middleware checks the session, loaders read user info, API routes mutate it). Generates session utilities, the auth middleware, login/logout/signup API routes, and the matching `<Form>`-driven pages — then wires the manifest with public vs. protected groups. Use when asked to "add auth", "set up login", "wire authentication", "add session middleware", or "I need users".

安装

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

SKILL.md
readonly