Killer-Skills Review
Decision support comes first. Repository text comes second.
This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.
非常适合需要使用 t() 函数进行高级内联翻译的多语言代理。 Internationalization (i18n) patterns using inline t() calls with compile-time Babel transformation. Use when adding or modifying translated text, working with locales, creating new pages or components that need translations, using the t() function, mentioning i18n, translations, locale switching, useLocale, setLocale, or when the user asks about how translations work in this project. Also use when working with the i18n codegen pipeline, Babel plugin, or generated translation bundles.
核心价值
赋予代理商使用 t() 函数进行无缝国际化的能力,生成基于哈希的查找以对 JSON 包进行查找,并利用 Babel 插件进行自动运行时选择,支持使用 JSON 等协议的服务器和客户端组件。
适用 Agent 类型
非常适合需要使用 t() 函数进行高级内联翻译的多语言代理。
↓ 赋予的主要能力 · i18n-patterns
! 使用限制与门槛
- 需要 Babel 插件进行编译时转换
- 仅限于 JSON 包进行翻译数据存储
Why this page is reference-only
- - Current locale does not satisfy the locale-governance contract.
- - The underlying skill quality score is below the review floor.
Source Boundary
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Browser Sandbox Environment
⚡️ Ready to unleash?
Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.
常见问题与安装步骤
以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。
? FAQ
i18n-patterns 是什么?
非常适合需要使用 t() 函数进行高级内联翻译的多语言代理。 Internationalization (i18n) patterns using inline t() calls with compile-time Babel transformation. Use when adding or modifying translated text, working with locales, creating new pages or components that need translations, using the t() function, mentioning i18n, translations, locale switching, useLocale, setLocale, or when the user asks about how translations work in this project. Also use when working with the i18n codegen pipeline, Babel plugin, or generated translation bundles.
如何安装 i18n-patterns?
运行命令:npx killer-skills add QingqiShi/shiqingqi.com/i18n-patterns。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。
i18n-patterns 适用于哪些场景?
典型场景包括:使用 t() 函数进行内联内容翻译以支持多语言、生成基于哈希的查找以实现高效的翻译检索、使用 Babel 插件自动选择运行时以支持服务器和客户端组件。
i18n-patterns 支持哪些 IDE 或 Agent?
该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。
i18n-patterns 有哪些限制?
需要 Babel 插件进行编译时转换;仅限于 JSON 包进行翻译数据存储。
↓ 安装步骤
-
1. 打开终端
在你的项目目录中打开终端或命令行。
-
2. 执行安装命令
运行:npx killer-skills add QingqiShi/shiqingqi.com/i18n-patterns。CLI 会自动识别 IDE 或 AI Agent 并完成配置。
-
3. 开始使用技能
i18n-patterns 已启用,可立即在当前项目中调用。
! 参考页模式
此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
i18n-patterns
安装 i18n-patterns,这是一款面向AI agent workflows and automation的 AI Agent Skill。支持 Claude Code、Cursor、Windsurf,一键安装。