i18n 是做什么的?
LobeHub i18n 借助 react-i18next。适用于面向用户的字符串、语言环境键、命名空间、useTranslation、t()、插值、zh-CN/en-US 预览、硬编码 UI 文字或 pnpm i18n。
LobeHub i18n 借助 react-i18next。适用于面向用户的字符串、语言环境键、命名空间、useTranslation、t()、插值、zh-CN/en-US 预览、硬编码 UI 文字或 pnpm i18n。
该技能为 LobeHub 项目提供基于 react-i18next 的国际化(i18n)解决方案。它专门处理面向用户的字符串翻译,包括语言环境键(locale keys)、命名空间(namespaces)、useTranslation hook 和 t() 函数的插值(interpolation)。支持 zh-CN 和 en-US 的实时预览,便于开发者在编码时直接验证翻译效果。此技能适用于管理硬编码 UI 文字、组织翻译 JSON 文件,并通过 pnpm i18n 命令执行自动化流程。支持平台包括 Claude Code、Cursor 和 Codex 等 AI 代理,帮助开发者高效维护多语言界面。
npx skills add https://github.com/lobehub/lobe-chat/tree/main/skills/i18nLobeHub i18n 借助 react-i18next。适用于面向用户的字符串、语言环境键、命名空间、useTranslation、t()、插值、zh-CN/en-US 预览、硬编码 UI 文字或 pnpm i18n。
This repo contains 4 individual skills — each has its own dedicated page.
LobeHub Drizzle ORM schema and query style. Use for pgTable schemas, indexes, joins, inferred types, db.select/db.query, schema fields, foreign keys, junction tables, or postgres query patterns.
LobeHub React component conventions. Use when editing TSX UI, choosing base-ui vs @lobehub/ui vs antd, styling with antd-style, routing, desktop variants, layouts, or component state.
LobeHub TypeScript style and type-safety guide. Use when editing TS/TSX/MTS, fixing types, choosing interface vs type, avoiding any/object, import type, async flow, or ts-expect-error.
LobeHub Zustand store conventions. Use when editing src/store, store slices, public/internal actions, dispatch actions, flattenActions, optimistic updates, selectors, maps, or class action migration.
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".