veta-app-routing
CommunityAdd routes safely with correct public/private behavior.
Software Engineering#routing#nextjs app router#supabase middleware#seo robots#authenticated routes#i18n locale#sitemap integration
Authormarcogonzalo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents broken navigation, unexpected 404s, and incorrect access control when adding or modifying Next.js App Router routes and layouts in the repo.
Core Features & Use Cases
- Public marketing routing conventions: Place SEO-visible pages under
src/app/[locale]/(marketing)/...and keep them aligned with i18n/locale structure. - Auth and private routing separation: Use
src/app/[locale]/(auth)/...for sign-in/sign-up/callback flows and keep authenticated app pages undersrc/app/veta-app/.... - Supabase session protection & middleware alignment: Ensure unauthenticated users are redirected correctly via
veta-app/**/layout.tsxand that public paths remain accessible throughsrc/lib/supabase/middleware.ts(includingPUBLIC_ROUTESand locale handling). - SEO/non-index handling for dev-only pages: Mark dev-only segments with
robots: { index: false, follow: false }and exclude them fromsrc/app/sitemap.ts.
Quick Start
Tell me whether the new route should be public (marketing/auth) or private (/veta-app), then I’ll place it in the correct src/app/ segment and specify the needed layout, redirects, and middleware/sitemap/robots adjustments.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: veta-app-routing Download link: https://github.com/marcogonzalo/studio-manager/archive/main.zip#veta-app-routing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.