Systematic debugging

From Sistema2D/FrameCode-VibeWork · View interactive version

Systematic debugging is an AI agent skill from the GitHub repository Sistema2D/FrameCode-VibeWork. Diagnose failures with evidence and hypotheses before fixing them. Use when a check fails, behavior is unexplained or a regression appears. Do not use for planned feature work without a failure.

How to use this skill

Skill file

Systematic debugging

Purpose

Find the smallest evidence-supported cause of a failure and distinguish diagnosis from implementation authorization.

Use conditions

Use for reproducible defects, crashes, failed checks, unexpected behavior, or inconsistent runtime state. For a question limited to diagnosis, do not apply a fix. For an authorized fix, follow the active plan and changelog contract.

Non-responsibilities

Inputs

Expected behavior, observed behavior, environment, reproduction steps, logs or stack traces, recent changes, and the narrowest relevant source and test files.

Procedure

  1. Reproduce the problem or state why reproduction is currently impossible.
  2. Capture the exact symptom, environment, and smallest failing case.
  3. Form one ranked hypothesis tied to concrete evidence.
  4. Design a check that can disprove that hypothesis.
  5. Run the check and update the hypothesis from the result.
  6. Repeat until the cause is supported or the investigation is explicitly inconclusive.
  7. If a fix is authorized, add or identify a regression check, apply the minimal change, remove temporary instrumentation, and rerun affected validation.
  8. Promote durable incident learning to a troubleshooting record when recurrence, severity, or operational value justifies it.

Required output

Symptom, reproduction status, evidence, tested hypotheses, supported root cause or remaining uncertainty, affected scope, and validation results. If code changed, link the active plan and changelog entry.

Validation

The original failure is reproduced before the fix when feasible, the causal check changes as predicted, the regression check passes afterward, and unrelated validation has not regressed.

Exit criteria

Exit when the cause is supported and the authorized fix is validated, or when the remaining blocker and next evidence needed are recorded without presenting speculation as resolution.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.