md-translator
Skill87 starsChanged 6 months agoApache-2.0View on GitHub
将指定的本地 Markdown 文件翻译成指定语言(默认中文),并在文件名中添加语言标识后缀。当用户请求翻译本地 Markdown 文档时调用此技能。
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-skill-reviewerSkill
- code-readerSkill
- dir-organizerSkill
- doc-reviewerSkill
- drawio-designerSkill
- editorial-card-designerSkill
- humanizer-zhSkill
- md-link-checkerSkill
- md-summarizerSkill
- ontologySkill
- openspec-assistantSkill
- pptx-editorSkill
- pptx-readerSkill
- project-analyzerSkill
- reference-organizerSkill
- self-reviewSkill
- tech-outline-plannerSkill
- update-submitterSkill
- web-content-downloaderSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use the file reading tool to read the contents of the local Markdown file specified by the user.
- Distinctive: line 22
Chunking for Long Documents: If the document is extremely long, split it into logical chunks (e.g., by main headers) and translate them …
- Very specific: line 24
Table Handling: If the original text contains tables, you MUST accurately maintain the standard Markdown table format.
- Distinctive: line 25
Formatting Rules: Ensure the typography follows standard rules: insert spaces between Chinese and English characters.
- Distinctive: line 30
Write the translated Markdown content into the new file.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
English version: SKILL-en.md
Markdown Translator
This skill is used to translate the content of a specified local Markdown file into a target language (default is Chinese), and save the translated content as a new file with a language identifier suffix appended to the filename (e.g., filename_zh.md).
Workflow
Strictly follow these steps:
1. Read the Original Document
- Use the file reading tool to read the contents of the local Markdown file specified by the user.
2. Translate the Content
- Translate the text content professionally and rigorously into the language specified by the user (if not specified, default to Chinese).
- Chunking for Long Documents: If the document is extremely long, split it into logical chunks (e.g., by main headers) and translate them sequentially to prevent context truncation or missing content.
- Format Preservation: You MUST preserve the original Markdown formatting during translation (including headers, lists, code blocks, bold text, links, image references, etc.).
- Table Handling: If the original text contains tables, you MUST accurately maintain the standard Markdown table format. Avoid using HTML line break tags like
<br>inside Markdown tables. - Formatting Rules: Ensure the typography follows standard rules: insert spaces between Chinese and English characters; ensure code blocks have explanatory comments.
3. Save the Translation Result
- Generate a new filename based on the target language. Append a language identifier suffix to the original filename (e.g., if the original file is
article.md, save it asarticle_zh.mdfor Chinese, orarticle_en.mdfor English). - Write the translated Markdown content into the new file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

