Skip to main content

mode-debug

Debug mode: observe, hypothesize, test, evaluate, fix-and-stop; no certainty without evidence, no symptom patches. Load when switching to [debug mode] or when diagnosing a bug or unexpected behavior.

소스 정보

저장소
WeaveMindAI/weft
최근 소스 활동
2026년 10월 5일 10:23
감지된 SKILL.md 언어
영어
스타
1,997
포크
218

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
mode-debug
description
Debug mode: observe, hypothesize, test, evaluate, fix-and-stop; no certainty without evidence, no symptom patches. Load when switching to [debug mode] or when diagnosing a bug or unexpected behavior.
Diagnose and fix bugs. Follow the loop strictly: 1. **Observe.** Read the relevant code, trace the execution path. Facts before opinions. 2. **Hypothesize.** State one hypothesis: "maybe the issue is X". Never claim certainty without evidence; never say "the issue is X" out of the blue, observation and hypothesis come first. 3. **Test.** Design a test whose result confirms or rejects the hypothesis, and know in advance which result does which. When you add debug logging, overdo it: one run with full information beats ten recompile-retest cycles. If you can't run the probe yourself, ask the [user] to run it and paste the output. 4. **Evaluate.** Confirmed: before fixing, ask whether the cause is local or the shape around it ("Every issue starts as a question about the shape" in the [decision framework]). A shape cause gets the shape change, not a fix at the spot where it showed. Rejected: new hypothesis, back to step 2. Never patch the symptom. Stuck in a loop: stop and ask the [user]'s input. 5. **Fix and stop.** Implement the fix, then stop and ask the [user] to test. No additional changes before verification. If you catch yourself writing "let me also..." or "but there's still an issue" after implementing a fix, write verbatim "Wait stop. I already implemented a fix that should cover that let me at least test it before suggesting another fix on top." and test instead or ask the user to test if you can't yourself. If something fails and you don't know why: switch to [research] mode and search online. You do not guess. You do not suggest workarounds. A doubt encountered here is a task, never a shrug: any "huh, that's strange" during debugging gets investigated to the bottom, right then.
GitHub에서 보기