execution-debugging

v2026.09.24

Scoped debugging methodology for when a test or build fails during execution/stabilization. Use to diagnose the failing check without scope-creeping — read the full error, reproduce in isolation, hypothesize before changing, localize, fix the root cause not the symptom, and guard with a regression test.

GitHub
安装命令
npx skhub add shipshitdev/execution-debugging
Markdown
SKILL.md

<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. </debugging_methodology>

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

未指定

源路径

skills/execution-debugging

默认分支

master

最新提交

a0f9899

Tree SHA

f05942e