docs-i18n SKILL.md skillA
docs-i18n from opentiny/genui-sdk is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add opentiny/genui-sdk/docs-i18n@git:20260813.1f3839ePins git:20260813.1f3839e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- opentiny/genui-sdk
- Path
.agents/skills/docs-i18n/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260813.1f3839e, committed Aug 13, 2026
- First version recorded
- Jul 24, 2026
- Size
- 5,697 bytes
- Repository stars
- 185
- License
- MIT
Sync GenUI SDK docs between Chinese and English when adding, editing, renaming, or deleting documentation under docs/. Use when the user modifies docs/src/, docs/demos/, docs/demos/en/, zh-theme.ts, en-theme.ts, or asks to update English docs, i18n docs, or mirror Chinese documentation changes.
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
# GenUI SDK 文档国际化
完整约定见仓库根目录 `docs/I18N.md`。修改中文文档时(共享 demo、仅改图片等例外除外),**必须同步**英文镜像与导航配置。
## 目录映射
| 类型 | 中文 | 英文 |
|------|------|------|
| Markdown | `docs/src/<path>.md` | `docs/src/en/<path>.md` |
| Demo | `docs/demos/<path>.vue` | `docs/demos/en/<path>.vue` |
| 图片 | `docs/src/public/`(共用,无需复制) | 同上 |
| 中文导航 | `docs/.vitepress/config/zh-theme.ts` | — |
| 英文导航 | — | `docs/.vitepress/config/en-theme.ts` |
**路径规则**:
- 文档:`docs/src/examples/chat/foo.md` → `docs/src/en/examples/chat/foo.md`(在 `src/` 后插入 `en/`)
- Demo:`docs/demos/chat/foo.vue` → `docs/demos/en/chat/foo.vue`(在 `demos/` 后插入 `en/`,文件名相同)
## 工作流程
根据用户操作选择对应流程,完成后执行「验证清单」。
### 新增文档
1. 编写中文 `docs/src/<path>.md`
2. 有交互示例时:
- 中文:`docs/demos/<name>.vue`
- 含中文 UI/文案时:`docs/demos/en/<name>.vue`(翻译 UI 文案、alert、Schema label 等;代码注释可翻译或保留)
- 纯英文、无文本、或 i18n 演示类 demo → 共用中文版,不建 `demos/en/` 镜像
3. 图片放入 `docs/src/public/`(中英文共用)
4. 在 `zh-theme.ts` 对应 sidebar 添加条目:
```ts
{ text: '中文标题', link: '/examples/chat/my-feature' },
```
5. 创建并翻译 `docs/src/en/<path>.md`
6. 在 `en-theme.ts` 对应 sidebar 添加条目(链接带 `/en` 前缀):
```ts
{ text: 'English Title', link: '/en/examples/chat/my-feature' },
```
…Read the whole file at its exact version.
How to install
mdr add opentiny/genui-sdk/docs-i18n@sha256:039effc6553404a2The line at the top of this page pins the label git:20260813.1f3839e, 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.
[](https://markdownregistry.com/a/art_ck5eonj4cktyxibg)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 24, 2026 and Aug 13, 2026, about one every 10 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260813.1f3839e latest | 2026-08-13 | 1f3839e | 5,697 B | A | view · diff |
| git:20260804.5562fc9 | 2026-08-04 | 5562fc9 | 5,688 B | A | view · diff |
| git:20260724.c2b5089 | 2026-07-24 | c2b5089 | 5,542 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5697 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
opentiny/genui-sdk · 185 stars · license MIT · pushed 2026-11-04 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_ck5eonj4cktyxibg GET https://markdownregistry.com/api/v1/resolve?ref=opentiny/genui-sdk/docs-i18n GET https://markdownregistry.com/api/v1/blob/039effc6553404a27bc2f9b4c5f423e7730a9ef1bd6812cbcef7585c947cf594
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.