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

next-protected-page

星标2
分支0
更新时间2026年5月17日 17:55

Use when the user asks to add a new authenticated page to the frontend (Next.js 16, App Router). Covers the matcher in `proxy.js` (which replaces `middleware.ts`), the `useSession()` + `session.backendToken` pattern to call the Symfony backend, dark mode pairings, and the fr/en lockstep for any string added.

安装

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

SKILL.md
readonly