i18n-diagnostics SKILL.md skillA

i18n-diagnostics from yiheng8023/antigravity-chinese is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yiheng8023/antigravity-chinese/i18n-diagnostics@git:20260823.fed1479

Pins git:20260823.fed1479 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yiheng8023/antigravity-chinese
Path
plugins/chinese-toolkit/skills/i18n-diagnostics/SKILL.md
Versions recorded
3
Latest version
git:20260823.fed1479, committed Aug 23, 2026
First version recorded
Aug 16, 2026
Size
3,177 bytes
Repository stars
110
License
MIT

Inspects Google Antigravity Chinese localization status, validates patch health, detects upstream UI drift, runs automated regressions, or assists in adding new translations. Activate this skill when the user asks about Antigravity Chinese localization status, wants to diagnose UI translation issues, run drift detection on upstream updates, or add new translation entries.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Antigravity 本地化诊断与演进工作流 (Localization Diagnostics & Evolution)

本技能为 Antigravity Agent 提供完整的客户端汉化状态诊断、上游版本演进比对、词库维护与自动化回归测试指南。

---

## 🛠️ 常见诊断工作流

### 1. 检查客户端汉化补丁状态
当用户询问当前客户端是否已打上汉化补丁或补丁是否被官方更新覆盖时:
```bash
node cli.js status
```
* **已汉化 (Patched)**:提示用户当前客户端状态完好,如需更新词库可重新运行安装;
* **未汉化 / 被官方覆盖 (Original)**:提示用户完全退出客户端后运行 `install.bat` 或 `node cli.js install`。

---

### 2. 执行上游版本文本漂移分析 (Drift Detection)
当检测到 Antigravity 官方客户端发布了新版本(或用户提供了新版本 `main.js` / `app.asar` 解包目录时):
```bash
npm run scan:drift
```
* 检查输出的 **三层分级指标**:
  * `Observed UI Candidates`(观察到的 UI 候选总量)
  * `Exact Match Coverage`(精确匹配覆盖率)
  * `Rule-Assisted Coverage`(综合有效翻译覆盖率)
  * `Decayed / Stale Rules`(当前版本未观测到的历史陈旧词条)
* 查看生成的详细分析文件:[`tools/drift-report.json`](file:///C:/Projects/antigravity-chinese/tools/drift-report.json)。

---

### 3. 运行端到端自动化测试套件
在修改了词典 [`dict/zh-CN.json`](file:///C:/Projects/antigravity-chinese/dict/zh-CN.json) 或运行时引擎 [`core/i18n-runtime.js`](file:///C:/Projects/antigravity-chinese/core/i18n-runtime.js) 后:
```bash
npm test
```
必须确保以下 6 大测试套件(共 145+ 项断言)100% 全部 PASS:
1. `test/verify.js`(50 项核心 DOM 渲染、代码保护与跨平台候选路径断言)
2. `test/test-screenshots.js`(64 项真实界面截图用例)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yiheng8023/antigravity-chinese/i18n-diagnostics@sha256:f686df1c984c384a

The line at the top of this page pins the label git:20260823.fed1479, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kzsdmtn3vn5fwbrw.svg)](https://markdownregistry.com/a/art_kzsdmtn3vn5fwbrw)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Aug 16, 2026 and Aug 23, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20260823.fed1479 latest2026-08-23 fed1479 3,177 BA view · diff
git:20260823.7b0ef742026-08-23 7b0ef74 3,051 BA view · diff
git:20260816.88652d32026-08-16 88652d3 2,813 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3177 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yiheng8023/antigravity-chinese · 110 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kzsdmtn3vn5fwbrw
GET https://markdownregistry.com/api/v1/resolve?ref=yiheng8023/antigravity-chinese/i18n-diagnostics
GET https://markdownregistry.com/api/v1/blob/f686df1c984c384ab8786312dadf373754ea16ba893a102ec42bc71f247d3e20

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

Browse by kind, by grade A, or by owner.