一键导入
systematic-debugging
Structured debugging methodology — reproduce, isolate, hypothesize, verify, fix
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Structured debugging methodology — reproduce, isolate, hypothesize, verify, fix
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Structured brainstorming for exploring new features or solving complex problems
Scope, architect, and plan new tasks
Multi-angle code review before merging
Summarize the day's work and put it in context
Wrap up work — atomic commits and push to origin
Full end-to-end (E2E) testing skill utilizing the browser. Make sure to use this skill whenever the user asks to "test the app", "run end to end tests", "verify the UI", "check if the app works", or wants you to use the browser to interact with and test the application flow. This skill orchestrates creating a test plan, getting user approval, navigating the application using the browser, independently fixing obstacles, and generating a progressive test report.
| name | systematic-debugging |
| description | Structured debugging methodology — reproduce, isolate, hypothesize, verify, fix |
Methodical approach for each debugging attempt. Use alongside the Three Tries Rule (42_workflow_debugging.md) — this skill provides the how for each try.
Before anything else, create a reliable reproduction:
If you can't reproduce it, you can't fix it. Say so and gather more information.
Narrow the problem space:
git log --oneline -20 and git diff — did a recent commit introduce this?composer.lock / package-lock.json diffs.Form a specific, testable theory:
Bad hypothesis: "Something is wrong with the query."
Good hypothesis: "The whereHas clause on line 42 doesn't account for soft-deleted records, causing the empty result set."
Test your hypothesis before applying the fix:
Log::debug() / console.log() at the exact point your hypothesis predicts the failure.If it doesn't match → return to step 3 with a new hypothesis. Don't force-fit.
Apply a single, focused change:
| Pattern | Problem |
|---|---|
| Changing code without a hypothesis | Shotgun debugging — wastes attempts |
| Fixing symptoms instead of root cause | Bug will resurface in a different form |
| Multiple changes in one attempt | Can't tell which change fixed (or broke) things |
| Skipping reproduction | You might fix the wrong bug |
| "It works on my machine" | Not a diagnosis — check environment differences |
If debugging reveals multiple problems: