Skip to content
Back to skills

Error Message Decoder

ASecurity

解析错误信息,提供可能的原因和解决方案。

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
developmentjavascriptjava

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill error-message-decoder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Error Message Decoder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Error Message Decoder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-error-message-decoder/badge)](https://www.skillsdirectory.com/skills/modbender-error-message-decoder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Error Message Decoder
description: 解析错误信息,提供可能的原因和解决方案。
---

# Error Message Decoder

解析错误信息,提供可能的原因和解决方案。

## 功能

- 错误代码解析
- 原因分析
- 解决方案建议
- 多语言支持

## 触发词

- "错误解析"
- "错误解码"
- "error decode"
- "错误原因"

## 支持的错误

```javascript
const knownErrors = {
  'ENOENT': { zh: '文件不存在', fix: '检查文件路径是否正确' },
  'ECONNREFUSED': { zh: '连接被拒绝', fix: '检查服务是否启动' },
  'EADDRINUSE': { zh: '端口已被占用', fix: '杀死占用进程或更换端口' },
  'undefined is not a function': { zh: '调用了未定义的函数', fix: '检查函数名拼写和导入' },
  'null reference': { zh: '空指针错误', fix: '添加空值检查' },
  'CORS error': { zh: '跨域错误', fix: '配置CORS headers' },
  '404': { zh: '资源不存在', fix: '检查URL是否正确' },
  '500': { zh: '服务器内部错误', fix: '检查服务器日志' }
};
```

## 输出示例

```json
{
  "error": "ENOENT: no such file or directory",
  "cause": "文件不存在",
  "fix": "检查文件路径是否正确",
  "suggestion": "确保文件路径存在且拼写正确"
}
```

Files in this skill

  • SKILL.md1.3 KB
  • skill.yaml1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…