rust-debugging
Skill0 starsChanged 2 months agoMITView on GitHub
Causality. Use for an uncertain Rust CLI defect, panic, hang, incorrect output, resource leak, or platform-dependent failure.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- po4yka/rust-skillstheir own version, first seen Nov 2, 2026
- uswuth/rustoriatheir own version, first seen Oct 25, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- po4yka/rust-skills★ 5same 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 repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rust-buildSkill
- rust-cli-interfaceSkill
- rust-cli-testingSkill
- rust-concurrencySkill
- rust-designSkill
- rust-distributionSkill
- rust-errorsSkill
- rust-filesystemSkill
- rust-idiomaticSkill
- rust-implementSkill
- rust-ioSkill
- rust-memorySkill
- rust-performanceSkill
- rust-processesSkill
- rust-testingSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read the available error chain or backtrace and trace relevant callers.
- Distinctive: line 16
Follow file identity, buffer contents, short I/O operations, child streams, locks, and task completion across their real boundaries.
- Distinctive: line 18
Use the appropriate debugger, profile, or syscall trace when runtime evidence is needed.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Rust Debugging
Causality. Find the first observable divergence between the intended command and the real execution path. Honor supplied requirements and preserve settled choices outside the requested change; resolve only what the task leaves open.
Choose the smallest useful signal for the reported symptom. Inspect actual arguments, bytes, environment, target, features, or profile when they distinguish plausible causes; compiler-only failures need no process reproduction. Separate compiler diagnostics, process startup failures, domain errors, and crashes. Preserve raw stdout, stderr, and status when their differences explain the symptom.
Minimize a reproducer only while it retains the same failure. Choose an observation that could disprove the leading explanation, not just confirm it. After an ineffective fix, revisit that explanation instead of stacking speculative changes. Keep unrelated baseline failures distinct from the reported defect.
Read the available error chain or backtrace and trace relevant callers. For ownership errors, identify the actual owner and required lifetime before adding clone, Arc, or unsafe. For optimized-only failures, compare cfg, assertions, overflow behavior, and timing rather than assuming an optimizer bug.
Follow file identity, buffer contents, short I/O operations, child streams, locks, and task completion across their real boundaries. A retry, panic catch, or discarded error can hide the mechanism without repairing it.
Use the appropriate debugger, profile, or syscall trace when runtime evidence is needed. Miri can detect some undefined behavior in supported executions, but it does not certify arbitrary OS interaction or prove overall soundness. Keep sensitive input and credentials out of diagnostic captures.
Control scheduling, fixtures, and dependencies enough to expose intermittent behavior; change one causal variable at a time.
For diagnosis, finish with the supported explanation or next discriminating observation; do not edit unless fixing is requested. For a fix, change the causal owner, replay the original failure, and check relevant neighboring paths. Retain a regression check, remove temporary instrumentation, and report actual verification and remaining uncertainty without expanding to unrelated diagnostics.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

