Use when implementing internationalization in Astro, configuring i18n routing, setting up locale strategies, using getRelativeLocaleUrl/getAbsoluteLocaleUrl, handling Astro.currentLocale, or adding hreflang tags with sitemap.
From fuse-astronpx claudepluginhub fusengine/agents --plugin fuse-astroThis skill uses the workspace's default tool permissions.
references/content-translation.mdreferences/fallback.mdreferences/helper-functions.mdreferences/routing-config.mdreferences/sitemap-hreflang.mdreferences/strategies.mdreferences/templates/i18n-config.mdreferences/templates/language-switcher.mdreferences/templates/locale-page.mdGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Details PluginEval's skill quality evaluation: 3 layers (static, LLM judge), 10 dimensions, rubrics, formulas, anti-patterns, badges. Use to interpret scores, improve triggering, calibrate thresholds.
Before ANY implementation, use TeamCreate to spawn 3 agents:
astro:i18n API and sitemap integrationAfter implementation, run fuse-ai-pilot:sniper for validation.
defaultLocale and routing strategiesgetRelativeLocaleUrl()Astro.currentLocale in components and pageshreflang alternate links via @astrojs/sitemapAstro's built-in i18n system provides:
src/pages/[locale]/astro:i18n| Topic | Reference | When to Consult |
|---|---|---|
| Routing config | routing-config.md | Setup and config options |
| Strategies | strategies.md | prefix-always vs prefix-other-locales |
| Helper functions | helper-functions.md | getRelativeLocaleUrl and all helpers |
| Content translation | content-translation.md | Translating content collections |
| Sitemap hreflang | sitemap-hreflang.md | SEO alternate links |
| Fallback | fallback.md | Missing translation fallback |
| Template | When to Use |
|---|---|
| i18n-config.md | Full i18n configuration |
| locale-page.md | Page component with locale awareness |
| language-switcher.md | Language switcher component |
getRelativeLocaleUrl() — never hardcode locale prefixes in linksAstro.currentLocale — read locale in components, not from URL manuallysrc/content/[type]/[locale]/@astrojs/sitemap with i18n option for SEOfallback to prevent 404s for missing translationsAstro.currentLocale)getRelativeLocaleUrl without configuring site in Astro config