·next-intl-app-router
</>

next-intl-app-router

liuchiawei/agent-skills

通過基於區域設置的路由為 Next.js App Router 配置和使用 next-intl。在 Next.js App Router 項目中添加或更改 i18n、區域設置路由、翻譯、next-intl 插件、中間件/代理或消息文件時使用。

40安裝·2熱度·@liuchiawei

安裝

$npx skills add https://github.com/liuchiawei/agent-skills --skill next-intl-app-router

SKILL.md

Setup and usage of next-intl with prefix-based locale routing (e.g. /en/about, /ja/about). Use this skill in any Next.js App Router project.

Example code: Copy-paste examples live in this skill's examples/ folder. See examples/README.md for where each file goes in your project.

Root layout does not wrap with NextIntlClientProvider; only app/[locale]/layout.tsx does.

通過基於區域設置的路由為 Next.js App Router 配置和使用 next-intl。在 Next.js App Router 項目中添加或更改 i18n、區域設置路由、翻譯、next-intl 插件、中間件/代理或消息文件時使用。 來源:liuchiawei/agent-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/liuchiawei/agent-skills --skill next-intl-app-router
分類
</>開發工具
認證
收錄時間
2026-02-05
更新時間
2026-02-18

快速解答

什麼是 next-intl-app-router?

通過基於區域設置的路由為 Next.js App Router 配置和使用 next-intl。在 Next.js App Router 項目中添加或更改 i18n、區域設置路由、翻譯、next-intl 插件、中間件/代理或消息文件時使用。 來源:liuchiawei/agent-skills。

如何安裝 next-intl-app-router?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/liuchiawei/agent-skills --skill next-intl-app-router 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/liuchiawei/agent-skills