一键导入
localize-update
Wrap unlocalized user-facing TSX strings with loc() using minimal, targeted source edits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Wrap unlocalized user-facing TSX strings with loc() using minimal, targeted source edits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run the npm package update check script and summarize available updates.
Scan TSX files for potentially unlocalized user-facing strings while excluding known false positives.
Orchestrate full localization by running localize-search, localize-update, and localize-strings in sequence.
Run the build-add-in localization workflow when UI strings are added or changed, including extracting strings, generating translation prompts, updating TSV language files, embedding localized output, and validating results.
Run repository quality checks (compile, lint, style, spell-check, tests, and related validation), then produce an error report with likely root causes and suggested fixes.
| name | localize-update |
| description | Wrap unlocalized user-facing TSX strings with loc() using minimal, targeted source edits. |
Use this skill when a user asks to convert existing hardcoded UI strings into localized strings.
Apply minimal, targeted localization updates in TSX files by wrapping user-facing literals in loc("...").
localize-search:
src/shared/**localize-scan-ignore<code>...</code> blocksTS, HTML, CSS, Libraries in src/components/PageEdit.tsxcontent="...", tip="...").loc("...").src/components/**.loc("...").loc import when missing: import { loc } from "../core/localize/loc"; (adjust relative path as needed).cmd /c "npm run extract-loc"zsh -lc "npm run extract-loc"localize/extract-loc.tsv, language map, enums) to make sure newly wrapped strings are included.localize-strings next)localize-strings for localization artifacts.