Borrowing it
Nothing to install: this file belongs to starcat-app/Starcat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/starcat-app/Starcat/main/.claude/skills/starcat-localization-sync/SKILL.mdgit clone --depth 1 https://github.com/starcat-app/StarcatWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/starcat-app/starcat/starcat-localization-sync)<a href="https://agentmods.dev/skills/starcat-app/starcat/starcat-localization-sync"><img src="https://agentmods.dev/badge/skills/starcat-app/starcat/starcat-localization-sync.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.01998 |
| Opus 5 | $0.00053 | $0.00999 |
| Sonnet 5 | $0.00021 | $0.00400 |
| Haiku 4.5 | $0.00011 | $0.00200 |
Grade A, and why
starcat-localization-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Starcat 本地化同步
处理 Starcat 运行时 String Catalog 与公开本地化仓库之间的完整生命周期。先读
references/localization-map.md,再按本文件选择执行路径。
硬闸(2026-08-18):日常功能开发往 Starcat/Resources/Localizable.xcstrings 加 key / 改文案,禁止走本 skill,禁止 scripts/xcstrings_patch.py --apply,禁止 Python/jq 读入全文再写回。只允许按 docs/5-规范/i18n-军规.md 铁律 #6 做相邻 key 关键词局部匹配。本 skill 仅在 dong4j 明确要求本地化同步 / 导入导出 / 审计时使用。
核心模型
始终区分四个阶段,不得用后一个阶段的状态掩盖前一个阶段缺失的证据:
| 阶段 | 含义 | 允许结果 |
|---|---|---|
| AI 初稿 | 机器翻译完成,尚未批准 | needs-review-translation |
| 翻译批准 | 人工审核,或维护者明确接受 AI 风险 | translated / final / signed-off |
| 导入 Catalog | 已批准 target 写回 App | locale 仍可保持 draft |
| 正式发布 | 编译、AppLocale、UI 和 RTL 门禁通过 | releaseStatus=released |
“翻译批准”不等于“正式发布”。维护者跳过母语审核时,也不能自动跳过 UI、编译和 Arabic RTL 验收。
硬性规则
- 所有说明使用中文;命令、路径、locale、key、JSON 字段保持原文。
- 写入前先给出范围、状态变化和验证方案,等用户确认。
- 运行时单一来源是
Starcat/Resources/Localizable.xcstrings;公开协作单一来源是supports/starcat-localization/Translation Packages/。 supports/starcat-localization是独立 Git 仓库;分别检查、提交和回滚,不混入 Starcat 主仓库 commit。- 新增或修改用户可见文案时,同时维护
en和zh-Hans。 - 新增 key 使用
{section}.{subsection}.{component},禁止_。 - AI 生成只能写
needs-review-translation。 - 默认只导入
translated、final、signed-off;禁止普通流程使用--allow-unreviewed。 - 可执行代码块、行内代码、URL 和占位符必须逐字保留。
.xcstrings只做局部编辑;用jq empty校验,禁止用 formatter 重写全文。- 不使用
String(localized:)或NSLocalizedString;Swift 代码任务先读 i18n 规范。 - 未观察到的母语质量、UI 或 RTL 验收不得写成已完成。
任务路由
| 用户目标 | 入口 |
|---|---|
| 同步最新 key/source | python3 supports/scripts/starcat-localization.py export |
| 查看完成度 | python3 supports/scripts/starcat-localization.py report --format json |
| 审计包和发布门禁 | python3 supports/scripts/starcat-localization.py audit |
| 生成/续跑 AI 初稿 | python3 supports/starcat-localization/scripts/translate_draft.py |
| 定向重译 | translate_draft.py --key <key> --apply |
| 恢复技术字面量 | translate_draft.py --repair-protected-literals --apply |
| 人工审核后导入 | starcat-localization.py import / import-all |
| 维护者接受 AI 初稿 | python3 supports/starcat-localization/scripts/promote_drafts.py |
| 正式开放语言 | 先导入,再扩展 AppLocale,最后提升 releaseStatus |
修补已有 .xcstrings |
scripts/xcstrings_patch.py show/set/set-batch |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 143 lines · 105 tokens per session scan A 8e875dfb33f1
starcat-localization-sync is a skill published in the GitHub repository starcat-app/Starcat (146 stars, last pushed today), licensed MIT. It adds 105 tokens to every session and 1,998 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
binder-app
Build a small HTTP app (dashboard, kanban board, admin panel, custom UI) on top of an existing Binder workspace. Use when asked to "create an app", "build a dashboard", "show records in a chart", "make a kanban/board", "build an admin panel", or "add a UI on top of binder".
memobase
A Russian-language skill for searching a local knowledge base built from documents and other sources such as web pages, YouTube, audio, and Obsidian notes.
saas-landing
Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".
worker-visualizer
A real-time data/particle/simulation visualizer whose heavy compute runs in a Web Worker (off the main thread), optionally sharing memory with the UI via SharedArrayBuffer, and renders to a canvas at 60fps. Produced as a single self-contained index.html. Use when the brief asks for a "web worker", "simulation"…
webgl-particle-galaxy
A real-time particle galaxy — tens of thousands of additive-blended GPU points spiraling around a bright core, their orbits solved entirely in the vertex shader (from glVertexID), so the whole cloud draws in one call. Rendered as a single self-contained index.html. Use when the brief asks for a "particle field"…
webgl-liquid-metal
A real-time liquid-metal shader — a domain-warped noise field shaded as molten chrome, with a sweeping specular highlight over an iridescent thin-film (cosine-palette) sheen. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "liquid metal", "molten chrome", "iridescent"…