error-translator SKILL.md skillA
error-translator from laolaoshiren/claude-code-skills-zh is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add laolaoshiren/claude-code-skills-zh/error-translator@git:20260421.c1b858aPins git:20260421.c1b858a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- laolaoshiren/claude-code-skills-zh
- Path
skills/error-translator/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260421.c1b858a, committed Apr 21, 2026
- First version recorded
- Apr 16, 2026
- Size
- 3,973 bytes
- Repository stars
- 869
- License
- MIT
编程错误消息翻译专家 — 将英文错误消息翻译成中文,解释原因并提供修复方案.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 错误消息翻译专家 ## 触发条件 当用户粘贴或遇到编程错误消息(英文),需要翻译和解释时激活此技能。 ## 工作流程 1. **识别错误类型** - 确定编程语言和运行环境(Python/Java/JavaScript/Go/Rust/C/C++ 等) - 判断错误类型:语法错误、运行时错误、编译错误、框架错误、系统错误 2. **翻译错误消息** - 将英文错误消息准确翻译为中文 - 保留关键的技术术语(类名、函数名、文件路径) - 翻译格式:`原文 → 中文翻译` 3. **分析错误原因** - 用简洁的中文解释错误发生的原因 - 说明常见的触发场景 - 列出可能导致此错误的代码模式 4. **提供修复方案** - 给出 2-3 个具体的修复建议 - 包含修改前后的代码对比示例 - 如果有最佳实践,一并说明 ## 输出格式 ```markdown ## 🌐 错误翻译 **原始消息:** `English error message here` **中文翻译:** 中文翻译内容 ## 🔍 错误分析 **错误类型:** [语法错误|运行时错误|编译错误|框架错误] **发生原因:** 简洁说明为什么会发生这个错误 ## 🔧 修复方案 ### 方案一(推荐) 修改前: \`\`\`language // 有问题的代码 \`\`\` 修改后: \`\`\`language // 修复后的代码 \`\`\` ### 方案二 其他可能的解决方案... ## 💡 预防建议 - 避免此类错误的最佳实践 ``` ## 支持的常见错误类型 ### Python - `TypeError`, `ValueError`, `KeyError`, `IndexError` - `ImportError`, `ModuleNotFoundError` - `AttributeError`, `FileNotFoundError` - `SyntaxError`, `IndentationError` - Django/Flask/FastAPI 框架错误 - `asyncio` 异步错误 - `pandas`/`numpy` 数据处理错误 ### JavaScript/TypeScript - `TypeError`, `ReferenceError`, `SyntaxError` - `Cannot read property of undefined` - `Promise rejection` 错误 - React/Vue/Angular 框架错误 - Node.js 模块和依赖错误 - TypeScript 类型错误 …
Read the whole file at its exact version.
How to install
mdr add laolaoshiren/claude-code-skills-zh/error-translator@sha256:28aff505617ac4b5The line at the top of this page pins the label git:20260421.c1b858a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_4i5gfqj2mxqx2pi3)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Apr 16, 2026 and Apr 21, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260421.c1b858a latest | 2026-04-21 | c1b858a | 3,973 B | A | view · diff |
| git:20260416.7573efe | 2026-04-16 | 7573efe | 2,644 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3973 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
laolaoshiren/claude-code-skills-zh · 869 stars · license MIT · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4i5gfqj2mxqx2pi3 GET https://markdownregistry.com/api/v1/resolve?ref=laolaoshiren/claude-code-skills-zh/error-translator GET https://markdownregistry.com/api/v1/blob/28aff505617ac4b5fd7c847ff436dcb0a0c4f2b2f4916b4e7c9d1042bdade262
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.