Skip to main content

debug-for-openclaw

Triage and resolve failures inside an OpenClaw workspace with a disciplined debugging loop. Use when the request sounds like "help me debug this", "this test is failing", "the build broke", "this works sometimes and I do not know why", or when logs suggest a problem but not the cause.

来源信息

仓库
LeoYeAI/openclaw-coding-skills
最近来源活动
2026年4月28日 07:28
检测到的 SKILL.md 语言
英语
星标
2
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
4 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
debug-for-openclaw
description
Triage and resolve failures inside an OpenClaw workspace with a disciplined debugging loop. Use when the request sounds like "help me debug this", "this test is failing", "the build broke", "this works sometimes and I do not know why", or when logs suggest a problem but not the cause.
# Debug For OpenClaw Debug by narrowing uncertainty, not by guessing fixes. ## Process 1. Reproduce the problem as concretely as possible. 2. Define the observed behavior and the expected behavior. 3. Localize the failure surface before editing code. 4. Reduce the problem to the smallest reproducible case you can get. 5. Form one strong hypothesis at a time. 6. Change the narrowest possible surface. 7. Re-run the proof. 8. Add a guard so the same class of failure is less likely to return. ## OpenClaw Guidance - Prefer first-class tools for inspection when available. - Use browser-based inspection for UI/runtime bugs when the issue is visible in the browser. - Use logs and traces as evidence, not as a substitute for reproduction. - If the bug spans many files, re-enter the planning loop before patching blindly. ## Reference Files Read `references/triage-loop.md` when debugging is getting noisy or speculative. Read `references/failure-patterns.md` when the failure is intermittent, followed a refactor, or appeared after config or environment changes. Read `references/localization-strategies.md` when the bug surface is still too broad and you need to shrink the search space. ## Bad Patterns - changing code before reproducing the bug - stacking multiple speculative fixes - using a passing unrelated test as proof - stopping at symptom removal without understanding cause
在 GitHub 查看