hypothesis-first-debugging

Frame debugging findings as hypotheses and require user verification before confirming fixes.

Updated Apr 8, 2024
One-click install
npx skills add https://github.com/tumes/dotfiles-nvim --skill hypothesis-first-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hypothesis-first-debugging
Source: https://github.com/tumes/dotfiles-nvim/tree/main/claude/skills/hypothesis-first-debugging
Command: npx skills add https://github.com/tumes/dotfiles-nvim --skill hypothesis-first-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineers avoid premature certainty by framing all debugging findings as testable hypotheses and requiring user verification before claiming success.

Core Features & Use Cases

  • Hypothesis framing: phrase findings as hypotheses rather than certainties.
  • Verification gate: require user consent to confirm fixes before marking them complete.
  • Six-step protocol: Investigate → Hypothesize → Propose → Implement → Request verification → Wait for confirmation, and loop as needed.
  • Use Case: When investigating a bug or implementing a fix, apply the protocol to maintain trust and ensure changes address the actual issue.

Quick Start

Begin by narrating your investigation as a hypothesis, propose a fix, implement only after user confirmation, and seek verification.

Frequently Asked Questions about hypothesis-first-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is hypothesis-driven debugging and when should I use it?

Hypothesis-driven debugging is a method that frames investigation findings as testable hypotheses rather than certainties. You should use it when investigating bugs, errors, or unexpected behavior across codebases, CI pipelines, and feature changes to avoid premature conclusions.

How do I apply a verification gate when fixing software bugs?

To apply a verification gate when fixing software bugs, propose a fix based on your hypothesis, implement only after user confirmation, and then request explicit user verification to confirm the fix before marking the debugging process complete.

What's the best way to structure a debugging protocol for CI pipelines and codebases?

The best way to structure a debugging protocol for CI pipelines and codebases is to follow a six-step loop: Investigate, Hypothesize, Propose, Implement, Request verification, and Wait for confirmation, looping as needed until the issue is resolved.

Can I use hypothesis framing for feature changes and unexpected behavior?

Yes, you can use hypothesis framing for feature changes and unexpected behavior. It applies to investigating errors across codebases and CI pipelines by replacing definitive certainty language with provisional hypotheses that require user verification before confirming fixes.

Why does avoiding certainty language matter when investigating errors?

Avoiding certainty language matters when investigating errors because it prevents premature conclusions and maintains trust. By replacing definitive phrases with provisional hypotheses, engineers ensure that proposed changes actually address the root cause before being confirmed as complete.