← 返回 Skills 市场
sf0799

Code Debug

作者 sf0799 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
218
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install code-debug
功能描述
Diagnose errors or crashes in local code, identify root causes, and provide the minimal fix with verification steps.
使用说明 (SKILL.md)

调试修复

先找根因,再动代码。

工作流

  1. 能复现就先复现,不能复现就尽量缩小到最小场景。
  2. 先判断错误类别:语法、运行时、逻辑、异步顺序、类型、边界、依赖、配置或资源处理。
  3. 优先检查常见问题:off-by-one、空值处理、过期状态、竞争条件、输入假设错误、资源未释放。
  4. 用代码、日志或执行结果锁定根因,不做玄学猜测。
  5. 用最小安全修复解决真正的根因。
  6. 非必要不夹带重构;结构太差影响修复时再单独说明。
  7. 用最短可靠方式验证修复结果。

输出

  • 根因
  • 影响范围
  • 最小复现场景,如果能给出
  • 修复方向或补丁
  • 验证方法
安全使用建议
This skill is coherent and instruction-only, but remember: for it to debug effectively it will need to read your workspace files, logs, and may run tests or code — which can execute untrusted code or touch sensitive data. Before using: (1) run it only on code you trust or inside an isolated sandbox/container, (2) back up or use version control so you can review and approve patches before applying, (3) avoid exposing secrets in the workspace while debugging, and (4) if you prefer manual review, disable autonomous invocation or require user confirmation before applying fixes.
功能分析
Type: OpenClaw Skill Name: code-debug Version: 0.1.0 The skill bundle is a standard utility for code debugging and root-cause analysis. The instructions in SKILL.md outline a logical workflow for reproducing errors and implementing minimal fixes without any evidence of malicious intent, data exfiltration, or unauthorized execution. All files, including agents/openai.yaml and _meta.json, are consistent with the stated purpose of diagnosing software defects.
能力评估
Purpose & Capability
Name and description match the SKILL.md: it is an instruction-only debugging helper for diagnosing and producing minimal fixes to local code. It requests no binaries, env vars, installs, or external services, which is proportional for the stated purpose.
Instruction Scope
The instructions direct the agent to reproduce failures, inspect code, logs, and execution results, and produce minimal fixes and verification steps. That scope is appropriate for debugging, but implies the agent may read project files, logs, and run tests or code in the workspace — actions the user should be aware of because they can execute untrusted code or access sensitive files.
Install Mechanism
No install spec or code files are present (instruction-only). This minimizes supply-chain risk because nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no environment variables, credentials, or config paths. There are no requests for unrelated secrets or credentials, which is appropriate for a local debugging assistant.
Persistence & Privilege
The skill does not request always: true and has default invocation settings. It does not modify other skills or system-wide settings. Autonomous invocation is permitted by default (platform default) but is not combined with other high-risk factors here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-debug
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-debug 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
initial release
元数据
Slug code-debug
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Code Debug 是什么?

Diagnose errors or crashes in local code, identify root causes, and provide the minimal fix with verification steps. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 218 次。

如何安装 Code Debug?

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

Code Debug 是免费的吗?

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

Code Debug 支持哪些平台?

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

谁开发了 Code Debug?

由 sf0799(@sf0799)开发并维护,当前版本 v0.1.0。

💬 留言讨论