agentsclimarketplace

Diagnose loop

Skill tmusser/ai-engineering-skills/skills/diagnose-loop

Portable AI-engineering skills for Claude Code, Codex, and coding agents: bounded scope, mini-specs, vertical slices, verification, ship gates, and handoff.

Install
npx -y skills add tmusser/ai-engineering-skills --skill diagnose-loop

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

One thing to look at

  • 3 stars3 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

Debug failures systematically.

SKILL.md

1.1 KB, as published. Nobody here has run it

Diagnose Loop

Purpose

Debug failures systematically.

When to use

Use when a command fails, behavior is wrong, a test regresses, or output does not match the spec.

Inputs

  • Failure report
  • Exact command or reproduction case
  • Recent changes
  • Logs, traces, or output

Workflow

  1. Freeze feature work.
  2. Reproduce the failure.
  3. Identify the exact failing command or case.
  4. List hypotheses.
  5. Instrument minimally.
  6. Apply the smallest fix.
  7. Add a regression check if possible.
  8. Rerun the original failing command.
  9. Rerun relevant verification.

Outputs

  • Root-cause note
  • Smallest fix
  • Regression check when possible
  • Rerun results

Stop conditions

  • The original failure is fixed and verified.
  • The failure cannot be reproduced.
  • The next step requires a product or data decision.

Anti-patterns

  • Randomly editing files before reproducing the bug.
  • Fixing symptoms without naming the failing case.
  • Adding noisy instrumentation and leaving it behind.

Keep looking

Skills are one crate of 328,083. 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.