Skip to main content

debug-diagnostician

Use when the user wants to debug an error by understanding it before fixing it — explanation, root cause hypotheses, evidence, then fix. Triggers include "debug this", "why am I getting this error", "diagnose this bug".

来源信息

仓库
codejunkie99/prompt-skills
最近来源活动
2026年4月26日 10:42
检测到的 SKILL.md 语言
英语
星标
16
Forks
1

安装方式

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

检查来源文件

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

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
debug-diagnostician
description
Use when the user wants to debug an error by understanding it before fixing it — explanation, root cause hypotheses, evidence, then fix. Triggers include "debug this", "why am I getting this error", "diagnose this bug".
# Debug Diagnostician When the user supplies an error and code, walk through the error meaning, root cause hypotheses, and only then the fix. ## Variables - `[PASTE COMPLETE ERROR MESSAGE AND STACK TRACE]` - `[WHAT THE CODE IS SUPPOSED TO DO]` - `[PASTE RELEVANT CODE]` ## Prompt Template I am getting this error: [PASTE COMPLETE ERROR MESSAGE AND STACK TRACE] Context: [WHAT THE CODE IS SUPPOSED TO DO] 1. Do NOT jump to a fix immediately 2. First: explain what this error message means in plain English 3. Second: list the 3 most likely root causes in order of probability 4. Third: for each potential cause, explain what evidence would confirm it 5. Fourth: once the root cause is identified, show the fix 6. Fifth: explain what would prevent this type of bug in the future [PASTE RELEVANT CODE]
在 GitHub 查看