next-intl-routing-and-navigation
Installation
SKILL.md
Next Intl Routing and Navigation
Use this skill when the task is primarily about URL structure, locale negotiation, or locale-aware navigation.
Scope
- App Router locale routing setup
defineRouting,createMiddleware,createNavigationlocalePrefix,localeDetection,localeCookie,alternateLinks- localized pathnames, domains,
getPathname, and base-path-aware URL generation - locale switchers and CMS-driven localized URLs
Routing cues
defineRouting,createNavigation,Link,useRouter,usePathname,getPathname, locale switcher, domain routing, pathnames,proxy.ts,middleware.ts,NEXT_LOCALE,hreflang-> use this skill- ICU messages,
useTranslations,useFormatter, rich text, message validation -> usenext-intl-messages-and-formatting getRequestConfig,setRequestLocale,getTranslations, metadata, Server Actions, testing -> usenext-intl-server-runtime- plugin setup, TypeScript augmentation, Crowdin,
useExtracted, message loading strategy -> usenext-intl-workflows-and-tooling