Skip to main content

execution-debugging

Supplementary debugging methodology injected into stabilization feedback

来源信息

仓库
shipshitdev/shipcode
最近来源活动
2026年4月21日 16:46
检测到的 SKILL.md 语言
英语
星标
6
分支
0

安装方式

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

检查来源文件

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

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
execution-debugging
description
Supplementary debugging methodology injected into stabilization feedback
<debugging_methodology> <scope_constraint> These steps apply ONLY to diagnosing the failing check. Do not expand beyond the files touched in the original execution. Do not redesign, refactor, or improve code outside the failure path. </scope_constraint> When a test or build fails during stabilization, follow this sequence: 1. READ the full error output — not just the last line. Stack traces, assertion messages, and build logs contain the diagnosis. 2. REPRODUCE the failure in isolation before changing anything. - Run the specific failing test or build step alone. - If it passes in isolation but fails in the suite, the problem is shared state or ordering. 3. HYPOTHESIZE explicitly before each change. - State what you believe is wrong and what evidence supports that belief. - Do not change code "to see if it helps." 4. LOCALIZE — narrow the failure to the smallest possible scope. - Is it in the code you wrote, or in existing code you called? - Is it a type error, a runtime error, or a logic error? - If it is in existing code, the plan may have an unstated assumption — surface it. 5. FIX the root cause, not the symptom. - Suppressing an error message is not a fix. - Adding a null check at the crash site when the upstream function should not return null is not a fix. - Changing the test expectation to match broken behavior is not a fix. 6. GUARD — write or update a test that fails without the fix and passes with it. - This prevents the same failure from recurring in future stabilization cycles. </debugging_methodology>
在 GitHub 查看