diagnose — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited diagnose (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A discipline for complex bugs. Skip phases only with explicit justification.
When exploring the codebase, use the project's domain glossary to build a clear mental model of the relevant modules, and check ADRs in the area you are touching.
This is where the craft lives. Everything else is mechanics. If you have a fast, deterministic, agent-runnable pass/fail signal for the bug, you will find the cause — bisection, hypothesis testing, and instrumentation are just consumers of that signal. Without such a signal, no amount of code reading will save you.
Spend disproportionate effort here. Be aggressive. Be inventive. Don't give up.
git bisect run.scripts/hitl-loop.template.sh to keep the loop structured. The captured output comes back to you.Build the right feedback loop and the bug is 90% fixed.
Treat the loop as a product. Once you have _some_ loop, ask:
A flaky 30-second loop is barely better than no loop. A deterministic 2-second loop is a debugging superpower.
The goal is not a clean repro but a higher repro rate. Run the trigger 100 times, parallelize, add stress, narrow timing windows, insert sleeps. A 50%-flaky bug is debuggable; a 1%-flaky one is not — push the rate up until it is.
Stop and say so explicitly. List what you tried. Ask the user for: (a) access to an environment where the bug reproduces, (b) a captured artifact (HAR file, log dump, core dump, screen recording with timestamps), or (c) permission to add temporary instrumentation in production. Do not move to hypotheses without a loop.
Do not move to Phase 2 until you have a loop you trust.
Run the loop. Watch the bug manifest.
Confirm:
Do not proceed until you have reproduced the bug.
Formulate 3–5 ranked hypotheses before testing any of them. Generating only one hypothesis anchors you to the first plausible idea.
Each hypothesis must be falsifiable: state the prediction it implies.
Format: "If the cause is <X>, then <change Y> will make the bug disappear / <change Z> will make it worse."
If you cannot state a prediction, the hypothesis is just a vibe; drop it or sharpen it.
Show the ranked list to the user before testing. They often have domain knowledge that will instantly reshuffle priorities ("we just deployed a change to #3"), or they know hypotheses that have already been ruled out. A cheap checkpoint, big time savings. Don't block on it — keep going by your ranking if the user is away.
Each probe must correspond to a specific prediction from Phase 3. Change one variable at a time.
Preferred tools:
Tag every debug log with a unique prefix, e.g., [DEBUG-a4f2]. At the end, cleanup is a single grep. Untagged logs stay; tagged ones are removed.
Performance branch. For performance regressions, logs are usually useless. Instead: establish a baseline measurement (timing harness, performance.now(), profiler, query plan), then bisect. Measure first, fix second.
Write the regression test before the fix — but only if there is a correct seam for it.
A correct seam is one where the test exercises the real bug pattern as it occurs at the call site. If the only available seam is too shallow (a single-caller test when the bug requires multiple callers; a unit test that cannot reproduce the chain that triggered the bug), a regression test there gives false confidence.
If no correct seam exists, that is itself a finding. Record it. The codebase architecture prevents pinning the bug down with a test. Flag this for the next phase.
If a correct seam exists:
Required before declaring the task done:
[DEBUG-...] instrumentation is removed (grep for the prefix)Then ask: what would have prevented this bug? If the answer suggests an architectural change (no good test seam, tangled callers, hidden coupling), hand off to the /improve-codebase-architecture skill with specifics. Make the recommendation after the fix, not before — you now have more information than you started with.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.