agentsclimarketplace

Yo debug

Skill pholgy/yo-skills/skills/yo-debug

Evidence-first software-engineering workflows for Codex and Claude.

Install
npx -y skills add pholgy/yo-skills --skill yo-debug

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

  • 28 days oldThe repository was created 28 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.
  • 1 stars1 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 a confirmed failure whose causal mechanism is unknown. Use for crashes, regressions, intermittent or CI-only failures, performance anomalies, data corruption, and debugging that has become speculative; route here after yo-verify-premise and before impact analysis or a fix.

SKILL.md

7.4 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

Yo Debug

Turn a confirmed symptom into an evidence-backed causal explanation. Diagnose only unless the user also authorized a fix.

Entry and preemption

Use this skill when the failure is observable but the mechanism is not known well enough to choose an intervention.

  • If the claim itself is unverified, use yo-verify-premise first.
  • If production is actively impaired, use yo-incident to mitigate and preserve evidence before cold diagnosis.
  • If the mechanism is already intervention-sufficient, skip this loop and use yo-impact before editing.

An explanation is intervention-sufficient when it identifies the mechanism and conditions well enough to predict why a specific change should prevent the failure. A suspicious line, correlation, or component name is not enough.

Investigation loop

1. Define and preserve the failure signature

Record the smallest signature that distinguishes this failure from unrelated noise:

  • expected and actual behavior;
  • exact error, invariant violation, or measurable deviation;
  • revision, build, environment, configuration, input characteristics, and time window;
  • affected scope and known-good comparison;
  • request, trace, job, test, seed, or crash identifiers;
  • logs before and during the failure, traces, dumps, screenshots, and CI artifacts.

Preserve original evidence before rerunning or changing the system. Redact secrets and personal data; do not copy unsafe customer payloads merely to improve reproducibility.

2. Build the strongest safe observation available

A minimal deterministic reproduction is ideal, not a prerequisite for thought.

Use the strongest available signal:

  1. a deterministic minimal reproduction;
  2. a controlled but probabilistic reproduction with a measured failure rate and distinct signature;
  3. a captured production/CI trace, dump, or correlated event with enough state to test hypotheses;
  4. a plan to collect discriminating evidence on the next occurrence.

Match the original revision and environment before concluding that a local non-reproduction is contradictory. For intermittent failures, preserve seeds and order, vary scheduling or load deliberately, repeat enough to compare rates, and separate product, test, and infrastructure failure modes.

If no trustworthy observation exists, report that evidence gap and improve capture. Do not label the claim disproved or a speculative patch verified.

3. Trace the system and compare good with bad

Follow the request, state, or data across component boundaries. Read the full error chain and pre-failure context; the first application frame is a starting point, not automatically the cause.

Compare failing and working cases across input, state, time, host, architecture, dependency, configuration, deploy, and recent change. Build a short timeline when ordering matters. Search history for candidate changes, but do not confuse temporal proximity with causation.

Use correlation identifiers across services. When observability is missing, add the smallest safe probe that separates hypotheses.

4. Maintain a hypothesis ledger

Rank plausible hypotheses by likelihood, explanatory power, and test risk. For each one, write:

Hypothesis: <possible mechanism>
Prediction: <evidence expected if true, and if false>
Test: <safe discriminating observation or experiment>
Result: <observed evidence>
Status: supported | weakened | rejected | unresolved

Prefer tests that distinguish several hypotheses. Change one controlled factor at a time when attribution depends on it; when that is impossible, record the confounders. Negative results narrow the search and belong in the ledger.

Do not retrofit a prediction after seeing the result. Updating a hypothesis from new observations is valid; pretending it predicted those observations is not.

5. Isolate with the appropriate technique

Use references/techniques.md to choose among reduction, boundary tracing, differential comparison, instrumentation, dumps/debuggers, repeated trials, and history bisection.

Important constraints:

  • Reduction needs an oracle that preserves the same failure signature.
  • Bisection needs verified old/new endpoints and a trustworthy classifier. Skip unevaluable commits; schema or environment drift may require separate epochs.
  • Instrumentation can alter timing, load, and behavior. Keep it targeted, correlated, privacy-safe, and removable or deliberately promoted to durable observability.
  • Production experiments must be low risk and authorized. Prefer passive evidence or a safe non-production equivalent.

6. Establish the causal explanation

Write the shortest explanation that accounts for all distinctive evidence:

<trigger> under <enabling conditions> causes <mechanism>, which produces <observed failure> because <causal link>.

Include contributing factors when no single factor is sufficient. State confidence and unresolved alternatives. Strengthen the explanation with at least one of:

  • a controlled intervention changes the predicted result;
  • the mechanism reproduces the distinctive signature;
  • independent evidence traces the state transition through the failure;
  • the explanation predicts another observation that is then confirmed.

Stop when the explanation is sufficient to select and verify an intervention, not when every historical or architectural question is answered.

Output

Failure signature: <distinct symptom and scope>
Evidence: <artifacts, reproduction strength, and comparisons>
System boundary: <path traced and relevant environment>
Hypotheses tested: <results, including negative evidence>
Causal explanation: <trigger, conditions, mechanism, failure>
Confidence and gaps: <high/medium/low with unresolved alternatives>
Next: <more evidence, yo-impact, or authorized fix workflow>

If cause remains unknown, say so. A high-quality partial diagnosis narrows the next observation; it does not manufacture certainty.

Guardrails

  • Do not edit during a diagnosis-only request.
  • Do not shotgun-change multiple factors and attribute the outcome to one.
  • Do not equate correlation, recent commits, or a stack-frame location with cause.
  • Do not assume the framework or dependency is at fault or innocent; test the boundary. Use yo-deps if dependency action becomes necessary.
  • Do not rerun destructive, privacy-sensitive, or production-impacting inputs without authority.
  • Do not hide a flake with retries or broad exception handling.
  • Do not require certainty that the available system cannot provide; state calibrated confidence.
  • Repeated failed fixes are evidence to return to the signature and hypotheses, not a reason for another guess.

Handoff

  • Use yo-impact to map consumers and compatibility before changing the diagnosed mechanism.
  • Turn a safe reproduction into a regression test with yo-test-coverage.
  • Use yo-fix-loop for multiple findings or yo-feature for genuinely new behavior.
  • Use yo-audit to independently verify that a completed change matches the causal explanation.

References

What ships with it: 3 files

8.4 KB alongside SKILL.md

agents/

references/

Keep looking

Skills are one crate of 327,132. 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.