# Sync Zh En Docs

> Sync Zh En Docs is an Agent Skill for documents published in the web-infra-dev/rsbuild repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Sync uncommitted docs between `website/docs/zh` and `website/docs/en`. Use when authors update docs in one language and need to align the mirrored `.md`/`.mdx` file in the other language.

- Skill name: `sync-zh-en-docs`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/web-infra-dev/rsbuild/blob/HEAD/.agents/skills/sync-zh-en-docs/SKILL.md
- Repository: web-infra-dev/rsbuild (3,353 GitHub stars when collected)

## SKILL.md

# Sync Zh/En Documentation

## Steps

1. Check uncommitted changes under `website/docs/zh` and `website/docs/en`.

2. Translate each changed file to the counterpart path (`zh` <-> `en`), and keep:

- meaning and structure consistent
- technical terms / commands / code blocks unchanged unless localization is required
- concise, clear, professional technical-doc style

3. Format and verify:

```bash
node --run format
```

---

Source: https://www.openparable.com/skill/documents/sync-zh-en-docs (OpenParable). Cite the canonical URL above.
