← 返回 Skills 市场
mededdahby

Debug System

作者 Mededdahby · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
256
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install debug-system
功能描述
Identify root causes of errors and failures in code, APIs, workflows, and systems. Provides structured debugging steps, explanations, and fixes.
使用说明 (SKILL.md)

\r \r

Debug System\r

\r Find, explain, and fix errors by identifying the root cause.\r \r Use this skill when:\r

  • something is not working\r
  • an error message appears\r
  • a workflow fails\r
  • an API request breaks\r
  • behavior does not match expectations\r
  • the same issue keeps happening\r \r This is an instruction-only skill.\r It does not execute code or access external systems unless the user provides the data.\r \r ---\r \r

What this skill does\r

\r This skill helps an agent:\r \r

  • analyze errors and unexpected behavior\r
  • identify the real root cause (not just symptoms)\r
  • explain what went wrong in simple terms\r
  • suggest concrete fixes\r
  • guide step-by-step debugging\r
  • prevent the issue from happening again\r \r ---\r \r

What this skill does not do\r

\r This skill does not:\r \r

  • guess without evidence\r
  • invent missing logs or results\r
  • claim something is fixed without validation\r
  • access external systems without user input\r
  • provide fake certainty\r \r ---\r \r

Inputs\r

\r Use what the user provides:\r \r

  • error messages\r
  • logs\r
  • code snippets\r
  • API responses\r
  • workflow steps\r
  • expected vs actual behavior\r
  • screenshots or descriptions\r \r If information is missing, state assumptions clearly.\r \r ---\r \r

Debugging process\r

\r

Step 1 — Understand the problem\r

Identify:\r

  • expected behavior\r
  • actual behavior\r
  • when the issue occurs\r
  • what changed recently\r \r ---\r \r

Step 2 — Analyze the error\r

\r Look for:\r

  • exact error message\r
  • stack trace (if available)\r
  • failing step or node\r
  • invalid inputs\r
  • missing fields\r
  • wrong data types\r
  • permission/auth issues\r
  • network/API failures\r \r ---\r \r

Step 3 — Find root cause\r

\r Do not stop at symptoms.\r \r Ask:\r

  • what caused this error?\r
  • what condition triggered it?\r
  • is this reproducible?\r
  • is it a config issue, logic issue, or external failure?\r \r ---\r \r

Step 4 — Propose fixes\r

\r For each issue, provide:\r \r

  • root cause\r
  • why it happens\r
  • exact fix\r
  • alternative fix (if needed)\r
  • how to verify the fix\r \r ---\r \r

Step 5 — Prevent recurrence\r

\r Suggest:\r

  • validation checks\r
  • better error handling\r
  • logging improvements\r
  • retry mechanisms\r
  • safer defaults\r \r ---\r \r

Output format\r

\r

Debug Report\r

\r

Problem Summary\r

  • Expected:\r
  • Actual:\r
  • Context:\r \r

Root Cause\r

  • ...\r \r

Evidence\r

  • ...\r \r

Fix\r

\r

Recommended Fix\r

  • ...\r \r

Alternative Fix\r

  • ...\r \r

Verification Steps\r

  1. ...\r
  2. ...\r
  3. ...\r \r

Prevention\r

  • ...\r
  • ...\r \r

Open Questions\r

  • ...\r
  • ...\r \r ---\r \r

Behavior rules\r

\r

  • Focus on root cause, not just symptoms\r
  • Be clear and actionable\r
  • Do not assume missing data without stating it\r
  • Prefer simple fixes over complex ones\r
  • Explain in a way the user can follow step-by-step\r \r ---\r \r

Quality checklist\r

\r Before finishing, ensure:\r \r

  • root cause is identified\r
  • fix is actionable\r
  • verification steps are clear\r
  • no fake assumptions\r
  • prevention is included\r \r ---\r \r

When not to use this skill\r

\r Do not use this skill for:\r

  • general explanations without a problem\r
  • theoretical discussions without real issues\r
  • tasks unrelated to debugging\r \r Use only when there is a failure, bug, or unexpected behavior.
安全使用建议
This skill is an instruction-only debugging assistant and is internally consistent with its stated purpose. Before using it, avoid pasting sensitive secrets, credentials, or private keys into the chat. If a future version adds install steps, requests environment variables, or includes code files that run commands or download artifacts, reevaluate — those changes would raise new risks. Otherwise, it's safe to use for analyzing error messages, logs, and code snippets you provide.
功能分析
Type: OpenClaw Skill Name: debug-system Version: 1.0.0 The 'debug-system' skill bundle is a purely instructional set of guidelines for an AI agent to perform structured debugging. It contains no executable code, scripts, or external dependencies. The instructions in skill.md focus on analyzing user-provided error messages and logs to identify root causes and suggest fixes, without any evidence of malicious intent or prompt injection.
能力评估
Purpose & Capability
The name and description (identify root causes, suggest fixes) match the SKILL.md instructions. There are no unrelated env vars, binaries, or install steps requested — everything required to use the skill is user-provided data, which is appropriate for a debugging helper.
Instruction Scope
The SKILL.md confines actions to analyzing user-provided inputs (logs, code snippets, API responses). It explicitly states it will not access external systems without user input and does not instruct the agent to read system files, environment variables, or configuration outside what the user supplies.
Install Mechanism
No install spec and no code files — this is instruction-only, so nothing is written to disk or downloaded. That minimizes installation risk and is proportionate for this skill.
Credentials
The skill requests no environment variables, credentials, or config paths. This is appropriate for a debugger that operates on user-supplied data. Note: the skill will analyze whatever the user pastes, so users should avoid submitting secrets or private keys.
Persistence & Privilege
always:false and no install means the skill does not request permanent presence or elevated privileges. Autonomous invocation by the agent is allowed (platform default) but not combined with other concerning privileges here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install debug-system
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /debug-system 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Debug System. - Added command-based debugging interface - Implemented root cause analysis system - Added issue classification (type, impact, confidence) - Added structured debug report output - Included reproduction steps and verification flow - Added JSON output support - Introduced prevention patterns and debugging principles
元数据
Slug debug-system
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Debug System 是什么?

Identify root causes of errors and failures in code, APIs, workflows, and systems. Provides structured debugging steps, explanations, and fixes. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 256 次。

如何安装 Debug System?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install debug-system」即可一键安装,无需额外配置。

Debug System 是免费的吗?

是的,Debug System 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Debug System 支持哪些平台?

Debug System 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Debug System?

由 Mededdahby(@mededdahby)开发并维护,当前版本 v1.0.0。

💬 留言讨论