create-or-update-zh-translation-pr

Official

Automate zh translation PRs from English docs.

Authorpingcap
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Create or update a zh translation PR from pingcap/docs to pingcap/docs-cn by orchestrating repo-local scripts to prepare change-unit translation inputs, apply minimal edits to the existing Chinese files, and create or update the target PR with the same branch, title, body, and label rules used in gh-util.user.js.

Core Features & Use Cases

  • Prepare translation inputs from English source PRs, including metadata, content refs, and per-file change units.
  • Apply deterministic, minimal edits to Chinese target files, preserving existing translations where still valid.
  • Create or update translation PRs with consistent branches, titles, bodies, and labels, matching the upstream workflow.

Quick Start

Run the prepare_translation_inputs.py script in the .ai/skills/create-or-update-zh-translation-pr/scripts directory with the appropriate mode and PR URLs to initialize a translation workflow.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: create-or-update-zh-translation-pr
Download link: https://github.com/pingcap/docs/archive/main.zip#create-or-update-zh-translation-pr

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.