agentsclimarketplace

Debug systematically

Skill K95M65/AI_ONBOARD/skills/debug-systematically

Portable agent workflow framework for Codex, Claude Code, and OpenCode—shared project context, focused skills, independent review, and safe updates.

Install
npx -y skills add K95M65/AI_ONBOARD --skill debug-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

Reproduces software failures, isolates causal conditions, tests competing hypotheses, and either reports the supported diagnosis or implements and verifies the smallest authorized root-cause fix. Use for diagnosis or repair when the cause of a bug, crash, flaky test, incorrect output, performance regression, race condition, integration failure, or environment-specific behavior is unknown; do not use for feature development or a known-cause change that the user explicitly wants implemented test-first.

SKILL.md

3.1 KB, 478 tokens by cl100k_base, as published. Nobody here has run it

Debug systematically

Replace guess-and-check editing with a reproducible chain from symptom to cause to verified correction.

Reproduce the failure

Capture the exact command or user path, expected result, observed result, environment, versions, input, frequency, and earliest known good state. Reduce nondeterminism where possible. If the failure cannot be reproduced, gather discriminating evidence instead of changing code speculatively.

Narrow the causal surface

  1. Identify the boundary where correct state first becomes incorrect.
  2. Compare passing and failing inputs, environments, commits, timing, or dependencies.
  3. Trace data and control flow across that boundary.
  4. Form one falsifiable hypothesis at a time.
  5. Run the smallest experiment that could disprove it.
  6. Record rejected hypotheses so they are not repeated.

Use logs, assertions, traces, profilers, debuggers, or temporary instrumentation only where they distinguish competing causes. Remove temporary instrumentation before finishing unless it has lasting operational value.

Respect the request boundary

For a diagnosis-only request, stop after identifying the supported cause, evidence, and likely correction. Implement only when the user asks to fix the bug or the request clearly includes repair.

Fix the cause

  • Add or refine a regression test that fails for the reproduced defect.
  • Make the smallest coherent correction at the causal boundary.
  • Do not suppress errors, weaken assertions, add arbitrary sleeps or retries, broaden timeouts, or upgrade dependencies without evidence that the change addresses the cause.
  • Preserve unrelated behavior and existing architecture.

Verify

Confirm the original reproduction now passes, the regression test detects the old behavior, and the relevant broader checks remain green. Exercise nearby edge cases implied by the cause. For intermittent failures, run enough repetitions to support the stability claim and report the sample.

Compose with test-browser-workflows for browser failures, a platform-specific testing skill where one exists, and a verifier agent for independent acceptance. When the cause and intended behavior are already known and the user wants a regression-first implementation, hand the change to develop-test-first instead of repeating its red-green-refactor loop here.

Finish a diagnosis-only request with the supported cause, decisive evidence, likely correction, commands run, and residual uncertainty. When repair was authorized, also report the implemented fix and regression coverage.

What ships with it: 1 file

229 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.