What problem does it solve?
Keeping a bilingual changelog in sync is error-prone: translated sections drift out of order, links and commit hashes get altered, and heading conventions become inconsistent. This Skill translates one EcoPaste release section from CHANGELOG.md into CHANGELOG.zh-CN.md while preserving all release metadata and verifying structural parity automatically.
Core Features & Use Cases
- Guided translation workflow: Reads both changelog files, inserts or updates the target release section in place, and applies established heading mappings such as "✨ Features" → "✨ 新功能".
- Terminology consistency: Searches src/locales/zh-CN and existing Chinese entries with ripgrep so product terms like EcoPaste, macOS, Token, and JWT match the UI.
- Automated validation: Runs scripts/check_sync.py to compare version, compare URL, date, section order, content-unit counts, and Markdown links between the English and Chinese releases, plus git diff --check for whitespace issues.
- Use Case: After cutting a new EcoPaste release, invoke the skill to generate the Chinese changelog entry for that version and confirm it passes parity validation before committing.
Quick Start
Use $sync-zh-changelog to translate the latest release from CHANGELOG.md into CHANGELOG.zh-CN.md and validate the result.