/deprecated:systematic-debuggingfrom deprecated
Deprecated and retired without replacement. Formerly used when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Ships in deprecated. 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.
Deprecated. Retired without replacement. This copy is archived and no longer maintained.
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.
Use for ANY technical issue:
Use this ESPECIALLY when:
Don't skip when:
You MUST complete each phase before proceeding to the next. Each phase below is the orchestrator-level summary; the full step-by-step walk-through, including multi-component evidence-gathering, the architecture-questioning escape hatch, and the "no root cause" edge case, lives in four-phases.md in this directory.
Read errors carefully, reproduce consistently, check recent changes, and gather evidence at every component boundary in multi-layer systems before forming any theory. If the error is deep in a call stack, trace data flow backward to the source.
See four-phases.md for the full Phase 1 procedure and root-cause-tracing.md for the backward tracing technique.
Find similar working code, read reference implementations completely (no skimming), enumerate every difference between working and broken, and understand all dependencies before fixing.
See four-phases.md for the full Phase 2 procedure.
Form one specific hypothesis ("I think X is the root cause because Y"), make the smallest possible change to test it, change one variable at a time, and form a new hypothesis on failure rather than stacking fixes.
See four-phases.md for the full Phase 3 procedure.
Create a failing test case before fixing anything, implement one targeted fix at the root cause (no bundled refactoring), and verify. If 3+ fixes have failed: stop and question the architecture. That pattern means the design is wrong, not the hypothesis.
See four-phases.md for the full Phase 4 procedure including the architecture-questioning protocol.
| Phase | Key Activities | Success Criteria |
|---|---|---|
| 1. Root Cause | Read errors, reproduce, check changes, gather evidence | Understand WHAT and WHY |
| 2. Pattern | Find working examples, compare | Identify differences |
| 3. Hypothesis | Form theory, test minimally | Confirmed or new hypothesis |
| 4. Implementation | Create test, fix, verify | Bug resolved, tests pass |
If you catch yourself thinking:
ALL of these mean: STOP. Return to Phase 1.
If 3+ fixes failed: Question the architecture (see Phase 4 in four-phases.md).
Watch for these redirections:
When you see these: STOP. Return to Phase 1.
| Excuse | Reality |
|---|---|
| "Issue is simple, don't need process" | Simple issues have root causes too. Process is fast for simple bugs. |
| "Emergency, no time for process" | Systematic debugging is FASTER than guess-and-check thrashing. |
| "Just try this first, then investigate" | First fix sets the pattern. Do it right from the start. |
| "I'll write test after confirming fix works" | Untested fixes don't stick. Test first proves it. |
| "Multiple fixes at once saves time" | Can't isolate what worked. Causes new bugs. |
| "Reference too long, I'll adapt the pattern" | Partial understanding guarantees bugs. Read it completely. |
| "I see the problem, let me fix it" | Seeing symptoms ≠ understanding root cause. |
| "One more fix attempt" (after 2+ failures) | 3+ failures = architectural problem. Question pattern, don't fix again. |
These references in this directory deepen specific phases:
four-phases.md - Full step-by-step walk-through of Phases 1 to 4, the architecture-questioning protocol, the "no root cause" edge case, and real-world impact data.root-cause-tracing.md - Trace bugs backward through the call stack to find the original trigger (Phase 1, step 5).defense-in-depth.md - Add validation at multiple layers once root cause is fixed (Phase 4 follow-up).condition-based-waiting.md - Replace arbitrary timeouts with condition polling when debugging flaky timing (Phase 1 evidence gathering).Default for this artifact: html.
Override resolution order, highest precedence first:
"a markdown debug report", "in HTML", "as a markdown report", and equivalents..workbench/config.md ## Output formats entry for Debug reports:. Schema documented in plugins/workbench/skills/pilot/references/config-schema.md.Path: .workbench/debug-reports/YYYY-MM-DD-<topic>-debug.<ext> by default. Override path via .workbench/config.md ## Output paths Debug reports:.
When emitting HTML, follow references/debug-report-template.html in this skill's directory. Read the template lazily.
At the end of the four-phase loop, after the fix is verified, write a debug report file to the resolved path. The report captures:
Announce the file path in the conversation when emitting (for example: "Debug report written to .workbench/debug-reports/2026-05-08-cache-stale-debug.html") before the final summary message.
For other HTML artifact types not covered by a workbench or research skill, see deprecated:crafting-html.
Before emitting HTML, check whether a design system is set: a per-prompt override (e.g., "render with the brand-2026 design system"), else .workbench/config.md ## Design system Name:. If one is set, read ../crafting-design-systems/references/applying-a-design-system.md and follow it. If none is set, emit with the template's defaults.
To create or edit a design system, see deprecated:crafting-design-systems.
condition-based-waiting-example.ts (opens in a new tab)condition-based-waiting.md (opens in a new tab)defense-in-depth.md (opens in a new tab)find-polluter.sh (opens in a new tab)four-phases.md (opens in a new tab)references/debug-report-template.html (opens in a new tab)root-cause-tracing.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub pgoell/pgoell-claude-tools --plugin deprecated24 skills in this plugin
/autopilotDeprecated and retired without replacement. Formerly autopilot for autonomous feature shipping from brainstorm to PR using .workbench/autopilot.md./brainstormingDeprecated and retired without replacement. Formerly used before creative work to grill the user toward a shared design concept through exhaustive sequential question and answer./copilotDeprecated and retired without replacement. Formerly used for semi-autonomous, human-in-the-loop feature shipping where the user drove the brainstorm and spec by hand and the agent automated the plan, implementation, docs, audit, and PR using .workbench/autopilot.md./crafting-design-systemsDeprecated and retired without replacement. Formerly used when the user wants to create or edit a workbench design system, a directory of CSS variable overrides, optional components, and optional images that themes HTML output from workbench producer skills./crafting-htmlDeprecated and retired without replacement. Formerly used when producing a standalone HTML artifact that no other workbench skill (writing-spec, writing-plans, brainstorming, systematic-debugging) or research:research covers, such as a PR walkthrough, code explainer, slide deck, status or incident report, design prototype, SVG illustration, or custom editing tool./crafting-presentationsDeprecated, superseded by presentations:creating-presentations. Formerly used to build a multi-slide HTML presentation with slide-type templates, a deck-stage engine, and an optional two-window presenter view. Prefer the presentations plugin for all new decks.