Skip to content
Back to skills

Rust Debugging

ASecurity

Causality. Use for an uncertain Rust defect: failing or flaky test, hang, wrong response, startup rejection, or teardown overrun.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
developmentrustdebuggingsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 16, 2026

npx -y skills add Dankosik/rust-service-template-rest --skill rust-debugging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rust Debugging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rust Debugging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dankosik-rust-debugging/badge)](https://www.skillsdirectory.com/skills/dankosik-rust-debugging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rust-debugging
description: "Causality. Use for an uncertain Rust defect: failing or flaky test, hang, wrong response, startup rejection, or teardown overrun."
---

# 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, and boundary-level state for decoding rejections, panics, deadlocks, missed wakeups, resource exhaustion, or uncertain external effects. Inspect structured error chains and runtime progress directly, since stalled executors can coexist with configured timeouts or task supervisors.

**Smallest reproducer.** Reproduce at the narrowest layer preserving the failure—pure function, controlled async test, mounted router, local loopback peer, or binary process—recording exit status, event order, and timing where discriminating. Respect `crates/infra-telemetry` and `crates/service/src/bootstrap` panic-hook redaction (which withholds panic payloads and backtraces even under `RUST_BACKTRACE=1`) as an intentional security boundary.

**Async and ownership hypotheses.** Test async stalls against concrete mechanisms: admission exhaustion, dropped futures losing partial progress, missed `Notify` permits, paused-clock mismatches, detached tasks, lock contention, or executor-thread blocking. 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.

Files in this skill

  • LICENSE1 KB
  • SKILL.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.