Rust debug
My personal pi harness configuration.
npx -y skills add nyquistwilder/personal-pi --skill rust-debugAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 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
Rust debugging workflow for reproducing failures, panics, compiler diagnostics, trait/borrow errors, flaky tests, async hangs, deadlocks, and targeted fixes with regression tests.
SKILL.md
1.4 KB, 286 tokens by cl100k_base, as published. Nobody here has run it
Rust Debug
Rule
Reproduce first, identify root cause, then make the smallest targeted fix. Prefer compiler diagnostics, tests, backtraces, and tracing evidence over broad rewrites.
Hard Stops
Stop before:
- Touching live systems, real secrets, production data, or destructive operations.
- Adding
unsafe, changing public APIs, or weakening error contracts solely to silence an error. - Suppressing panics, Clippy findings, or test flakes without understanding root cause.
- Fixing async hangs with sleeps or unbounded timeouts.
Workflow
- Capture failing command, panic, compiler diagnostic, backtrace, log, race/deadlock symptom, or hang.
- Reproduce with the narrowest
cargo test,cargo check, or executable command. - Isolate root cause using
RUST_BACKTRACE=1, targeted tests, Clippy,dbg!/temporary tracing, Miri for unsafe/suspicious UB, sanitizers when configured, ortokio-consolefor async runtime issues. - Add a regression test when practical.
- Apply a targeted fix and remove temporary diagnostics.
- Run the original failing command, targeted tests, full tests, Clippy, and
just check.
Completion
Report reproduction, root cause, fix, regression tests, commands, and remaining risks.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.