docs: make routine translation lightweight

This commit is contained in:
Tianyi Cui
2026-08-08 15:26:47 +08:00
committed by Turtle
parent d2321d210a
commit c5dd99124c
23 changed files with 118 additions and 41 deletions

View File

@@ -1,10 +1,16 @@
---
name: dsh-translate-docs
description: Use when creating or updating the bilingual counterpart of a doc in this repo (English ↔ Chinese pairs) — tells the orchestrating agent when to delegate translation to a subagent, and orients the translator to the pairing contract, the terminology source of truth, the translation rules, and the consistency gate that verifies the result
description: Manually run the extended DeepSeek Harness bilingual-document workflow, including generated briefings, delegated prose translation, whole-document translation, and scoped pairing verification.
disable-model-invocation: true
user-invocable: true
---
# Translating DeepSeek-Harness docs
## Invocation boundary
Run this extended workflow only when the user explicitly invokes `dsh-translate-docs` by name. Never select or load it for ordinary documentation work, from another skill, or from an inferred translation need; routine translation follows the one-shot, one-pass rule in [docs/AGENTS.md](../../../docs/AGENTS.md).
## What this skill is
**This skill is guidance, not a translation memory.** It is the workflow map for keeping `foo.md ↔ foo.zh.md` pairs consistent and natural in both languages. Both languages carry equal authority — a change is authored in either one, and that side is the source for that update. You are the translator: the rules below say what must hold, not how to phrase any particular sentence — phrasing judgment is yours, terminology is not.

View File

@@ -0,0 +1,7 @@
interface:
display_name: "DSH Extended Doc Translation"
short_description: "Run the full bilingual documentation workflow manually"
default_prompt: "Use $dsh-translate-docs to run the extended bilingual-document workflow for the specified pair."
policy:
allow_implicit_invocation: false