rspack-debugging
OfficialDebug Rspack crashes and deadlocks with LLDB.
Authorrstackjs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rspack users and developers often encounter crashes, segmentation faults, or deadlocks during builds. This Skill provides a structured approach using LLDB to capture backtraces, identify failing threads, and guide remediation.
Core Features & Use Cases
- LLDB-based backtrace collection for Rspack processes to diagnose crashes and hangs.
- Guided workflows for common scenarios (crash during development server, crash during build, attached to stuck process, core dump analysis).
- Artifact preservation: save backtraces and logs to project files for later analysis.
Quick Start
- Install LLDB if needed (macOS: xcode-select --install; Linux: apt-get install lldb).
- Run the automatic setup script to install debug dependencies: node ${CLAUDE_PLUGIN_ROOT}/skills/debugging/scripts/setup_debug_deps.cjs
- Start the Rspack build under LLDB batch mode to collect backtraces, for example: lldb --batch -o "run" -k "thread backtrace all" -k "quit" -- node node_modules/@rspack/cli/bin/rspack.js build
- Save the backtrace outputs to a file in your project, e.g., debug_artifacts/backtrace_build.txt
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rspack-debugging Download link: https://github.com/rstackjs/agent-skills/archive/main.zip#rspack-debugging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.