🌐
WritingPython

Error Translator

by laolaoshiren

Error Translator is a Writing skill for Claude Code, published by laolaoshiren in claude-code-skills-zh.

786 stars84 forkson laolaoshiren/claude-code-skills-zhAdded 2026/08/23+1% in starsRepository updated 2026/08/23
ai-agentawesome-listclaude-codeclaude-skillsdeveloper-toolsprompt-engineeringskills
Install in seconds
Install Error Translator
Copy Error Translator into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/error-translator ~/.claude/skills/error-translator

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/laolaoshiren/claude-code-skills-zh.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/error-translator/SKILL.md in laolaoshiren/claude-code-skills-zh
Installs to
~/.claude/skills/error-translator
Collection
One of 20 skills cataloged from this repository
Category
Writing — 1361 skills

What Error Translator does

Error Translator translates English programming errors into Chinese and explains likely causes. Use it when you need a clear reading of a traceback or message plus concrete fix ideas.

Error Translator is cataloged under Writing on DirSkills. Error Translator comes from a repository tagged ai-agent, awesome-list, claude-code, claude-skills and developer-tools.

Documentation

README

错误消息翻译专家

触发条件

当用户粘贴或遇到编程错误消息(英文),需要翻译和解释时激活此技能。

工作流程

  1. 识别错误类型

    • 确定编程语言和运行环境(Python/Java/JavaScript/Go/Rust/C/C++ 等)
    • 判断错误类型:语法错误、运行时错误、编译错误、框架错误、系统错误
  2. 翻译错误消息

    • 将英文错误消息准确翻译为中文
    • 保留关键的技术术语(类名、函数名、文件路径)
    • 翻译格式:原文 → 中文翻译
  3. 分析错误原因

    • 用简洁的中文解释错误发生的原因
    • 说明常见的触发场景
    • 列出可能导致此错误的代码模式
  4. 提供修复方案

    • 给出 2-3 个具体的修复建议
    • 包含修改前后的代码对比示例
    • 如果有最佳实践,一并说明

输出格式

## 🌐 错误翻译

**原始消息:** `English error message here`
**中文翻译:** 中文翻译内容

## 🔍 错误分析

**错误类型:** [语法错误|运行时错误|编译错误|框架错误]
**发生原因:** 简洁说明为什么会发生这个错误

## 🔧 修复方案

### 方案一(推荐)
修改前:
\`\`\`language
// 有问题的代码
\`\`\`

修改后:
\`\`\`language
// 修复后的代码
\`\`\`

### 方案二
其他可能的解决方案...

## 💡 预防建议
- 避免此类错误的最佳实践

支持的常见错误类型

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Error Translator

  • What else does laolaoshiren publish alongside Error Translator?

    Error Translator is one of 20 skills that DirSkills catalogs from laolaoshiren/claude-code-skills-zh, the repository it ships in. Its siblings there include API Tester, Changelog Generator and Chinese Code Reviewer. Each one is a separate skill with its own page in this directory, installs the same way Error Translator does, and is maintained by laolaoshiren in that same repository. The rest of the collection is listed on the laolaoshiren/claude-code-skills-zh page.

  • How does Error Translator compare to other Writing skills?

    Error Translator ranks #571 by stars among the 1361 Writing skills in this catalog. The most-starred ones next to it are Article Writing, Social Media Content Calendar and Knowledge Comic Creator. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Error Translator against them. Open each page to compare what they document and how they install.

More from laolaoshiren/claude-code-skills-zh

Error Translator is one of 20 skills cataloged on DirSkills from laolaoshiren/claude-code-skills-zh.

See all 20 skills →
🧪
2026/08/23

API Tester

API Tester generates and verifies API tests from OpenAPI, routes, types, and existing tests. Use it to add interface tests, validate contracts, create regressions, or investigate compatibility without guessing responses or sending writes without approval.
Quality
78684
📝
2026/08/23

Changelog Generator

Changelog Generator creates changelogs and release notes from Git history. Use it when you need to summarize commits into versioned change logs.
Writing
78684
🔍
2026/08/23

Chinese Code Reviewer

Chinese Code Reviewer generates structured code review reports in Chinese. Use it when you need to check code quality, bugs, performance, security, and design issues.
Quality
78684
📚
2026/08/23

Chinese Documentation Generator

Chinese Documentation Generator creates Chinese technical documentation from a codebase, including project overviews, quick start guides, API references, examples, and FAQs. Use it when you need Markdown docs for a project or API.
Writing
78684
🗄️
2026/08/23

Database Migrator

Database Migrator compares schemas, identifies table and column changes, and generates migration scripts with rollback steps. Use it when you need database upgrades, schema changes, or framework-specific migrations.
DevOps
78684
🔍
2026/08/23

Dependency Auditor

Dependency Auditor 审计 Node.js、Python、Go、Rust、JVM 和 Ruby 项目的依赖漏洞、版本健康度与许可证事实。适合在检查 lockfile、manifest 或生成不改依赖的中文审计报告时使用。
Quality
78684