veta-app-routing

Community

Add routes safely with correct public/private behavior.

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 under src/app/veta-app/....
  • Supabase session protection & middleware alignment: Ensure unauthenticated users are redirected correctly via veta-app/**/layout.tsx and that public paths remain accessible through src/lib/supabase/middleware.ts (including PUBLIC_ROUTES and locale handling).
  • SEO/non-index handling for dev-only pages: Mark dev-only segments with robots: { index: false, follow: false } and exclude them from src/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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.