agentsclimarketplace

Debugging systematically

Skill clsaa/littlepowers/skills/debugging-systematically

Proportional planning, recovery, and engineering-discipline protocol for Codex, Claude Code, Qoder, and OpenCode.

Install
npx -y skills add clsaa/littlepowers --skill debugging-systematically

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 22 days oldThe repository was created 22 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Diagnose bugs, failing tests, regressions, crashes, or performance anomalies before editing. Use for technical investigation or repair.

SKILL.md

3.5 KB, 608 tokens by cl100k_base, as published. Nobody here has run it

Debugging systematically

Find the earliest supported cause before editing. Preserve the action authority in the latest user request: a diagnosis request authorizes inspection and non-mutating checks, not a fix.

Establish the boundary

Capture the observed symptom, expected behavior, exact environment, available reproduction, and relevant recent changes. Determine whether the request is diagnosis-only or also authorizes implementation. Do not edit during diagnosis-only work even when a likely repair is visible.

Preserve raw error text, exit status, inputs, and timing when they matter. Treat summaries and prior agent reports as leads until repository or runtime evidence confirms them.

For tracked Littlepowers work, inspect the stored contract, coverage, baseline, and fidelity summary before reproducing. Treat reconcile_required, drifted, missing Outcome coverage, or stale verification as contract-boundary evidence, not as permission to bypass the gate or edit the raw ledger.

Reproduce and observe

Run the narrowest reliable reproducer before proposing a repair. Record the command or action and the exact failing signal. If reproduction is unavailable, identify the missing condition and gather the best boundary evidence; do not convert an unconfirmed guess into a cause.

Inspect complete diagnostics around the failure. Check inputs and outputs at component boundaries, configuration and environment assumptions, and relevant recent diffs.

Trace the divergence

Trace the bad value or control path backward to the earliest point where observed behavior departs from its contract. Compare a working analogue when one exists, listing material differences rather than assuming one is causal. Distinguish the root cause from downstream symptoms and incidental cleanup opportunities.

Test one hypothesis

State one falsifiable hypothesis at a time using four observable parts:

  • evidence that motivates it;
  • the proposed causal mechanism;
  • the result that would support or falsify it;
  • the smallest safe experiment that can discriminate between them.

Run that experiment before applying a broad repair. Change one causal variable at a time and avoid bundling speculative fixes. Count a failed hypothesis only after its discriminating check falsifies it.

After three failed fix hypotheses, stop patching. Report the evidence, the assumptions now in doubt, and the architecture- or contract-level question that must be resolved before another fix attempt.

Repair the root cause

Only when implementation is authorized, make the smallest complete repair at the causal boundary. Preserve unrelated behavior and avoid opportunistic refactors. Label a containment measure or workaround honestly when the root cause cannot yet be removed.

Rerun the original reproducer after the edit. Add or update regression coverage when externally observable behavior changed, then run checks for the affected boundary. Do not use an unrelated passing suite as a substitute for the original symptom.

Report observable evidence

Report the supported cause, the evidence that distinguishes it from alternatives, files changed or confirmation that no files changed, the original reproducer result, affected regression checks, and any remaining uncertainty. If the cause is not established, report the next discriminating check instead of claiming the issue is fixed.

What ships with it: 1 file

276 B alongside SKILL.md

agents/

Keep looking

Skills are one crate of 326,984. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.