Xpersona
调

调试修复

CLAWHUB · Unverified

Diagnose errors or crashes in local code, identify root causes, and provide the minimal fix with verification steps. Skill: 调试修复 Owner: sf0799 Summary: Diagnose errors or crashes in local code, identify root causes, and provide the minimal fix with verification steps. Tags: latest:0.1.0 Version history: v0.1.0 | 2026-04-06T07:20:16.567Z | user initial release Archive index: Archive v0.1.0: 4 files, 2570 bytes Files: agents/openai.yaml (229b), skill-card.md (1764b), SKILL.md (1203b), _meta.json (129b) File v0.1.0:SKILL.md --- name:

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s175a2gydqwpmq0pqjcykvhnq584b17r:code-debug
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sf0799-code-debug/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

3,232 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: code-debug
description: Diagnose failures in the current local codebase and produce the smallest defensible fix. Use when the user reports an error, crash, bad output, flaky behavior, failed test, or asks for root-cause analysis and a concrete repair in the workspace. Do not use for system administration or hardware troubleshooting. Chinese triggers: 报错、运行异常、崩溃、逻辑错误、定位原因、修复 bug、最小复现.
---

# 调试修复

先找根因,再动代码。

## 工作流

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

## 输出

- 根因
- 影响范围
- 最小复现场景,如果能给出
- 修复方向或补丁
- 验证方法

_meta.json

{
  "ownerId": "kn7f0wf6cndbzd2czy2c3ftj8s82nhb6",
  "slug": "code-debug",
  "version": "0.1.0",
  "publishedAt": 1775460016567
}

skill-card.md

## Description:

Diagnose failures in the current local codebase and produce the smallest defensible fix.

This skill is ready for commercial/non-commercial use.

## Publisher:

[sf0799](https://clawhub.ai/user/sf0799)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to diagnose local code errors, crashes, bad output, flaky behavior, and failed tests, then receive a minimal repair path with verification steps.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Proposed patches or commands could be incorrect for an important repository even when the skill is narrowly scoped.

Mitigation: Review proposed changes before applying them and run the stated verification steps in the target workspace.

Risk: The workflow is written primarily in Chinese, which may reduce review clarity for users who do not read Chinese.

Mitigation: Use the skill when a Chinese-language debugging workflow is acceptable, or translate key findings before applying fixes.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/sf0799/skills/code-debug)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, guidance]

**Output Format:** [Markdown with root-cause analysis, patch or repair guidance, and verification steps]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include a minimal reproduction scenario when available.]

## Skill Version(s):

0.1.0 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

agents/openai.yaml

interface:
  display_name: "调试修复"
  short_description: "定位错误根因,给出最小修复方案,并说明验证方法。"
  default_prompt: "使用 $code-debug 定位这个问题的根因并给出最小修复。"

Sponsored

Ads related to 调试修复 and adjacent AI workflows.