What problem does it solve?
This Skill helps diagnose test-suite memory growth, Vitest worker out-of-memory failures, and suspicious RSS increases in Enclawed so you can tell the difference between a real leak and retained worker-lifetime state.
Core Features & Use Cases
- Heap snapshot triage: Compare repeated .heapsnapshot files from the same worker PID to identify what is growing over time.
- Leak classification: Separate retained transformed-module growth from runtime-object leaks, cleanup bugs, timers, listeners, and other lifecycle issues.
- Targeted remediation: Use the results to patch cleanup logic, isolate hotspot tests, or adjust lane scheduling and worker placement.
- Use case: A pnpm test run starts OOMing in CI, and this Skill guides the reproduction command, snapshot comparison, and fix path with evidence instead of guesswork.
Quick Start
Ask the assistant to reproduce the failing test lane with heap snapshots enabled, compare repeated snapshots from the same PID, and summarize whether the growth is likely a real leak or shared-worker module retention.