agent-creator
Use when creating expert agents. Generates agent.md with frontmatter, hooks, required sections, and skill references.
Use when implementing i18n in Next.js 16 — next-intl or DIY dictionaries, locale routing, language switch, or formatters.
$ npx -y skills add fusengine/agents --skill nextjs-i18n --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nextjs-i18nContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when implementing i18n in Next.js 16 — next-intl or DIY dictionaries, locale routing, language switch, or formatters.
name: nextjs-i18n description: Use when implementing i18n in Next.js 16 — next-intl or DIY dictionaries, locale routing, language switch, or formatters. versions: next-intl: 4.0 nextjs: 16 user-invocable: true references: references/installation.md, references/pages-router.md, references/routing-setup.md, references/routing-config.md, references/translations.md, references/formatting.md, references/navigation.md, references/server-components.md, references/client-components.md, references/middleware-proxy.md, references/error-files.md, references/configuration.md, references/plugin.md, references/extraction.md, references/messages-validation.md, references/typescript.md, references/testing.md, references/integrations.md, references/seo.md, references/core-library.md, references/runtime-requirements.md, references/diy-dictionaries.md, references/diy-locale-detection.md related-skills: nextjs-16, solid-nextjs
<objective> Implements internationalization for Next.js 16 App Router apps via two approaches: next-intl (recommended — full Server Components support, type-safe messages, ICU MessageFormat, async message loading, proxy.ts-compatible routing) or a lightweight DIY dictionary approach using dynamic imports.
Covers `[locale]`-prefixed routing, localized navigation components (Link, redirect, usePathname, useRouter), date/number/currency/relative-time formatting, RTL language support, SEO hreflang tags, and localized special files (`[locale]/error.tsx`, `[locale]/not-found.tsx`, `global-error.tsx`). This is the Next.js-specific i18n skill (App Router routing, proxy.ts integration) — for plain React apps without Next.js see react-i18n, and for Astro see astro-i18n. </objective>
Complete i18n solution with next-intl or DIY dictionary approach.
Before ANY implementation, spawn 3 agents in parallel, one `Agent` call each with a `name`:
1. **fuse-ai-pilot:explore-codebase** - Analyze existing i18n setup and message files 2. **fuse-ai-pilot:research-expert** - Verify latest next-intl docs via Context7/Exa 3. **mcp__context7__query-docs** - Check locale config and patterns
After implementation, run **fuse-ai-pilot:sniper** for validation.
---
| Feature | Benefit | |---------|---------| | App Router native | Full Server Components support | | Type-safe messages | TypeScript autocompletion for keys | | ICU MessageFormat | Pluralization, gender, select expressions | | Async message loading | Load translations on-demand per locale | | proxy.ts compatible | Works with Next.js 16 proxy pattern | | Rich formatting | Dates, numbers, lists, relative time |
---
Full-featured library with routing, formatting, and type safety. Best for production applications needing comprehensive i18n support.
Lightweight approach using dynamic imports for simple translation needs. Good for projects wanting minimal dependencies.
---
All i18n code organized in `modules/cores/i18n/`:
---
All routes prefixed with `[locale]` dynamic segment:
Use localized navigation from next-intl for automatic locale handling:
---
| Need | Reference | |------|-----------| | Initial setup | [installation.md](references/installation.md), [routing-setup.md](references/routing-setup.md) | | Route config | [routing-config.md](references/routing-config.md), [middleware-proxy.md](references/middleware-proxy.md) | | Translations | [translations.md](references/translations.md), [messages-validation.md](references/messages-validation.md) | | Formatting | [formatting.md](references/formatting.md) | | Components | [server-components.md](references/server-components.md), [client-components.md](references/client-components.md) | | Navigation | [navigation.md](references/navigation.md) | | TypeScript | [typescript.md](references/typescript.md) | | SEO | [seo.md](references/seo.md) | | Testing | [testing.md](references/testing.md) | | DIY approach | [diy-dictionaries.md](references/diy-dictionaries.md), [diy-locale-detection.md](references/diy-locale-detection.md) |
---
---
1. **Type-safe keys** - Use TypeScript for message key a
A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.
Repo: fusengine/agents
Use when creating expert agents. Generates agent.md with frontmatter, hooks, required sections, and skill references.
Use when starting ANY development task -- feature, bug fix, refactor, hotfix (triggers: implement, create, build, fix, add feature, refactor, develop).
Use when creating a feature/component or adding functionality. Fires BEFORE APEX Analyze to refine requirements via structured questioning.
Use before a root-cause, done/verified claim, irreversible action, or 2nd-time fix reaches the owner (APEX or plain conversation); also fires at every…
Use when validating code quality after modifications -- SOLID compliance, DRY duplication, linter errors, architecture violations. Do NOT use for functional…
Use when an expert agent self-reviews and self-corrects code after the Execute phase, before sniper validation (BMAD-METHOD elicitation techniques).