TopRank Skills

Home / Claw Skills / Intégration d'API / syncause-debugger
Official OpenClaw rules 54%

syncause-debugger

Diagnose and fix bugs using runtime execution traces. Use when debugging errors, analyzing failures, or finding root causes in Python, Node.js, or Java applications.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 syncause-debugger 技能。 若已安装,则直接安装 syncause-debugger 技能。

Overview

Skill Key
dxsup/runtime-debug-skill
Author
dxsup
Source Repo
openclaw/skills
Version
-
Source Path
skills/dxsup/runtime-debug-skill
Latest Commit SHA
af35c7b68bec928f844404cdab0608b266f09eaf

Extracted Content

SKILL.md excerpt

# Syncause Debugger

Use runtime traces to enhance bug fixing: collect runtime data with the SDK, then analyze with MCP tools.

**Before fix, create a detailed plan** to ensure no details are missed, always include 4 phases: Setup → Analyze → Summary → Teardown.

## Phase 1: Setup

### Pre-check

1. **MCP Server**: This skill depends on `debug-mcp-server` MCP server. If it is not present, **STOP** and request the user to install the MCP server ([Anonymous Mode (Default)](./references/install/mcp-install-anonymous.md) or [Login Mode](./references/install/mcp-install-login.md)).
2. **Authentication**: If any MCP Tool returns a `Unauthorized` error, **STOP** and request the user to configure the `API_KEY` ([Login Mode Guide](./references/install/mcp-install-login.md)).

Verify SDK NOT already installed by checking dependency files:
- Java: `pom.xml` or `build.gradle`
- Node.js: `package.json`
- Python: `requirements.txt` or `pyproject.toml`

**WARNING:** `.syncause` folder is NOT a reliable indicator.

### Steps
1. **Initialize Project**: Use `setup_project(projectPath)` to get the `projectId`, `apiKey`, and `appName`. These are required for SDK installation in the next step.
   - **WARNING:** If tool not found or returns `Unauthorized`, **STOP** and follow [Pre-check](#pre-check).
2. **Install SDK**: Follow language guide:
   - [Java](./references/install/java.md)
   - [Node.js](./references/install/nodejs.md)
   - [Python](./references/install/python.md)
3. **Verify install**: Re-read dependency file to confirm SDK added
4. **Restart service**: Prefer starting new instance on different port over killing process
5. **Search for existing traces**: Before reproducing the bug, first try `search_debug_traces(projectId, query="<symptom>")` to check if relevant trace data already exists.
   - **If traces found** → Skip reproduction, proceed directly to [Phase 2: Analyze & Fix](#phase-2-analyze--fix) using the found `traceId`.
   - **If no traces found** → Continue to Step 6...

Related Claw Skills