What problem does it solve?
When investigating a Rust panic or backtrace, generic debugging advice misses language-specific issues like unwrap/expect misuse, Option/Result handling, and trait or lifetime boundaries. This Skill produces a focused Rust diagnostic checklist so investigators know exactly what to check, how to reproduce the failure, and where to patch.
Core Features & Use Cases
- Rust-Specific Checks: Emits targeted checks for panic, unwrap, expect, Option/Result handling, plus trait, lifetime, and thread boundary concerns.
- Minimal Reproducers: Suggests narrow
cargo test <name> commands when the trace exposes a symbol, avoiding broad rewrites.
- Patch Targets: Identifies concrete fixes such as replacing unwrap/expect, adding map_err, or propagating Results explicitly.
- Use Case: As an internal helper for meta-stack-trace-investigator, it activates when a Rust panic needs structured diagnosis, returning a LANGUAGE_PROBE block with checks, a reproducer, patch targets, and a verification command.
Quick Start
Ask the agent to investigate this Rust panic backtrace and produce the Rust-specific checks, a minimal cargo test reproducer, and patch targets.