rust-debugging
Skill0 starsChanged 4 days agoApache-2.0View on GitHub
Causality. Use for an uncertain Rust defect: failing or flaky test, hang, wrong response, startup rejection, or teardown overrun.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- mohitmishra786/low-level-dev-skillstheir own version, first seen Nov 15, 2026
- po4yka/rust-skillstheir own version, first seen Nov 2, 2026
- uswuth/rustoriatheir own version, first seen Oct 25, 2026
- Dankosik/rust-cli-skillstheir own version, first seen Sep 8, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- mohitmishra786/low-level-dev-skills★ 303same name
- po4yka/rust-skills★ 7same name
- Dankosik/rust-cli-skills★ 0same name
- uswuth/rustoria★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rust-coderSkill
- rust-dependenciesSkill
- rust-errorsSkill
- rust-idiomaticSkill
- rust-performanceSkill
- rust-securitySkill
- rust-structural-qualitySkill
- rust-testingSkill
- rust-verificationSkill
- thermo-nuclear-code-quality-reviewSkill
- rust-modern-guidelinesSkill
The file
Files
Rust Debugging
Causality. Locate the earliest observable divergence between intended and actual behavior, design one observation able to falsify the leading explanation, and keep symptom, evidence, hypothesis, and repair distinct.
Failure boundary. Match the probe to the failure class: compiler/lint output for static errors; the lossless syntax tree from the ra_ap_syntax adapter for parse or span mismatches; the rule's requires, edition, no_std, and SemVer gates for missing or spurious findings; and cargo modernize explain/why output for rule admission. Inspect structured error chains and run-summary accounting directly, since a panic caught by the scan worker can look like a silently skipped file.
Smallest reproducer. Reproduce at the narrowest layer preserving the failure—a pure function, a single snippet through the syntax adapter, one catalog fixture, a minimal tempfile workspace, or the full binary—recording exit status, finding order, and edition/MSRV inputs where discriminating. Remember that the scan worker's silent panic hook withholds panic output by design; reproduce outside the worker rather than weakening that isolation.
Concurrency and ownership hypotheses. Test nondeterministic output against concrete mechanisms: worker scheduling order leaking into results, shared caches keyed too coarsely, filesystem iteration order, stack exhaustion on deep trees, or child cargo/git processes inheriting unexpected environment. For borrow or lifetime errors, trace true data flow and ownership lifetimes before reaching for .clone(), Arc, or mutexes.
Controlled iteration and repair. Vary one causal input at a time while preserving secrets redaction and separating pre-existing baseline failures. When an attempted fix fails, replace the falsified hypothesis rather than stacking retries, caught panics, or longer sleeps; once proven, fix the causal owner, replay the original reproducer, keep focused regression coverage, and remove temporary probes within existing test harnesses.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

