百度语音识别 - 将语音消息转换为文本。支持中文普通话、英语、粤语、四川话。专为国内服务器环境优化,自动绕过代理访问百度 API。
The English summary is being prepared. Showing the original description.
Use when defining or updating Go CLI i18n rules in this repo, especially around locale files, env-based language selection, and key naming.
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
This skill documents the Go CLI i18n rules used in this repo, including language detection, locale files, and key naming conventions.
cmd/skills-xcmd/skills-x/i18n/i18n.gocmd/skills-x/i18n/locales/zh.yaml, cmd/skills-x/i18n/locales/en.yaml//go:embed locales/*.yaml (locales are embedded at build time)Priority order in detectLanguage():
SKILLS_LANGLANGLC_ALLzhNormalization uses prefix matching:
zh, zh_CN, zh_TW → zhen, en_US → enzhInitialize once (early in main):
import "github.com/castle-x/skills-x/cmd/skills-x/i18n"
i18n.MustInit()
Translate strings:
title := i18n.T("list_header")
msg := i18n.Tf("init_success", skillName)
Missing keys return the key itself (useful for spotting gaps).
Use lowercase + underscores with category prefixes:
app_ app metadatacmd_ command descriptions/flagslist_ list outputinit_ init outputerr_ error messagescat_ category namesskill_ skill descriptionsmeta_ meta warningsRule: Never mix Chinese and English in the same string. Use two locale keys instead.
cmd/skills-x/i18n/locales/zh.yamlcmd/skills-x/i18n/locales/en.yamli18n.T / i18n.Tf in Go code.make build) to embed the updated YAML.SKILLS_LANG=zh ./bin/skills-x listSKILLS_LANG=en ./bin/skills-x listAdd a skill_<skill-name> key to both locale files. The list view reads descriptions from i18n, not from the skill file.
# locales/en.yaml
init_success: "Installed: %s"
# locales/zh.yaml
init_success: "安装成功: %s"
fmt.Println(i18n.Tf("init_success", skillName))
| Item | Value |
|---|---|
| Locale files | cmd/skills-x/i18n/locales/{zh,en}.yaml |
| Init | i18n.MustInit() |
| Translate | i18n.T, i18n.Tf |
| Language priority | SKILLS_LANG > LANG > LC_ALL > zh |
fmt.Sprintf before calling i18n.TfNo reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
百度语音识别 - 将语音消息转换为文本。支持中文普通话、英语、粤语、四川话。专为国内服务器环境优化,自动绕过代理访问百度 API。
The English summary is being prepared. Showing the original description.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
The English summary is being prepared. Showing the original description.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
The English summary is being prepared. Showing the original description.
Use when you have a written implementation plan to execute in a separate session with review checkpoints
The English summary is being prepared. Showing the original description.
帮助用户将飞书群机器人 Webhook 通知接入 Claude Code,使得每次任务完成后自动发送飞书消息卡片通知。 触发场景(当用户提到以下任意内容时激活此 skill): - "飞书通知"、"接入飞书"、"飞书提醒" - "task 完成通知"、"任务完成提醒" - "claude 完成提醒"、"claude 通知" - "Stop hook 通知"、"hook 通知" - "发飞书消息"、"飞书机器人" - "任务结束通知"、"配置通知"
The English summary is being prepared. Showing the original description.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
The English summary is being prepared. Showing the original description.