debugging

Debug Rust applications using structured root-cause analysis and profiling tools.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/terraphim/terraphim-skills --skill debugging-terraphim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging
Source: https://github.com/terraphim/terraphim-skills/tree/main/skills/debugging
Command: npx skills add https://github.com/terraphim/terraphim-skills --skill debugging-terraphim

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured approach to debugging Rust applications, enabling engineers to identify root causes with minimal risk to production and with clear handoffs.

Core Features & Use Cases

  • Structured debugging methodology: Evidence-based analysis, reproducible steps, and clean handoffs.
  • Tools and techniques: Logging strategies, profiling with Miri and LLDB, and nightly toolchains.
  • Use Case: When a Rust service misbehaves under load, use this Skill to reproduce the issue, gather logs, form hypotheses, and implement minimal fixes.

Quick Start

Describe the failing scenario to your AI assistant and request a guided debugging workflow for Rust projects, including gathering evidence, reproducing the issue, and validating fixes.

Frequently Asked Questions about debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the root cause of a Rust service misbehaving under load?

To find the root cause of a misbehaving Rust service, systematically reproduce the issue, gather evidence through structured logging, form hypotheses, and test minimally using profiling tools like Miri and LLDB to isolate the fault.

What is the best way to debug Rust applications in production-like environments?

Debugging Rust applications in production-like environments requires an evidence-based approach, using repeatable workflows to gather logs and validate fixes with minimal risk, ensuring safe and clear handoffs to engineers.

Does this Rust debugging workflow require specific toolchains or dependencies?

Yes, this Rust debugging workflow requires a Rust toolchain including cargo and rustup, alongside debugging tools like LLDB and Miri, and may utilize nightly toolchains for advanced profiling and root-cause analysis.

How do I use Miri and LLDB to profile and debug Rust code?

Use Miri and LLDB to profile and debug Rust code by applying structured logging strategies and toolchain-specific techniques, enabling you to test hypotheses, gather evidence, and validate minimal fixes effectively.

When should I use a structured debugging methodology for Rust services?

Use a structured debugging methodology for Rust services when you need reproducible steps, evidence-based analysis, and clean handoffs to identify root causes accurately without disrupting production environments.