[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75JH5DFR8TXW793YH5VKPWB":3,"skill-same:01M75JH5DFR8TXW793YH5VKPWB":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75JH5DFR8TXW793YH5VKPWB","i18n-nextjs",null,"Internationalization (i18n) guide for Next.js \u002F Node.js web applications using the App Router. Covers translation file structure, locale routing, SEO metadata per locale, hreflang, structured JSON-LD data, UI component translations, and multi-language sitemap generation. Use when the user asks to: add i18n support, add a new language, translate a page or component, add SEO metadata for multiple locales, implement hreflang, update the sitemap for new locales, or follow i18n best practices in a Next.js project.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fjavainthinking\u002Fweb-i18n-nextjs\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: i18n-nextjs\ndescription: >\n  Internationalization (i18n) guide for Next.js \u002F Node.js web applications using the App Router.\n  Covers translation file structure, locale routing, SEO metadata per locale, hreflang, structured\n  JSON-LD data, UI component translations, and multi-language sitemap generation.\n  Use when the user asks to: add i18n support, add a new language, translate a page or component,\n  add SEO metadata for multiple locales, implement hreflang, update the sitemap for new locales,\n  or follow i18n best practices in a Next.js project.\n---\n\n# i18n for Next.js — Implementation Guide\n\n## Core Principles\n\n- All user-facing features **must** implement i18n — no hardcoded strings in components.\n- Translations must be **natural and idiomatic** — never use scripts or machine translation; treat quality the same as English copywriting.\n- SEO metadata, JSON-LD structured data, and sitemaps must all be locale-aware.\n- Default locale (English) uses **clean URLs** with no prefix (`\u002Fproducts`); other locales use a prefix (`\u002Fes\u002Fproducts`).\n\n## Supported Locales\n\nLocale list lives in `src\u002Flib\u002Fi18n\u002Flocales.ts`. Keep the sitemap script's `locales` array in sync with this file.\n\n```typescript\nexport const locales = ['en', 'es', 'fr', 'de', 'ja', 'zh-CN', \u002F* ... add as needed *\u002F]\nexport const defaultLocale = 'en'\nexport type Locale = typeof locales[number]\n```\n\n## Directory Structure\n\n```\nsrc\u002Fapp\u002F[lang]\u002F\n├── dictionaries\u002F       ← One JSON file per locale\n│   ├── en.json\n│   ├── es.json\n│   └── ...\n├── dictionaries.ts     ← getDictionary(locale) server helper\n├── layout.tsx          ← Root layout: generateMetadata + hreflang + JSON-LD\n└── \u003Cpage>\u002F\n    └── page.tsx        ← generateMetadata + page content\n```\n\n## Translation Files\n\nSee **[references\u002Ftranslation-files.md](references\u002Ftranslation-files.md)** for:\n- JSON key hierarchy conventions (`page.section.key`)\n- Server-side `getDictionary()` usage\n- Client-side `useDictionary()` hook usage\n- Template variable pattern (`{count}` substitution)\n- Fallback pattern for missing keys\n\n## Routing & Middleware\n\nSee **[references\u002Frouting.md](references\u002Frouting.md)** for:\n- `src\u002Fmiddleware.ts` — locale detection, redirect `\u002Fen\u002F*` → `\u002F*`, rewrite for default locale\n- `LocalizedLink` component — automatically prefixes non-default locales\n- `useLocale()` hook — reads locale from URL params → pathname → localStorage → default\n- `getLocalizedPath()` \u002F `removeLocalePrefix()` utilities\n\n## SEO Metadata\n\nSee **[references\u002Fseo-metadata.md](references\u002Fseo-metadata.md)** for:\n- `generateMetadata()` pattern in layout\u002Fpage files\n- `generateAlternatesMetadata()` from `src\u002Flib\u002Fi18n\u002Fseo.ts`\n- Full hreflang `alternates.languages` output (all locales + `x-default`)\n- OpenGraph `locale` \u002F `alternateLocale` fields\n- `html lang` attribute and `LangSetter` client component\n\n## Structured JSON-LD Data\n\nSee **[references\u002Fstructured-data.md](references\u002Fstructured-data.md)** for:\n- WebApplication schema with translated `featureList`, `description`\n- BlogPosting schema with `inLanguage` field\n- FAQ schema with translated `acceptedAnswer`\n- BreadcrumbList schema with localized URLs\n- Rendering via `\u003CScript>` or `\u003Cscript>` tags\n\n## Multi-language Sitemap\n\nSee **[references\u002Fsitemap.md](references\u002Fsitemap.md)** for:\n- Sitemap structure: one `\u003Curl>` entry per page with `\u003Cxhtml:link>` alternates for every locale\n- `\u003Cloc>` uses the default-locale (clean) URL; `x-default` also points there\n- Full XML example with static and dynamic pages\n- Next.js App Router `sitemap.ts` implementation pattern\n- What to include vs. exclude (admin\u002FAPI routes excluded)\n- Hreflang language code format rules\n\n## Quick Checklist — Adding a New Feature with i18n\n\n1. **Add translation keys** to all locale JSON files in `src\u002Fapp\u002F[lang]\u002Fdictionaries\u002F`\n   - Add English first, then translate to all other languages naturally\n2. **Server components**: `const dict = await getDictionary(locale)` → `dict?.page?.section?.key || 'fallback'`\n3. **Client components**: `const dict = useDictionary()` → same fallback pattern\n4. **Add `generateMetadata()`** to the page file, calling `generateAlternatesMetadata()`\n5. **Add JSON-LD** structured data script tag with translated fields and `inLanguage`\n6. **Update sitemap** if the page is new: add it to the sitemap source (see [references\u002Fsitemap.md](references\u002Fsitemap.md))\n7. **Use `\u003CLocalizedLink>`** for internal links and `getLocalizedPath()` for programmatic navigation\n\n## Quick Checklist — Adding a New Locale\n\n1. Add locale code to `locales` array in `src\u002Flib\u002Fi18n\u002Flocales.ts`\n2. Add locale entry to `dictionaries\u002F` as `\u003Ccode>.json` (full translation of `en.json`)\n3. Add entry in `src\u002Fapp\u002F[lang]\u002Fdictionaries.ts` import map\n4. Add display name in `LanguageSwitcher` `languageNames` map\n5. Sync the sitemap locale list with the app's `locales` array\n6. Regenerate \u002F redeploy the sitemap\n","# i18n for Next.js — Implementation Guide\n\n## Core Principles\n\n- All user-facing features **must** implement i18n — no hardcoded strings in components.\n- Translations must be **natural and idiomatic** — never use scripts or machine translation; treat quality the same as English copywriting.\n- SEO metadata, JSON-LD structured data, and sitemaps must all be locale-aware.\n- Default locale (English) uses **clean URLs** with no prefix (`\u002Fproducts`); other locales use a prefix (`\u002Fes\u002Fproducts`).\n\n## Supported Locales\n\nLocale list lives in `src\u002Flib\u002Fi18n\u002Flocales.ts`. Keep the sitemap script's `locales` array in sync with this file.\n\n```typescript\nexport const locales = ['en', 'es', 'fr', 'de', 'ja', 'zh-CN', \u002F* ... add as needed *\u002F]\nexport const defaultLocale = 'en'\nexport type Locale = typeof locales[number]\n```\n\n## Directory Structure\n\n```\nsrc\u002Fapp\u002F[lang]\u002F\n├── dictionaries\u002F       ← One JSON file per locale\n│   ├── en.json\n│   ├── es.json\n│   └── ...\n├── dictionaries.ts     ← getDictionary(locale) server helper\n├── layout.tsx          ← Root layout: generateMetadata + hreflang + JSON-LD\n└── \u003Cpage>\u002F\n    └── page.tsx        ← generateMetadata + page content\n```\n\n## Translation Files\n\nSee **[references\u002Ftranslation-files.md](references\u002Ftranslation-files.md)** for:\n- JSON key hierarchy conventions (`page.section.key`)\n- Server-side `getDictionary()` usage\n- Client-side `useDictionary()` hook usage\n- Template variable pattern (`{count}` substitution)\n- Fallback pattern for missing keys\n\n## Routing & Middleware\n\nSee **[references\u002Frouting.md](references\u002Frouting.md)** for:\n- `src\u002Fmiddleware.ts` — locale detection, redirect `\u002Fen\u002F*` → `\u002F*`, rewrite for default locale\n- `LocalizedLink` component — automatically prefixes non-default locales\n- `useLocale()` hook — reads locale from URL params → pathname → localStorage → default\n- `getLocalizedPath()` \u002F `removeLocalePrefix()` utilities\n\n## SEO Metadata\n\nSee **[references\u002Fseo-metadata.md](references\u002Fseo-metadata.md)** for:\n- `generateMetadata()` pattern in layout\u002Fpage files\n- `generateAlternatesMetadata()` from `src\u002Flib\u002Fi18n\u002Fseo.ts`\n- Full hreflang `alternates.languages` output (all locales + `x-default`)\n- OpenGraph `locale` \u002F `alternateLocale` fields\n- `html lang` attribute and `LangSetter` client component\n\n## Structured JSON-LD Data\n\nSee **[references\u002Fstructured-data.md](references\u002Fstructured-data.md)** for:\n- WebApplication schema with translated `featureList`, `description`\n- BlogPosting schema with `inLanguage` field\n- FAQ schema with translated `acceptedAnswer`\n- BreadcrumbList schema with localized URLs\n- Rendering via `\u003CScript>` or `\u003Cscript>` tags\n\n## Multi-language Sitemap\n\nSee **[references\u002Fsitemap.md](references\u002Fsitemap.md)** for:\n- Sitemap structure: one `\u003Curl>` entry per page with `\u003Cxhtml:link>` alternates for every locale\n- `\u003Cloc>` uses the default-locale (clean) URL; `x-default` also points there\n- Full XML example with static and dynamic pages\n- Next.js App Router `sitemap.ts` implementation pattern\n- What to include vs. exclude (admin\u002FAPI routes excluded)\n- Hreflang language code format rules\n\n## Quick Checklist — Adding a New Feature with i18n\n\n1. **Add translation keys** to all locale JSON files in `src\u002Fapp\u002F[lang]\u002Fdictionaries\u002F`\n   - Add English first, then translate to all other languages naturally\n2. **Server components**: `const dict = await getDictionary(locale)` → `dict?.page?.section?.key || 'fallback'`\n3. **Client components**: `const dict = useDictionary()` → same fallback pattern\n4. **Add `generateMetadata()`** to the page file, calling `generateAlternatesMetadata()`\n5. **Add JSON-LD** structured data script tag with translated fields and `inLanguage`\n6. **Update sitemap** if the page is new: add it to the sitemap source (see [references\u002Fsitemap.md](references\u002Fsitemap.md))\n7. **Use `\u003CLocalizedLink>`** for internal links and `getLocalizedPath()` for programmatic navigation\n\n## Quick Checklist — Adding a New Locale\n\n1. Add locale code to `locales` array in `src\u002Flib\u002Fi18n\u002Flocales.ts`\n2. Add locale entry to `dictionaries\u002F` as `\u003Ccode>.json` (full translation of `en.json`)\n3. Add entry in `src\u002Fapp\u002F[lang]\u002Fdictionaries.ts` import map\n4. Add display name in `LanguageSwitcher` `languageNames` map\n5. Sync the sitemap locale list with the app's `locales` array\n6. Regenerate \u002F redeploy the sitemap\n",{"name":5,"description":7},"main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fjavainthinking\u002Fweb-i18n-nextjs",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill i18n-nextjs",{"tool":39,"command":40},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill i18n-nextjs",{"tool":42,"command":43},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill i18n-nextjs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fjavainthinking\u002Fweb-i18n-nextjs\u002FSKILL.md",true,[],[48,56,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":55},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":55},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":55},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":55},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":55},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]