/lumio:systematic-debuggingfrom lumio
Enforces a four-phase root cause investigation process before any fix is attempted. Use when encountering bugs, test failures, or unexpected behavior.
Ships in lumio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Random fixes waste time and create new bugs. Quick patches mask underlying issues.
Core principle: ALWAYS find root cause before attempting fixes. Symptom fixes are failure.
Violating the letter of this process is violating the spirit of debugging.
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
If you haven't completed Phase 1, you cannot propose fixes.
Any technical issue: test failures, bugs, unexpected behavior, performance problems, build failures, integration issues.
ESPECIALLY when skipping is tempting: under time pressure, "just one quick fix" seems obvious, previous fixes didn't work, or the issue seems simple. Systematic debugging is faster than guess-and-check thrashing — and simple bugs have root causes too.
Complete each phase before the next.
root-cause-tracing.md in this directory.rules/dispatch.md「测试分级」): create a failing test case first (use test-driven-development) — simplest reproduction; MUST exist before fixing. Small fixes: reproduce the symptom with the exact steps from Phase 1 instead — no new test required, but the symptom must be shown gone in step 3Each fix revealing a new problem elsewhere, or every fix requiring "massive refactoring", means the pattern itself may be wrong. This is not a failed hypothesis — it's a wrong architecture. STOP and discuss with the user before attempting more fixes.
| Excuse | Reality |
|---|---|
| "Issue is simple, don't need process" | Simple issues have root causes too; the process is fast for them. |
| "Emergency, no time for process" | Systematic debugging is FASTER than thrashing. |
| "I'll write the test after confirming the fix" | Untested fixes don't stick. Test first proves it. |
| "Reference too long, I'll adapt the pattern" | Partial understanding guarantees bugs. Read it completely. |
| "One more fix attempt" (after 2+) | 3+ failures = architectural problem. Stop fixing symptoms. |
| Phase | Key activities | Done when |
|---|---|---|
| 1. Root cause | Read errors, reproduce, check changes, gather evidence | You understand WHAT and WHY |
| 2. Pattern | Find working examples, compare | Differences identified |
| 3. Hypothesis | Single theory, minimal test | Confirmed or replaced |
| 4. Implementation | Failing test, single fix, verify | Bug resolved, tests pass |
If the issue is truly environmental or timing-dependent: document what you investigated, implement appropriate handling (retry / timeout / clear error message), add logging for future investigation. But 95% of "no root cause" cases are incomplete investigation.
In this directory: root-cause-tracing.md (trace bugs backward through the call stack), defense-in-depth.md (multi-layer validation after the root cause is found), condition-based-waiting.md (replace arbitrary timeouts with condition polling).
Related: test-driven-development (Phase 4's failing test for large fixes; small fixes reproduce by steps — size gate in rules/dispatch.md「测试分级」); claim "fixed" only with the verification run per rules/dispatch.md「收工即验证」.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
debugging, root-cause-analysis, bug-hunting, troubleshooting
6 skills in this plugin
/brainstormingUse when starting creative work - creating features, building components, adding functionality, or modifying behavior - before any implementation. Explores user intent, requirements and design./spec-steward维护 LumioAgentSpec 的结构并把改动沉淀进知识库——放对位置(插件资产 vs 项目实例)、校验 frontmatter、同步索引与名册、更新状态。当新增或修改 Agent、Skill、知识或规则,或完成一处改动后需要沉淀时使用。/subagent-driven-developmentUse when executing an implementation plan or a set of task cards in the current session — dispatches implementer subagents wave by wave (contract cards first) and routes the merged whole to one closeout reviewnpx claudepluginhub lumiogames/lumioagentspec --plugin lumioOther plugins' skills for the same job