subtractive-debugging
CommunityIsolate regressions by subtracting from known-good.
System Documentation
What problem does it solve?
Subtractive debugging prevents regression hunts from turning into broad, noisy speculation by forcing you to identify the first cascaded mismatch between a known-good baseline and the current broken state.
Core Features & Use Cases
- Known-good anchoring: Requires defining one stable control plus exact property targets so the mechanism can be validated while shrinking the suspect space.
- Surface-specific checking: Narrows comparison to a single closure layer (loader, schema, import/display, runtime behavior, or artifact/render) to make differences actionable.
- Signature-based comparison: Compares entity signatures (IDs and required-field sections) instead of raw file churn to reduce noise from wide diffs.
- Interval subtraction then entity subtraction: Collapses the history interval first, then the changed-entity set, ensuring the introducing boundary is found with evidence.
- Causality-style mismatch naming: Produces a single first cascaded mismatch claim, then patches only that isolated boundary and reruns the same checker.
Quick Start
Ask the agent to isolate the introducing change for your regression by anchoring a known-good control, defining the exact property, running a surface-specific checker across progressively tighter baselines, and then patching only the first cascaded mismatch it identifies for your specified surface.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: subtractive-debugging Download link: https://github.com/thistleknot/skills/archive/main.zip#subtractive-debugging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.