systematic-debugging — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited systematic-debugging (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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 FIRSTIf 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:
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/autopilot/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 workbench:crafting-html.
Before emitting HTML, check for an active design system and inline its overrides into the artifact's <style> block:
brand-2026 design system"), then .workbench/config.md ## Design system Name:, then no override..workbench/design-systems/<name>/ (project scope), then ~/.claude/workbench/design-systems/<name>/ (user scope). If a name resolves but no directory is found at either scope, report the missing path to the user and emit with template defaults; do not fabricate a substitute.colors.css (and typography.css if present) after the template's own :root declarations, so the design system's values win the cascade.components/<n>.html markup and scoped style into the artifact body.base64 -w 0 <file>) and inline as data:image/<type>;base64,<payload>. SVG is text and can be inlined directly. Use relative paths only when the artifact and the design system co-exist in the same git tree and the artifact will not travel.To create or edit a design system, see workbench:crafting-design-systems.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.