一键导入
add-react-router-route
Add or modify a React Router route in the website app. Use this when asked to create a page, loader, action, or layout route.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add or modify a React Router route in the website app. Use this when asked to create a page, loader, action, or layout route.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create or update a pull request for this repository. Use this when asked to open a PR, write a PR body, or prepare a branch for review.
Add or modify i18next translations in the website app. Use this whenever you add or localize user-facing strings (UI labels, action error messages, route responses) so the translation keys stay type-safe and the four locale files stay in sync.
Add or modify a website API endpoint with the repository's auth, validation, and OpenAPI patterns. Use this for import, export, or organization-scoped APIs.
Update the Drizzle schema and server-side data access safely. Use this when asked to change stored data, relations, or multi-tenant persistence rules.
Create or refresh an execution-oriented feature brief in specs/. Use this when asked to write a feature specification, implementation brief, or task-ready plan for agents.
| name | add-react-router-route |
| description | Add or modify a React Router route in the website app. Use this when asked to create a page, loader, action, or layout route. |
Follow this workflow when working on route creation or route restructuring in apps/website:
docs/technical-notes/README.md.docs/technical-notes/routing.md.docs/technical-notes/authentication.md.docs/technical-notes/routes-access.md for the project access role middleware contract.docs/technical-notes/docs-pages.md to decide whether end-user docs must change.Implementation checklist:
apps/website/app/routes/.apps/website/app/routes.ts. The repository does not use file-based discovery.routes/app-layout.tsxroutes/project-required-user-layout.tsxroutes/project-optional-user-layout.tsxapi/orgs/:orgSlug/... → routes/api-org-layout.tsxuserContextprojectAccessRoleContext (set by projectMemberAccessMiddleware or projectOptionalAccessMiddleware) — do not recompute the role and do not hardcode ProjectAccessRole.MEMBERorgContext*.server.ts helpers when they do not belong directly in the route module.Validation checklist: